summaryrefslogtreecommitdiff
path: root/ldso/ldso/nios2/dl-debug.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-05-28 18:12:58 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-04 00:03:07 +0100
commitb8fcdddcbb192fc367ff04bbd753b9deb69b09f3 (patch)
tree8febdb9d4e3d090e9273c29df9ff06116196c8e4 /ldso/ldso/nios2/dl-debug.h
parent191739597c6d380692885cfdd8dd8aa4f31f029d (diff)
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.
Diffstat (limited to 'ldso/ldso/nios2/dl-debug.h')
-rw-r--r--ldso/ldso/nios2/dl-debug.h18
1 files changed, 18 insertions, 0 deletions
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",
+ };