This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] bfd aix xty_ld symbols
- To: binutils at sources dot redhat dot com
- Subject: [patch] bfd aix xty_ld symbols
- From: Tom Rix <trix at redhat dot com>
- Date: Mon, 20 Aug 2001 22:28:57 -0500
- Organization: GCC
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;