[PATCH] ld.so: handle STT_COMMON symbols

Carmelo AMOROSO carmelo.amoroso at st.com
Mon Oct 8 07:10:38 UTC 2007


Hi Folks,
as reported into glibc bug #5104 
(http://sourceware.org/bugzilla/show_bug.cgi?id=5104)

"

The loader does not handle symbols with the STT_COMMON type.

We (the Binutils project) are currently examining the possibilty of having the
linker set the type of common symbols to STT_COMMON instead of STT_OBJECT. See
the thread starting here:

http://sources.redhat.com/ml/binutils/2007-10/msg00046.html

It was pointed out however that the loader would not currently handle such
symbols properly, so for now, the patch is not going to be applied.  It would be
good however if the loader could process such symbols, so that we might then
allow the linker to generate them.

Cheers
  Nick Clifton

"

the uclibc ld.so has to be updated to handle this kind of symbols with next binutils release.
This patch does it.

Regards,
Carmelo


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dl_find_hash-stt_common.patch
Url: http://lists.busybox.net/pipermail/uclibc/attachments/20071008/8a4225d8/attachment-0002.diff 


More information about the uClibc mailing list