gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] BFD linking -


From: Mike Thomas
Subject: [Gcl-devel] BFD linking -
Date: Wed, 16 Oct 2002 13:14:15 +1000

Hi all.

In "o/sfasli.c" there is a function "build_symbol_table_bfd()" which builds
a symbol table from an executable image."

As it steps through the symbols it finds those which contain the string
"@@GLIBC" and applies a function "bfd_link_hash_lookup()".  There are three
questions I have:

1.  The BFD doc doesn't describe "bfd_link_hash_lookup()".  Does someone
know what it does?

2. What is the significance of the string "@@GLIBC"?

3. Why are those symbols being singled out?

On Windows that string does not appear in executables.  Instead, symbols
typically look like:

00562ba0 B __stacktop
00000003 A __subsystem__
00544a20 T __Unwind_Find_FDE
00545870 T __vsnprintf
005454e0 T _abort
005438e0 T address@hidden
00544570 t _add_fdes
0042e50e T _add_int_big
0040ac06 T _add_page_to_freelist

I have checked a test program into CVS called "bfdtest.c" to assist with BFD
debugging.

Cheers

Mike Thomas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]