This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ld -r breakage


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]