This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to list all symbolic names for references to global varibables and functions with objdump (for MIPS arch)?


> Well 2. might not necessarily be true.  For example if an init function
> calls malloc() that does not necessarily mean that malloc() is an init
> function.
Well, maybe 2 can be fixed as:
2. A internal function within the program is called only by init
functions is an init function
Thus it can handle the case of malloc in init functions.

> What exactly do you mean by "support for .init sections" anyway ?  Are you
> trying to perform some kind of garbage collection like the linkers
> --gc-sections option ?

Support for .init sections means the kernel allocates pages from the
init sections when the programs are loaded and being initialized. And
after initialization is finished, the kernel reclaims the pages for
init sections. This can reduce memory requirements significantly for
an embedded system.

Best Regards
--------------
PRC
Dec 4, 2008


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]