l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
October 7: Social Gathering
Next Installfest:
Sat. Nov. 8th [TENTATIVE]
Latest News:
Sep. 25: Installfest this Saturday
Page last updated:
2004 Dec 01 08:45
Events
 Meetings
 Installfests
 Demos
 Photos
Services
 Library
 LERT
 Jobs
 Documents
Interact
 Mailing Lists
 - Search
 - Archives
 Chat
About Us
 Members
 Projects
 Testimonials
 Call for Speakers
 Why Not MS?
 Finances
 Sponsors

^Home
?Search
?News & RSS
?Calendar
@Contact Us
$Buy Stuff
=Printable


The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Relocation errors and dynamic symbols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Relocation errors and dynamic symbols



Hi all,

Continuing from the previous thread on "hello world", we saw an example of a
custom section (.rodata) getting relocated into a canonical section (.text)
in obj or exe files.

But what exactly is a relocation error?  I assume it means there was some
kind of directive to relocate a custom section into canonical section, and if
so, what are the most common causes of such a thing?

Also, looking at the output of nm for an executable:

   080cedf0 T OPdecrement
   080cfd20 T OPdivide
   0821a368 B openbottom
            U opendir@@GLIBC_2.0
            U open@@GLIBC_2.0
   08100820 D OpenGLOptionDef
   08100580 D OpenGLOptionsMenu
   0822ee00 B openings
            U open_music
   0821a36c B openrange
   0821a380 B opentop
   080cef90 T OPequals
   08126d80 D operators
   080cf4c0 T OPgreaterthan

"U" doesn't mean a fatal undefined error; it simply means something that
needs to be linked on the fly by ld.so.  Right?  Is there a way of querying
ld.so about whether it "knows" a particular symbol?

Thanks!
Pete
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
1105 Kennedy Place, Suite 1, Davis, CA 95616
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
PC Memory Store
PC Memory Store donated give-aways to LUGOD in early 2008.