[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glibc startup code

From: Neal H Walfield
Subject: Re: glibc startup code
Date: Thu, 16 Aug 2001 19:51:47 +0200
User-agent: Mutt/1.3.18i

> Comments in that source file indicate that the Hurd specific initialization
> routines are run before posixland_init() which acts the same as the
> generic version of _init(). I still can't figure out how exactly that
> is done.

From what I understand, you are referring to code that is in .init
sections.  These sections are executed by the dynamic linker before it
calls the main program.  This is often done using the constructor
attribute extension in gcc, e.g.:

        int foo (void) __attribute__ ((constructor))

These comments maybe way off the mark.  I am sure, however, that Roland
could correct these errors and shed some more light on the issue.

Attachment: pgpfyq_8yqA18.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]