aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-12-31 02:43:21 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-12-31 02:43:21 +0000
commita836572f89a477527b109f19601f2fe2b804fd3d (patch)
tree29da705cc8a25234ee3cb63b56a148e03441039e /bfd/elflink.c
parentc543bf9aabd5182baa9ba2c005fba2252e826404 (diff)
downloadgdb-a836572f89a477527b109f19601f2fe2b804fd3d.zip
gdb-a836572f89a477527b109f19601f2fe2b804fd3d.tar.gz
gdb-a836572f89a477527b109f19601f2fe2b804fd3d.tar.bz2
Move elfXX_r_info/elfXX_r_sym to elfcode.h.
2010-12-30 H.J. Lu <hongjiu.lu@intel.com> * elfcode.h (NAME(elf,r_info)): New. (NAME(elf,r_sym)): Likewise. * elflink.c (elf64_r_info): Removed. (elf32_r_info): Likewise. (elf64_r_sym): Likewise. (elf32_r_sym): Likewise.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r--bfd/elflink.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c
index c0dae0f..79256bf 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -12751,35 +12751,3 @@ elf_append_rel (bfd *abfd, asection *s, Elf_Internal_Rela *rel)
BFD_ASSERT (loc + bed->s->sizeof_rel <= s->contents + s->size);
bed->s->swap_reloca_out (abfd, rel, loc);
}
-
-/* Function for ELF64_R_INFO. */
-
-bfd_vma
-elf64_r_info (bfd_vma sym, bfd_vma type)
-{
- return ELF64_R_INFO (sym, type);
-}
-
-/* Function for ELF32_R_INFO. */
-
-bfd_vma
-elf32_r_info (bfd_vma sym, bfd_vma type)
-{
- return ELF32_R_INFO (sym, type);
-}
-
-/* Function for ELF64_R_SYM . */
-
-bfd_vma
-elf64_r_sym (bfd_vma r_info)
-{
- return ELF64_R_SYM (r_info);
-}
-
-/* Function for ELF32_R_SYM . */
-
-bfd_vma
-elf32_r_sym (bfd_vma r_info)
-{
- return ELF32_R_SYM (r_info);
-}