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]

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



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


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