* elf32-ppc.c (ppc_elf_relocate_section): Check that output

section (not input) will be in sections ".sbss", ".sbss2",
	".sdata", and ".sdata" for R_PPC_SDAREL16, R_PPC_EMB_SDA2REL,
	R_PPC_EMB_SDA21, R_PPC_EMB_RELSDA.  In all these cases also ignore
	output_offset for correct evaluation of addend.
PR16246
This commit is contained in:
Vladimir Makarov 1998-08-19 21:28:51 +00:00
parent faad4b4786
commit b49867b644

View File

@ -1,3 +1,11 @@
1998-08-19 Vladimir N. Makarov <vmakarov@cygnus.com>
* elf32-ppc.c (ppc_elf_relocate_section): Check that output
section (not input) will be in sections ".sbss", ".sbss2",
".sdata", and ".sdata" for R_PPC_SDAREL16, R_PPC_EMB_SDA2REL,
R_PPC_EMB_SDA21, R_PPC_EMB_RELSDA. In all these cases also ignore
output_offset for correct evaluation of addend.
start-sanitize-armelf
Tue Aug 18 11:48:12 1998 Catherine Moore <clm@cygnus.com>