summaryrefslogtreecommitdiff
path: root/bfd/xcofflink.c
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2001-08-30 12:48:35 +0000
committerTom Rix <trix@redhat.com>2001-08-30 12:48:35 +0000
commit29fc7da657700eb8eeb9f64f148b226e99fcecbf (patch)
tree93ae14e511f2b26403447604582f3baf70182718 /bfd/xcofflink.c
parent4d8e5c5a3e5336878a31f6aa92f9c181b6fd71b3 (diff)
downloadgdb-29fc7da657700eb8eeb9f64f148b226e99fcecbf.tar.gz
Fix for xty_ld symbols
Diffstat (limited to 'bfd/xcofflink.c')
-rw-r--r--bfd/xcofflink.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/xcofflink.c b/bfd/xcofflink.c
index 4e25c595d45..ec4257c91b5 100644
--- a/bfd/xcofflink.c
+++ b/bfd/xcofflink.c
@@ -1574,9 +1574,9 @@ xcoff_link_add_symbols (abfd, info)
case XTY_LD:
/* This is a label definition. The x_scnlen field is the
- symbol index of the csect. I believe that this must
- always follow the appropriate XTY_SD symbol, so I will
- insist on it. */
+ symbol index of the csect. Usually the XTY_LD symbol will
+ follow its appropriate XTY_SD symbol. The .set pseudo op can
+ cause the XTY_LD to not follow the XTY_SD symbol. */
{
boolean bad;
@@ -1600,7 +1600,7 @@ xcoff_link_add_symbols (abfd, info)
bfd_set_error (bfd_error_bad_value);
goto error_return;
}
-
+ csect = section;
value = sym.n_value - csect->vma;
}
break;