ld -r breakage

Jakub Jelinek jakub@redhat.com
Mon Jun 12 02:16:00 GMT 2000


ld -r no longer preserves SEC_READONLY attribute for some sections.
A test case can be say
cat > foo.c <<EOF
void foo() { }
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
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.


More information about the Binutils mailing list