bfd/
authorYufeng Zhang <yufeng.zhang@arm.com>
Thu, 20 Jun 2013 16:01:35 +0000 (16:01 +0000)
committerYufeng Zhang <yufeng.zhang@arm.com>
Thu, 20 Jun 2013 16:01:35 +0000 (16:01 +0000)
* bfd-in.h (bfd_elf64_aarch64_set_options): Add 'extern'.
* bfd-in2.h: Re-generated.
* elf64-aarch64.c (RELOC_SECTION): Removed.
(SWAP_RELOC_IN, SWAP_RELOC_OUT): Ditto.
(AARCH64_ELF_OS_ABI_VERSION): Ditto.
(elf64_aarch64_link_hash_traverse): Ditto.
(elf64_aarch64_size_stubs): Change 'Aarch64' to 'AArch64' in the
comment.

opcodes/

* aarch64-dis.c (EMBEDDED_ENV): Remove the check on it.
(SYMTAB_AVAILABLE): Removed.
(#include "elf/aarch64.h): Ditto.

bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/elf64-aarch64.c
opcodes/ChangeLog
opcodes/aarch64-dis.c

index d3773c43028134aa53aea8634aca9c1c092b6379..af0ba3a142cc072741e19a007e8e740c51f58e40 100644 (file)
@@ -1,3 +1,14 @@
+2013-06-20  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * bfd-in.h (bfd_elf64_aarch64_set_options): Add 'extern'.
+       * bfd-in2.h: Re-generated.
+       * elf64-aarch64.c (RELOC_SECTION): Removed.
+       (SWAP_RELOC_IN, SWAP_RELOC_OUT): Ditto.
+       (AARCH64_ELF_OS_ABI_VERSION): Ditto.
+       (elf64_aarch64_link_hash_traverse): Ditto.
+       (elf64_aarch64_size_stubs): Change 'Aarch64' to 'AArch64' in the
+       comment.
+
 2013-06-19  Will Newton  <will.newton@linaro.org>
 
        * configure: Regenerated.
index 1d519325685c44ae42e7b29ba69baf51c4acd2ce..03cac6e039f982794d66f0bf592338d2110f197f 100644 (file)
@@ -933,7 +933,7 @@ extern unsigned int _bfd_elf_ppc_at_tprel_transform
 extern void bfd_elf64_aarch64_init_maps
   (bfd *);
 
-void bfd_elf64_aarch64_set_options
+extern void bfd_elf64_aarch64_set_options
   (bfd *, struct bfd_link_info *, int, int, int);
 
 /* ELF AArch64 mapping symbol support.  */
index f5b98c5a1aff3008e9abd4e2c0558e200202ae26..a20abc0af7bc60cfb51171f1b8bd69b7bbdfa609 100644 (file)
@@ -940,7 +940,7 @@ extern unsigned int _bfd_elf_ppc_at_tprel_transform
 extern void bfd_elf64_aarch64_init_maps
   (bfd *);
 
-void bfd_elf64_aarch64_set_options
+extern void bfd_elf64_aarch64_set_options
   (bfd *, struct bfd_link_info *, int, int, int);
 
 /* ELF AArch64 mapping symbol support.  */
index 68f03fc16bb32698e5a33ca13155f60c4643f1ab..5d926a49fca3291bf7e79006024f8f567b9262b3 100644 (file)
@@ -185,23 +185,10 @@ bfd_elf_aarch64_put_addend (bfd *abfd,
 
 #define ELIMINATE_COPY_RELOCS 0
 
-/* Return the relocation section associated with NAME.  HTAB is the
-   bfd's elf64_aarch64_link_hash_entry.  */
-#define RELOC_SECTION(HTAB, NAME) \
-  ((HTAB)->use_rel ? ".rel" NAME : ".rela" NAME)
-
 /* Return size of a relocation entry.  HTAB is the bfd's
    elf64_aarch64_link_hash_entry.  */
 #define RELOC_SIZE(HTAB) (sizeof (Elf64_External_Rela))
 
-/* Return function to swap relocations in.  HTAB is the bfd's
-   elf64_aarch64_link_hash_entry.  */
-#define SWAP_RELOC_IN(HTAB) (bfd_elf64_swap_reloca_in)
-
-/* Return function to swap relocations out.  HTAB is the bfd's
-   elf64_aarch64_link_hash_entry.  */
-#define SWAP_RELOC_OUT(HTAB) (bfd_elf64_swap_reloca_out)
-
 /* GOT Entry size - 8 bytes.  */
 #define GOT_ENTRY_SIZE                  (8)
 #define PLT_ENTRY_SIZE                  (32)
@@ -264,7 +251,6 @@ elf64_aarch64_tlsdesc_small_plt_entry[PLT_TLSDESC_ENTRY_SIZE] =
 #define elf_info_to_howto_rel           elf64_aarch64_info_to_howto
 
 #define AARCH64_ELF_ABI_VERSION                0
-#define AARCH64_ELF_OS_ABI_VERSION     0
 
 /* In case we're on a 32-bit machine, construct a 64-bit "-1" value.  */
 #define ALL_ONES (~ (bfd_vma) 0)
@@ -1784,13 +1770,6 @@ elf64_aarch64_symbol_got_type (struct elf_link_hash_entry *h,
   return elf64_aarch64_locals (abfd)[r_symndx].got_type;
 }
 
-/* Traverse an AArch64 ELF linker hash table.  */
-#define elf64_aarch64_link_hash_traverse(table, func, info)            \
-  (elf_link_hash_traverse                                              \
-   (&(table)->root,                                                    \
-    (bfd_boolean (*) (struct elf_link_hash_entry *, void *)) (func),   \
-    (info)))
-
 /* Get the AArch64 elf linker hash table from a link_info structure.  */
 #define elf64_aarch64_hash_table(info)                                 \
   ((struct elf64_aarch64_link_hash_table *) ((info)->hash))
@@ -2735,7 +2714,7 @@ elf64_aarch64_size_stubs (bfd *output_bfd,
   if (stub_group_size == 1)
     {
       /* Default values.  */
-      /* Aarch64 branch range is +-128MB. The value used is 1MB less.  */
+      /* AArch64 branch range is +-128MB. The value used is 1MB less.  */
       stub_group_size = 127 * 1024 * 1024;
     }
 
index d1b106eb4f24f4e3dd06157c72152b64dabc7fa4..002bd89b71ae4a966dcb28328c04256d990483ab 100644 (file)
@@ -1,3 +1,9 @@
+2013-06-20  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * aarch64-dis.c (EMBEDDED_ENV): Remove the check on it.
+       (SYMTAB_AVAILABLE): Removed.
+       (#include "elf/aarch64.h): Ditto.
+
 2013-06-17  Catherine Moore  <clm@codesourcery.com>
            Maciej W. Rozycki  <macro@codesourcery.com>
            Chao-Ying Fu  <fu@mips.com>
index d8bd29010bd32f5d217be64c4086634627435619..c757316dfb64ce5a7a7788f17cf45999e7742023 100644 (file)
 #include "libiberty.h"
 #include "opintl.h"
 #include "aarch64-dis.h"
-
-#if !defined(EMBEDDED_ENV)
-#define SYMTAB_AVAILABLE 1
 #include "elf-bfd.h"
-#include "elf/aarch64.h"
-#endif
 
 #define ERR_OK   0
 #define ERR_UND -1
This page took 0.03561 seconds and 4 git commands to generate.