Gc Sections
With this option ld will not pull in all sections from an o file it will pull only those which are needed to resolve a symbol.
Gc sections. We don t distinguish these from symbols given with u on the command line but the intention was to require a command line u or e with gc sections r. A prior to adopting an ordinance resolution or other legislative enactment adopting a new fee or approving an increase in an existing fee to which this section applies a local agency shall hold a public hearing at which oral or written presentations can be made as part of a regularly scheduled meeting. V850 elf fails gc sections r without e because the v850 linker script contains extern.
Use the gcc ffunction sections and ld gc sections directives to automatically only include used code and data for c sources. I never found a way to trace dependencies on a symbol but ended up not needing to with reviewing print gc sections. Alan on thursday 28 october 2010 you committed this patch.
In addition to the amendments authorized by section 66469 after a final map or parcel map is filed in the office of the county recorder the recorded final map may be modified by a certificate of correction or an amending map if authorized by local ordinance if the local agency finds that there are changes in circumstances that make any or all of the conditions of the map no longer. This will require linker scripts updated to include the new input sections. We will return to this later.
I m trying to reduce the size of my elf executable. This is not exactlyhow it works. I found this that described magic sections and i imagine this is similar to what i was seeing.
This will perform a garbage collection of code and data never referenced. I m compiling with ffunction sections fdata sections and linking with gc sections but it appears some of the symbols that i believe are unused are not being discarded. This option is intended to be used for executables where unreferenced sections would otherwise be garbage collected regardless of the external visibility of contained symbols.
You can do this by setting the wl gc sections option to gcc command or in the largs section of gnatmake. If the linker performs a partial link r linker option then you will need to provide the entry point using the e entry linker option. There was a pretty obvious ld option called print gc sections to review what is being tossed out.