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/fdpic | |
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/fdpic')
-rw-r--r-- | ldso/ldso/fdpic/dl-inlines.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ldso/ldso/fdpic/dl-inlines.h b/ldso/ldso/fdpic/dl-inlines.h index ebbd0334c..a9bfc9311 100644 --- a/ldso/ldso/fdpic/dl-inlines.h +++ b/ldso/ldso/fdpic/dl-inlines.h @@ -176,6 +176,10 @@ _dl_funcdesc_for (void *entry_point, void *got_value) } entry = htab_find_slot(ht, entry_point, 1, hash_pointer, eq_pointer); + + if (entry == NULL) + _dl_exit(1); + if (*entry) { _dl_assert((*entry)->entry_point == entry_point); return _dl_stabilize_funcdesc(*entry); |