mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 12:35:55 +08:00
* config/tc-mep.c (md_pcrel_from_section): Handle any other
forced-relocation cases.
This commit is contained in:
parent
07ab73a053
commit
4e7defc130
@ -1,3 +1,8 @@
|
||||
2009-08-26 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* config/tc-mep.c (md_pcrel_from_section): Handle any other
|
||||
forced-relocation cases.
|
||||
|
||||
2009-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* Makefile.am (TARGET_CPU_CFILES): Add config/tc-moxie.c.
|
||||
|
@ -1817,6 +1817,11 @@ md_pcrel_from_section (fixS *fixP, segT sec)
|
||||
Let the linker figure it out. */
|
||||
return 0;
|
||||
|
||||
/* If we've got other reasons for emitting this relocation, let the
|
||||
linker handle pc-rel also. */
|
||||
if (mep_force_relocation (fixP))
|
||||
return 0;
|
||||
|
||||
/* Return the address of the opcode - cgen adjusts for opcode size
|
||||
itself, to be consistent with the disassembler, which must do
|
||||
so. */
|
||||
|
Loading…
Reference in New Issue
Block a user