Fix for xty_ld symbols
This commit is contained in:
parent
063cb91d19
commit
8df8c6197a
|
@ -26,6 +26,11 @@
|
||||||
(elf32_h8_mach, elf32_h8_final_write_processing): New functions.
|
(elf32_h8_mach, elf32_h8_final_write_processing): New functions.
|
||||||
(elf32_h8_object_p): Similarly.
|
(elf32_h8_object_p): Similarly.
|
||||||
|
|
||||||
|
2001-08-29 Tom Rix <trix@redhat.com>
|
||||||
|
|
||||||
|
* xcofflink.c (xcoff_link_add_symbols): Fix XTY_LD symbol that
|
||||||
|
does not follow a XTY_SD.
|
||||||
|
|
||||||
2001-08-29 Alan Modra <amodra@bigpond.net.au>
|
2001-08-29 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* targmatch.sed: Delete case statements.
|
* targmatch.sed: Delete case statements.
|
||||||
|
|
|
@ -1574,9 +1574,9 @@ xcoff_link_add_symbols (abfd, info)
|
||||||
|
|
||||||
case XTY_LD:
|
case XTY_LD:
|
||||||
/* This is a label definition. The x_scnlen field is the
|
/* This is a label definition. The x_scnlen field is the
|
||||||
symbol index of the csect. I believe that this must
|
symbol index of the csect. Usually the XTY_LD symbol will
|
||||||
always follow the appropriate XTY_SD symbol, so I will
|
follow its appropriate XTY_SD symbol. The .set pseudo op can
|
||||||
insist on it. */
|
cause the XTY_LD to not follow the XTY_SD symbol. */
|
||||||
{
|
{
|
||||||
boolean bad;
|
boolean bad;
|
||||||
|
|
||||||
|
@ -1600,7 +1600,7 @@ xcoff_link_add_symbols (abfd, info)
|
||||||
bfd_set_error (bfd_error_bad_value);
|
bfd_set_error (bfd_error_bad_value);
|
||||||
goto error_return;
|
goto error_return;
|
||||||
}
|
}
|
||||||
|
csect = section;
|
||||||
value = sym.n_value - csect->vma;
|
value = sym.n_value - csect->vma;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue