about summary refs log tree commit diff
path: root/elf/do-rel.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-24 14:58:03 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-24 14:58:03 +0000
commit1f2a1df36b8e103660786a3058ef5a7dce9797fc (patch)
treee7aecaf35f19db407864624e2420a15cb051aee5 /elf/do-rel.h
parenta4c4e6db680dd588700a8f1c5a6d75073d4d900b (diff)
downloadglibc-1f2a1df36b8e103660786a3058ef5a7dce9797fc.tar.gz
glibc-1f2a1df36b8e103660786a3058ef5a7dce9797fc.tar.xz
glibc-1f2a1df36b8e103660786a3058ef5a7dce9797fc.zip
Update.
2001-08-24  Jakub Jelinek  <jakub@redhat.com>

	* elf/do-rel.h (elf_machine_rel_relative): Define for rela if
	necessary.  Undefine newly defined macros at the end.
	* sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
	Rename from elf_machine_rel_relative.
	* sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
	* sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
	* sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
	* sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
	Fix argument types.
	* sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
	Fix argument types.
	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
	Likewise.  Fix argument types.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
	Likewise.  Fix argument types.
	* sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
	Fix argument types.
	* sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
	ElfW(Rel) in argument.
	* sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
	function.
Diffstat (limited to 'elf/do-rel.h')
-rw-r--r--elf/do-rel.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/elf/do-rel.h b/elf/do-rel.h
index f7c2a5b2d4..fa84522d46 100644
--- a/elf/do-rel.h
+++ b/elf/do-rel.h
@@ -21,12 +21,13 @@
    `elf_dynamic_do_rel' and `elf_dynamic_do_rela'.  */
 
 #ifdef DO_RELA
-# define elf_dynamic_do_rel	elf_dynamic_do_rela
-# define RELCOUNT_IDX		VERSYMIDX (DT_RELACOUNT)
-# define Rel			Rela
-# define elf_machine_rel	elf_machine_rela
+# define elf_dynamic_do_rel		elf_dynamic_do_rela
+# define RELCOUNT_IDX			VERSYMIDX (DT_RELACOUNT)
+# define Rel				Rela
+# define elf_machine_rel		elf_machine_rela
+# define elf_machine_rel_relative	elf_machine_rela_relative
 #else
-# define RELCOUNT_IDX		VERSYMIDX (DT_RELCOUNT)
+# define RELCOUNT_IDX			VERSYMIDX (DT_RELCOUNT)
 #endif
 
 #ifndef VERSYMIDX
@@ -98,3 +99,5 @@ elf_dynamic_do_rel (struct link_map *map,
 #undef elf_dynamic_do_rel
 #undef Rel
 #undef elf_machine_rel
+#undef elf_machine_rel_relative
+#undef RELCOUNT_IDX