[patch] bfd aix xty_ld symbols
Tom Rix
trix@redhat.com
Tue Aug 21 06:41:00 GMT 2001
This patch fixes a bug with xty_ld symbols that do not immediately follow their
xty_sd symbol.
This bug may show up if you are using the .set pseudo op
void foo() {}
void bar() {}
.set .foo1, .foo
Tom
--
Tom Rix
GCC Engineer
trix@redhat.com
256.704.9201
2001-08-21 Tom Rix <trix@redhat.com>
* xcofflink.c (xcoff_link_add_symbols): Fix XTY_LD symbol that
does not follow a XTY_SD.
Index: xcofflink.c
===================================================================
RCS file: /cvs/cvsfiles/devo/bfd/xcofflink.c,v
retrieving revision 1.75.86.5
diff -c -p -r1.75.86.5 xcofflink.c
*** xcofflink.c 2001/08/13 17:55:42 1.75.86.5
--- xcofflink.c 2001/08/21 03:16:56
*************** xcoff_link_add_symbols (abfd, info)
*** 1706,1711 ****
--- 1706,1712 ----
goto error_return;
}
+ csect = section;
value = sym.n_value - csect->vma;
}
break;
More information about the Binutils
mailing list