--- 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
--- 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
--
What|Removed |Added
Summary|Weak undefined symbol |Weak undefined symbol
|doesn't work proper with PIE|doesn't work properly with
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
--- 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
--- Additional Comments From hjl at lucon dot org 2006-01-26 23:20 ---
Fixed.
--
What|Removed |Added
Status|NEW |RESOLVED
Resolut
--- 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
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
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