* compiling with -g changes symbol addresses
@ 2003-07-03 16:06 devnetfs
0 siblings, 0 replies; only message in thread
From: devnetfs @ 2003-07-03 16:06 UTC (permalink / raw)
To: lkml
Hello,
Sorry if this is NOT related to kernel per se. but...
Compiling a kernel module with and without "-g" gcc flag,
(rest of the compiler flags remaining exactly the same/usual)
changes the offsets/addresses of some (not all) symbols
[saw using nm(1)].
Is this normal? I thought "-g" just adds debug info into the object
file. and it should not change the offsets/addresses that
symbols get assigned during compilation.
btw I am using gcc 2.96 (from RH).
Thanks
A.
[Pleas Cc: me the reply]
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-03 15:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-03 16:06 compiling with -g changes symbol addresses devnetfs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®