[Bug ld/2218] Weak undefined symbol doesn't work properly with PIE

2006-01-26 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-01-27 07:13 --- A patch is posted at http://sourceware.org/ml/binutils/2006-01/msg00193.html -- http://sourceware.org/bugzilla/show_bug.cgi?id=2218 --- You are receiving this mail because: --- You are on the CC list for

[Bug ld/2143] Unresolvable reference by DSO to hidden symbol despite --allow-shlib-undefined

2006-01-26 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-01-26 23:32 --- [EMAIL PROTECTED] atexit]$ make cat foo.c #include int (*oldlib_ptr) (void (*) (void)) = atexit; gcc -c -o foo.o -fPIC foo.c ld -shared -o libfoo.so foo.o cat x.c int main (void) { return 0; } gcc -o x x.c -Wl,--allow

[Bug ld/2218] Weak undefined symbol doesn't work properly with PIE

2006-01-26 Thread hjl at lucon dot org
-- What|Removed |Added Summary|Weak undefined symbol |Weak undefined symbol |doesn't work proper with PIE|doesn't work properly with

[Bug ld/2218] New: Weak undefined symbol doesn't work proper with PIE

2006-01-26 Thread hjl at lucon dot org
Weak undefined symbol doesn't work proper with PIE. I see it on x86, x86-64 and IPF. See http://gcc.gnu.org/ml/gcc/2006-01/msg01007.html -- Summary: Weak undefined symbol doesn't work proper with PIE Product: binutils Version: unspecified Status: NEW

[Bug ld/2218] Weak undefined symbol doesn't work proper with PIE

2006-01-26 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-01-26 23:39 --- Created an attachment (id=852) --> (http://sourceware.org/bugzilla/attachment.cgi?id=852&action=view) A testcase On x86, [EMAIL PROTECTED] pie-4]$ make gcc -B./ -c -fPIC -g -DBROKEN -o foo.o foo.c gcc -B./ -pie -o f

[Bug binutils/2096] addr2line fails on linux-kernel

2006-01-26 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-01-26 23:20 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED Resolut

[Bug binutils/1391] objcopy trashes PE executable when using "add-gnu-debuglink"

2006-01-26 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2006-01-26 14:56 --- Subject: Re: objcopy trashes PE executable when using "add-gnu-debuglink" Hi Brian, >> PR binutils/1391 >> * objcopy.c (copy_object): For PE format targets set the VMA of a >> newly created gnu_d

Re: [Bug binutils/1391] objcopy trashes PE executable when using "add-gnu-debuglink"

2006-01-26 Thread Nick Clifton
Hi Brian, PR binutils/1391 * objcopy.c (copy_object): For PE format targets set the VMA of a newly created gnu_debuglink section to a non-zero, aligned, contiguous value. * Makefile.am (objcopy.c): Add a dependency upon libbfd.h. * Makefile.in: Reg

objcopy --add-section doubt

2006-01-26 Thread kartikeyan (sent by Nabble.com)
Hello, With binutils that come with RH9 version binutils-2.13.90.0.18-9 (rpm) I am able to add any arbitary file(i am trying a text file) as a ELF section eg:- objcopy  --add-section .skdata= Everything works as expected When I try with binutils version  binutils-2.15.94.0.2.2-2 (FC4 rpm) I get