summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2012-06-06 16:44:45 -0400
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-13 09:53:19 +0200
commit9af6ea0bc9db91e151fb7c34862c667b7acb584b (patch)
treeafe26fd6022fbcc8e4557edd484e51216451ff2e /libc
parent11d8a813edfffee29354e69548e1ce41c950691b (diff)
Update C6X support
This patch updates the C6X support to work with latest uClibc code and uses reworked DSBT support to allow using kernel FDPIC loader. Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/c6x/bits/elf-dsbt.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/c6x/bits/elf-dsbt.h b/libc/sysdeps/linux/c6x/bits/elf-dsbt.h
index ff8b24bd7..5ad8bb3b0 100644
--- a/libc/sysdeps/linux/c6x/bits/elf-dsbt.h
+++ b/libc/sysdeps/linux/c6x/bits/elf-dsbt.h
@@ -59,15 +59,10 @@ struct elf32_dsbt_loadseg
struct elf32_dsbt_loadmap {
/* Protocol version number, must be zero. */
- Elf32_Word version;
-
- /* Pointer to DSBT */
- unsigned *dsbt_table;
- unsigned dsbt_size;
- unsigned dsbt_index;
+ Elf32_Half version;
/* number of segments */
- Elf32_Word nsegs;
+ Elf32_Half nsegs;
/* The actual memory map. */
struct elf32_dsbt_loadseg segs[0];