From 9af6ea0bc9db91e151fb7c34862c667b7acb584b Mon Sep 17 00:00:00 2001 From: Mark Salter Date: Wed, 6 Jun 2012 16:44:45 -0400 Subject: 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 Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/c6x/bits/elf-dsbt.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'libc/sysdeps/linux/c6x') 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]; -- cgit v1.2.3