* config/tc-s390.c (s390_elf_cons): Correct fixups for PLT

relocations.
This commit is contained in:
Andreas Jaeger 2001-08-13 08:03:52 +00:00
parent 738472a889
commit 198ce79b6b
2 changed files with 62 additions and 55 deletions

View File

@ -1,3 +1,8 @@
2001-08-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
* config/tc-s390.c (s390_elf_cons): Correct fixups for PLT
relocations.
2001-08-12 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
* config/tc-sparc.c (cons_fix_new_sparc): Move

View File

@ -942,8 +942,10 @@ s390_elf_cons (nbytes)
reloc_howto->name, nbytes);
where = frag_more (nbytes);
md_number_to_chars (where, 0, size);
/* To make fixup_segment do the pc relative conversion the
pcrel parameter on the fix_new_exp call needs to be false. */
fix_new_exp (frag_now, where - frag_now->fr_literal,
size, &exp, reloc_howto->pc_relative, reloc);
size, &exp, false, reloc);
}
else
as_bad (_("relocation not applicable"));