From b8fcdddcbb192fc367ff04bbd753b9deb69b09f3 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 28 May 2016 18:12:58 +0200 Subject: nios2: sync support with glibc Only static linking is supported for now. More debugging and analyzing for ld.so, TLS and NPTL is required. But at least you can bootup a static root fileystem in Qemu. --- ldso/ldso/nios2/dl-debug.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ldso/ldso/nios2/dl-debug.h (limited to 'ldso/ldso/nios2/dl-debug.h') diff --git a/ldso/ldso/nios2/dl-debug.h b/ldso/ldso/nios2/dl-debug.h new file mode 100644 index 000000000..1fb596ae3 --- /dev/null +++ b/ldso/ldso/nios2/dl-debug.h @@ -0,0 +1,18 @@ +/* nios2 shared library loader suppport */ + +static const char * const _dl_reltypes_tab[] = + { + "R_NIOS2_NONE", + "R_NIOS2_BFD_RELOC_32", + "R_NIOS2_BFD_RELOC_16", + "R_NIOS2_BFD_RELOC_8", + "R_NIOS2_GNU_VTINHERIT", + "R_NIOS2_GNU_VTENTRY", + "R_NIOS2_GOT16", + "R_NIOS2_CALL16", + "R_NIOS2_JUMP_SLOT", + "R_NIOS2_GLOB_DAT", + "R_NIOS2_RELATIVE", + "R_NIOS2_GOTOFF", + "R_NIOS2_COPY", + }; -- cgit v1.2.3