From f075eb5e6b0dd850304f78cf4d5c94df7b44c7a3 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 20 Nov 2015 11:33:33 +0100 Subject: binutils: add support for arm-*-darwin and aarch64-*-darwin. Currently only in bfd and binutils. ChangeLog/ * configure.ac: Add aarch64-*-darwin* and arm-*-darwin*. * configure: Regenerate. bfd/ChangeLog/ * targets.c (aarch64_mach_o_vec, arm_mach_o_vec): Declare. (_bfd_target_vector): Add new vectors. * reloc.c (BFD_RELOC_MACH_O_SUBTRACTOR32) (BFD_RELOC_MACH_O_SUBTRACTOR64, BFD_RELOC_MACH_O_ARM64_ADDEND) (BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGE21) (BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGEOFF12) (BFD_RELOC_MACH_O_ARM64_POINTER_TO_GOT): New relocations. (BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32) (BFD_RELOC_MACH_O_X86_64_SUBTRACTOR64): Remove. * mach-o-x86-64.c (bfd_mach_o_x86_64_swap_reloc_out): Change name of subtractor relocations. * config.bfd: Handle aarch64-*-darwin*, arm-*-darwin*. * Makefile.am (BFD32_BACKENDS): Add mach-o-arm.lo. (BFD32_BACKENDS_CFILES): Add mach-o-arm.c. (BFD64_BACKENDS): Add mach-o-aarch64.lo. (BFD64_BACKENDS_CFILES): Add mach-o-aarch64.c. * configure.ac: Handle aarch64_mach_o_vec and arm_mach_o_vec. * mach-o-aarch64.c: New file. * mach-o-arm.c: New file. * Makefile.in: Regenerate. * bfd-in2.h: Regenerate. * configure: Regenerate. * libbfd.h: Regenerate. --- bfd/Makefile.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bfd/Makefile.in') diff --git a/bfd/Makefile.in b/bfd/Makefile.in index 9fd0d68..6cf4b70 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -712,6 +712,7 @@ BFD32_BACKENDS = \ m88kopenbsd.lo \ mach-o.lo \ mach-o-i386.lo \ + mach-o-arm.lo \ mipsbsd.lo \ newsos3.lo \ nlm.lo \ @@ -903,6 +904,7 @@ BFD32_BACKENDS_CFILES = \ m88kopenbsd.c \ mach-o.c \ mach-o-i386.c \ + mach-o-arm.c \ mipsbsd.c \ newsos3.c \ nlm.c \ @@ -986,6 +988,7 @@ BFD64_BACKENDS = \ elfn32-mips.lo \ elfxx-ia64.lo \ elfxx-mips.lo \ + mach-o-aarch64.lo \ mach-o-x86-64.lo \ mmo.lo \ nlm32-alpha.lo \ @@ -1024,6 +1027,7 @@ BFD64_BACKENDS_CFILES = \ elfxx-aarch64.c \ elfxx-ia64.c \ elfxx-mips.c \ + mach-o-aarch64.c \ mach-o-x86-64.c \ mmo.c \ nlm32-alpha.c \ @@ -1538,6 +1542,8 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/m68knetbsd.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/m88kmach3.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/m88kopenbsd.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mach-o-aarch64.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mach-o-arm.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mach-o-i386.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mach-o-x86-64.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mach-o.Plo@am__quote@ -- cgit v1.1