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

Ray L rayl@mail.com
Wed Jun 13 16:45:00 GMT 2001


hi folks

i have a question about gcc-2.95.3, host=i686-linux, target=arm-linux.

i'm compiling a linux-2.4.5 kernel, and gcc seems to be inserting the names of a
few (only a few...) header files into the .rodata section of the object files
it creates.

using the -S option, i see that it is creating (in linux/kernel/user.s, for
example)

.section	.rodata
	.align	2
.LC0:
	.ascii	"/home/rayl/arm/src/linux/include/linux/dcache.h\000"
	.align	2
.LC1:
	.ascii	"/home/rayl/arm/src/linux/include/linux/sched.h\000"


i cannot see where these LC symbols are ever used in this file, however.

can someone clue me in here?  why the hell are the names of these files
showing up in my .rodata section??


-- 
---------------------------------------------------------------------------
    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



More information about the crossgcc mailing list