This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: header filenames in .rodata section of gcc-arm-linux object files


On Wed, Jun 13, 2001 at 06:15:02PM -0700, Aaron J. Grier wrote:
> 
> symbols starting with capital L are local labels, and are not copied to
> object files unless the assembler is passed the -L option.

the symbols aren't, but the strings themselves surely are.  they are compiled
into .rodata and copied by the arm vmlinux ld script into the .text
section of the arm-linux kernel.

i poked around a bit more on the lists, and this turns out to be gcc bug c/191,
which is fixed in gcc-3.0, but not in the stable kernels.  in a nutshell,
.rodata strings inside unused inline functions are being copied to the object
file.

-- 
---------------------------------------------------------------------------
    Ray Lehtiniemi <rayl@mail.com>

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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