* config/tc-s390.c (s390_elf_cons): Correct fixups for PLT
relocations.
This commit is contained in:
parent
738472a889
commit
198ce79b6b
@ -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>
|
2001-08-12 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
|
||||||
|
|
||||||
* config/tc-sparc.c (cons_fix_new_sparc): Move
|
* config/tc-sparc.c (cons_fix_new_sparc): Move
|
||||||
|
@ -942,8 +942,10 @@ s390_elf_cons (nbytes)
|
|||||||
reloc_howto->name, nbytes);
|
reloc_howto->name, nbytes);
|
||||||
where = frag_more (nbytes);
|
where = frag_more (nbytes);
|
||||||
md_number_to_chars (where, 0, size);
|
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,
|
fix_new_exp (frag_now, where - frag_now->fr_literal,
|
||||||
size, &exp, reloc_howto->pc_relative, reloc);
|
size, &exp, false, reloc);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
as_bad (_("relocation not applicable"));
|
as_bad (_("relocation not applicable"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user