+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.
+
2010-12-30 H.J. Lu <hongjiu.lu@intel.com>
* elf64-x86-64.c (elf_x86_64_relocs_compatible): New.
*loadbasep = loadbase;
return nbfd;
}
+
+/* Function for ELF_R_INFO. */
+
+bfd_vma
+NAME(elf,r_info) (bfd_vma sym, bfd_vma type)
+{
+ return ELF_R_INFO (sym, type);
+}
+
+/* Function for ELF_R_SYM. */
+
+bfd_vma
+NAME(elf,r_sym) (bfd_vma r_info)
+{
+ return ELF_R_SYM (r_info);
+}
\f
#include "elfcore.h"
\f
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);
-}