]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
2005-11-18 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Sat, 19 Nov 2005 07:40:29 +0000 (07:40 +0000)
committerRoland McGrath <roland@redhat.com>
Sat, 19 Nov 2005 07:40:29 +0000 (07:40 +0000)
* alpha_init.c: Use HOOK macro.
* arm_init.c: Likewise.
* i386_init.c: Likewise.
* ia64_init.c: Likewise.
* ppc64_init.c: Likewise.
* ppc_init.c: Likewise.
* s390_init.c: Likewise.
* sh_init.c: Likewise.
* sparc_init.c: Likewise.
* x86_64_init.c: Likewise.

backends/ChangeLog
backends/alpha_init.c
backends/arm_init.c
backends/i386_init.c
backends/ia64_init.c
backends/ppc64_init.c
backends/ppc_init.c
backends/s390_init.c
backends/sh_init.c
backends/sparc_init.c
backends/x86_64_init.c

index 3915fd3eefa0e3c1ab5646d1ab4404195c254bf0..b62ea6fd69a65274a5d764f02071cadb7bed54ad 100644 (file)
@@ -1,3 +1,16 @@
+2005-11-18  Roland McGrath  <roland@redhat.com>
+
+       * alpha_init.c: Use HOOK macro.
+       * arm_init.c: Likewise.
+       * i386_init.c: Likewise.
+       * ia64_init.c: Likewise.
+       * ppc64_init.c: Likewise.
+       * ppc_init.c: Likewise.
+       * s390_init.c: Likewise.
+       * sh_init.c: Likewise.
+       * sparc_init.c: Likewise.
+       * x86_64_init.c: Likewise.
+
 2005-11-17  Roland McGrath  <roland@redhat.com>
 
        * Makefile.am (uninstall): Don't try to remove $(pkgincludedir).
index 76a9bfb31a2f7baf8f1630c398f9d6261163983b..d8d93b8cdea24d84744b79687006a02aa7c1af38 100644 (file)
@@ -38,10 +38,10 @@ alpha_init (elf, machine, eh, ehlen)
   /* We handle it.  */
   eh->name = "Alpha";
   alpha_init_reloc (eh);
-  eh->dynamic_tag_name = alpha_dynamic_tag_name;
-  eh->dynamic_tag_check = alpha_dynamic_tag_check;
-  eh->reloc_simple_type = alpha_reloc_simple_type;
-  eh->return_value_location = alpha_return_value_location;
+  HOOK (eh, dynamic_tag_name);
+  HOOK (eh, dynamic_tag_check);
+  HOOK (eh, reloc_simple_type);
+  HOOK (eh, return_value_location);
 
   return MODVERSION;
 }
index ee739078e39bd1521f75dd707a062bfc384f8d0e..2c9e31a910f45fddb46b0b9e26cb0f3771995daa 100644 (file)
@@ -38,7 +38,7 @@ arm_init (elf, machine, eh, ehlen)
   /* We handle it.  */
   eh->name = "ARM";
   arm_init_reloc (eh);
-  eh->reloc_simple_type = arm_reloc_simple_type;
+  HOOK (eh, reloc_simple_type);
 
   return MODVERSION;
 }
index a1056e73b2607daa956f512d07f25b3743fd4e59..3c9bd371e4968beb2db40cb292ca9f791b5c1547 100644 (file)
@@ -37,12 +37,12 @@ i386_init (elf, machine, eh, ehlen)
   /* We handle it.  */
   eh->name = "Intel 80386";
   i386_init_reloc (eh);
-  eh->reloc_simple_type = i386_reloc_simple_type;
-  eh->gotpc_reloc_check = i386_gotpc_reloc_check;
-  eh->core_note = i386_core_note;
+  HOOK (eh, reloc_simple_type);
+  HOOK (eh, gotpc_reloc_check);
+  HOOK (eh, core_note);
   generic_debugscn_p = eh->debugscn_p;
-  eh->debugscn_p = i386_debugscn_p;
-  eh->return_value_location = i386_return_value_location;
+  HOOK (eh, debugscn_p);
+  HOOK (eh, return_value_location);
 
   return MODVERSION;
 }
index 1431f2de1edadb6574e7c47d164ee4d7250fdbca..ddd4ec20be45d69801e9b9fdf4f6d18ba4cc72fd 100644 (file)
@@ -37,12 +37,12 @@ ia64_init (elf, machine, eh, ehlen)
   /* We handle it.  */
   eh->name = "Intel IA-64";
   ia64_init_reloc (eh);
-  eh->reloc_simple_type = ia64_reloc_simple_type;
-  eh->segment_type_name = ia64_segment_type_name;
-  eh->section_type_name = ia64_section_type_name;
-  eh->dynamic_tag_name = ia64_dynamic_tag_name;
-  eh->dynamic_tag_check = ia64_dynamic_tag_check;
-  eh->machine_flag_check = ia64_machine_flag_check;
+  HOOK (eh, reloc_simple_type);
+  HOOK (eh, segment_type_name);
+  HOOK (eh, section_type_name);
+  HOOK (eh, dynamic_tag_name);
+  HOOK (eh, dynamic_tag_check);
+  HOOK (eh, machine_flag_check);
 
   return MODVERSION;
 }
index 9024eafae8ec86a2a47d66157ad0aaf996b0363e..c8e083800f564cc1ff06457f1eba035074d06f6a 100644 (file)
@@ -38,13 +38,13 @@ ppc64_init (elf, machine, eh, ehlen)
   /* We handle it.  */
   eh->name = "PowerPC 64-bit";
   ppc64_init_reloc (eh);
-  eh->reloc_simple_type = ppc64_reloc_simple_type;
-  eh->dynamic_tag_name = ppc64_dynamic_tag_name;
-  eh->dynamic_tag_check = ppc64_dynamic_tag_check;
-  eh->copy_reloc_p = ppc64_copy_reloc_p;
-  eh->check_special_symbol = ppc64_check_special_symbol;
-  eh->bss_plt_p = ppc64_bss_plt_p;
-  eh->return_value_location = ppc64_return_value_location;
+  HOOK (eh, reloc_simple_type);
+  HOOK (eh, dynamic_tag_name);
+  HOOK (eh, dynamic_tag_check);
+  HOOK (eh, copy_reloc_p);
+  HOOK (eh, check_special_symbol);
+  HOOK (eh, bss_plt_p);
+  HOOK (eh, return_value_location);
 
   return MODVERSION;
 }
index 36ca7a240550c03e1e2771ed9ef7adfeefcdc6cd..e2ad85c8759721926f691834b4d4dd8968d95102 100644 (file)
@@ -38,12 +38,12 @@ ppc_init (elf, machine, eh, ehlen)
   /* We handle it.  */
   eh->name = "PowerPC";
   ppc_init_reloc (eh);
-  eh->reloc_simple_type = ppc_reloc_simple_type;
-  eh->dynamic_tag_name = ppc_dynamic_tag_name;
-  eh->dynamic_tag_check = ppc_dynamic_tag_check;
-  eh->check_special_symbol = ppc_check_special_symbol;
-  eh->bss_plt_p = ppc_bss_plt_p;
-  eh->return_value_location = ppc_return_value_location;
+  HOOK (eh, reloc_simple_type);
+  HOOK (eh, dynamic_tag_name);
+  HOOK (eh, dynamic_tag_check);
+  HOOK (eh, check_special_symbol);
+  HOOK (eh, bss_plt_p);
+  HOOK (eh, return_value_location);
 
   return MODVERSION;
 }
index 14578660ab28cd89811109e06949de4ede453b6e..64b373b487de3436efa7ab6e7add47670e408b1a 100644 (file)
@@ -37,7 +37,7 @@ s390_init (elf, machine, eh, ehlen)
   /* We handle it.  */
   eh->name = "IBM S/390";
   s390_init_reloc (eh);
-  eh->reloc_simple_type = s390_reloc_simple_type;
+  HOOK (eh, reloc_simple_type);
 
   return MODVERSION;
 }
index 4fadd9b4e795f828f2aab9641a9b0ea4f68f43c8..975d031d5901e819b4f10cdf2ecc560bf9177e6a 100644 (file)
@@ -38,7 +38,7 @@ sh_init (elf, machine, eh, ehlen)
   /* We handle it.  */
   eh->name = "Hitachi SH";
   sh_init_reloc (eh);
-  eh->reloc_simple_type = sh_reloc_simple_type;
+  HOOK (eh, reloc_simple_type);
 
   return MODVERSION;
 }
index 541df842760db977648265e07caae62b21f4958b..a287d1e473bdd500937bc9a72183fd2699667c09 100644 (file)
@@ -42,8 +42,8 @@ sparc_init (elf, machine, eh, ehlen)
   else
     eh->name = "SPARC";
   sparc_init_reloc (eh);
-  eh->reloc_simple_type = sparc_reloc_simple_type;
-  //eh->core_note = sparc_core_note;
+  HOOK (eh, reloc_simple_type);
+  //HOOK (eh, core_note);
 
   return MODVERSION;
 }
index 22147a1f04378444ef9803bb3ca80ac5ca0a2a83..fe8775755fbde178bfdad392ca9ca64bbf63fc54 100644 (file)
@@ -39,9 +39,9 @@ x86_64_init (elf, machine, eh, ehlen)
   /* We handle it.  */
   eh->name = "AMD x86-64";
   x86_64_init_reloc (eh);
-  eh->reloc_simple_type = x86_64_reloc_simple_type;
-  eh->core_note = x86_64_core_note;
-  eh->return_value_location = x86_64_return_value_location;
+  HOOK (eh, reloc_simple_type);
+  HOOK (eh, core_note);
+  HOOK (eh, return_value_location);
 
   return MODVERSION;
 }