This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH V2 1/3] bfd: new BFD target entry point _bfd_set_reloc.


    >     2017-05-05  Jose E. Marchesi  <jose.marchesi@oracle.com>
    > 
    >     	* targets.c (BFD_JUMP_TABLE_RELOCS): Add NAME##_set_reloc.
    >     	(struct bfd_target): New field _bfd_set_reloc.
    >     	* bfd.c (bfd_set_reloc): Call backend _set_bfd.
    >     	* reloc.c (_bfd_generic_set_reloc): New function.
    >     	* coffcode.h (coff_set_reloc): Define to _bfd_generic_set_reloc.
    >     	* nlm-target.h (nlm_set_reloc): Likewise.
    >     	* coff-rs6000.c (_bfd_xcoff_set_reloc): Likewise.
    >     	* aout-tic30.c (MY_set_reloc): Likewise.
    >     	* aout-target.h (MY_set_reloc): Likewise.
    >     	* elfxx-target.h (bfd_elfNN_set_reloc): Likewise.
    >     	* coff-alpha.c (_bfd_ecoff_set_reloc): Likewise.
    >     	* mach-o-target.c (bfd_mach_o_set_reloc): Likewise.
    >     	* vms-alpha.c (alpha_vms_set_reloc): Likewise.
    >     	* aout-adobe.c (aout_32_set_reloc): Likewise.
    >     	* bout.c (b_out_set_reloc): Likewise.
    >     	* coff-mips.c (_bfd_ecoff_set_reloc): Likewise.
    >     	* i386os9k.c (aout_32_set_reloc): Likewise.
    >     	* ieee.c (ieee_set_reloc): Likewise.
    >     	* oasys.c (oasys_set_reloc): Likewise.
    >     	* som.c (som_set_reloc): Likewise.
    >     	* versados.c (versados_set_reloc): Likewise.
    >     	* coff64-rs6000.c (rs6000_xcoff64_vec): Add
    >     	_bfd_generic_set_reloc.
    >     	(rs6000_xcoff64_aix_vec): LIkewise.
    >     	* libbfd.c (_bfd_norelocs_set_reloc): New function.
    >     	* libbfd-in.h: Prototype for _bfd_norelocs_set_reloc.
    >     	* i386msdos.c (msdos_set_reloc): Define to
    >     	_bfd_norelocs_set_reloc.
    >     	* elfcode.h (elf_set_reloc): Define.
    >     	* bfd-in2.h: Regenerated.
    
    OK.  I'll leave approval of the MIPS patch to Maciej.

I checked this in after testing for regressions in all the targets you
suggested:

aarch64-linux alpha-dec-vms alpha-linux alpha-linuxecoff alpha-netbsd
alpha-unknown-freebsd4.7 am33_2.0-linux arc-linux-uclibc arm-linuxeabi
arm-nacl arm-netbsdelf arm-nto arm-pe arm-symbianelf arm-vxworks
arm-wince-pe avr-elf bfin-elf cr16-elf cris-elf crisv32-linux crx-elf
d10v-elf d30v-elf dlx-elf epiphany-elf fr30-elf frv-elf frv-linux
ft32-elf h8300-elf hppa-linux hppa-hp-hpux10 hppa64-hp-hpux11.23
hppa64-linux i386-darwin i386-lynxos i586-linux i686-nacl i686-pc-beos
i686-pc-elf i686-pe i686-vxworks ia64-elf ia64-freebsd5 ia64-hpux
ia64-linux ia64-netbsd ia64-vms ip2k-elf iq2000-elf lm32-elf m32c-elf
m32r-elf m68hc11-elf m68hc12-elf m68k-elf m68k-linux m68k-netbsd
mcore-elf mcore-pe mep-elf metag-linux microblaze-elf mips-linux
mips-vxworks mips64-linux mipsel-linux-gnu mipsisa32el-linux
mips64-openbsd mipstx39-elf mmix mn10200-elf mn10300-elf moxie-elf
ms1-elf msp430-elf mt-elf nds32le-elf nios2-linux or1k-elf
pdp11-dec-aout pj-elf powerpc-eabisim powerpc-eabivle powerpc-linux
powerpc-nto powerpc-wrs-vxworks powerpc64-linux powerpcle-cygwin
powerpcle-elf powerpc64le-linux ppc-lynxos pru-elf riscv32-elf
riscv64-elf rl78-elf rs6000-aix4.3.3 rs6000-aix5.1 rx-elf s390-linux
s390x-linux score-elf sh-linux sh-nto sh-pe sh-rtems sh-vxworks
shl-unknown-net bsdelf sparc-aout sparc-linux sparc-vxworks
sparc64-linux spu-elf tic30-unknown-aout tic30-unknown-coff tic4x-coff
tic54x-coff tic6x-elf tilegx-linux tilepro-linux v850-elf vax-netbsdelf
visium-elf x86_64-linux x86_64-w64-mingw32 x86_64-nacl xgate-elf
xstormy16-elf xtensa-elf z8k-coff z80-coff
  
Thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]