diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-03-11 23:35:36 -0500 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-03-22 15:25:39 -0500 |
commit | ad2bffbf1926051ef333f9899344f6bddf2c03cf (patch) | |
tree | 103f0bea2851cdc5de2b62a0c42c6d63f09635a5 /ldso | |
parent | cbec6ecd4d0fde5bf7fea20eb0c0c5fc9a6dec90 (diff) |
fix bfin compile, -msoft-float is not available
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/bfin/dl-sysdep.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/ldso/ldso/bfin/dl-sysdep.h b/ldso/ldso/bfin/dl-sysdep.h index c96526356..a026b641d 100644 --- a/ldso/ldso/bfin/dl-sysdep.h +++ b/ldso/ldso/bfin/dl-sysdep.h @@ -79,6 +79,7 @@ while (0) #define DL_MAP_SEGMENT(EPNT, PPNT, INFILE, FLAGS) \ __dl_map_segment (EPNT, PPNT, INFILE, FLAGS) +#if defined(__FDPIC__) #include "../fdpic/dl-sysdep.h" static __always_inline Elf32_Addr @@ -92,13 +93,6 @@ static __always_inline void elf_machine_relative (DL_LOADADDR_TYPE load_off, const Elf32_Addr rel_addr, Elf32_Word relative_count) { -#if 0 - Elf32_Rel * rpnt = (void *) rel_addr; - --rpnt; - do { - Elf32_Addr *const reloc_addr = (void *) (load_off + (++rpnt)->r_offset); - - *reloc_addr = DL_RELOC_ADDR (load_off, *reloc_addr); - } while (--relative_count); -#endif + return 0; } +#endif |