This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
ld -r breakage
- To: binutils at sourceware dot cygnus dot com
- Subject: ld -r breakage
- From: Jakub Jelinek <jakub at redhat dot com>
- Date: Mon, 12 Jun 2000 11:26:59 +0200
- Reply-To: Jakub Jelinek <jakub at redhat dot com>
Hi!
ld -r no longer preserves SEC_READONLY attribute for some sections.
A test case can be say
cat > foo.c <<EOF
void foo() { }
EOF
gcc -c -o foo.o foo.c
ld -r -o foo.lo foo.o
It used to work correctly, at least in H.J.'s 2.9.5.0.22.
Seen on both sparc and i386.
I haven't yet had time to track this down, if someone gets to it before
myself, I'll appreciate it.
Jakub