diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-02-05 21:07:40 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-02-07 18:23:22 +0100 |
commit | c0a2d0b7edacbc6389574821b0231e07431dabb6 (patch) | |
tree | f2d21c6e2fe8f99ccd820d1d406dc5d51419ba77 /ldso/ldso/frv/dl-sysdep.h | |
parent | b499fe614ac5b492fc0fdc6e1fbbeeb904674159 (diff) |
frv: resurrect port somehow, totally untested
The FR-V port is really broken, and I have no emulator
or hardware for this platform. I tried to get some hardware
from RedHat, who made the FR-V port initially. Unfortunately
Fujitsi didn't agreed to sent me some of their unused spare
hardware lying @RedHat. As I invested some time to get stuff compiled,
I decided to add the code and may be anytime later I can gain
access to some emulator or hardware.
GDB simulator for FR-V doesn't support booting Linux AFAIK.
Diffstat (limited to 'ldso/ldso/frv/dl-sysdep.h')
-rw-r--r-- | ldso/ldso/frv/dl-sysdep.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/ldso/ldso/frv/dl-sysdep.h b/ldso/ldso/frv/dl-sysdep.h index f4e8b4c67..e6bf7f187 100644 --- a/ldso/ldso/frv/dl-sysdep.h +++ b/ldso/ldso/frv/dl-sysdep.h @@ -40,9 +40,6 @@ extern int _dl_linux_resolve(void) __attribute__((__visibility__("hidden"))); #define SEND_EARLY_STDERR(S) \ do { static char __s[] = (S); SEND_STDERR (__s); } while (0) -#define DL_RELOC_ADDR(ADDR, LOADADDR) \ - (__reloc_pointer ((void*)(ADDR), (LOADADDR).map)) - /* Make sure we only load libraries that use the same number of general-purpose and floating-point registers the dynamic loader was compiled for. */ @@ -85,3 +82,16 @@ do \ while (0) #include "../fdpic/dl-sysdep.h" + +static __always_inline Elf32_Addr +elf_machine_load_address (void) +{ + return 0; +} + +static __always_inline void +elf_machine_relative (DL_LOADADDR_TYPE load_off, const Elf32_Addr rel_addr, + Elf32_Word relative_count) +{ + ; +} |