diff options
-rw-r--r-- | rtl-mdreloc-i386.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/rtl-mdreloc-i386.c b/rtl-mdreloc-i386.c index 309498f..21cde5a 100644 --- a/rtl-mdreloc-i386.c +++ b/rtl-mdreloc-i386.c @@ -23,18 +23,6 @@ rtems_rtl_elf_rel_resolve_sym (Elf_Word type) } bool -rtems_rtl_elf_relocate_rel (const rtems_rtl_obj_t* obj, - const Elf_Rel* rel, - const rtems_rtl_obj_sect_t* sect, - const char* symname, - const Elf_Byte syminfo, - const Elf_Word symvalue) -{ - rtems_rtl_set_error (EINVAL, "rela type record not supported"); - return false; -} - -bool rtems_rtl_elf_relocate_rela (const rtems_rtl_obj_t* obj, const Elf_Rela* rel, const rtems_rtl_obj_sect_t* sect, @@ -42,6 +30,18 @@ rtems_rtl_elf_relocate_rela (const rtems_rtl_obj_t* obj, const Elf_Byte syminfo, const Elf_Word symvalue) { + rtems_rtl_set_error (EINVAL, "rela type record not supported"); + return false; +} + +bool +rtems_rtl_elf_relocate_rel (const rtems_rtl_obj_t* obj, + const Elf_Rel* rel, + const rtems_rtl_obj_sect_t* sect, + const char* symname, + const Elf_Byte syminfo, + const Elf_Word symvalue) +{ Elf_Addr target = 0; Elf_Addr* where; Elf_Addr tmp; |