summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2004-03-01 16:38:20 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2004-03-01 16:38:20 +0000
commit215a13aa8f537dcb62b0a2f6d335901ee47e9e9b (patch)
tree7bf787f7f4a68ca63864fe981818453c35796538
parentf81d63ec5396c8d7f62ddd6ff6bab10b32493264 (diff)
Add the .stab.indexstr section produced by Sun's compilers to the list of
SHT_STRTAB sections with debug information to ignore when loading ELF objects.
-rw-r--r--hw/xfree86/loader/elfloader.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/xfree86/loader/elfloader.c b/hw/xfree86/loader/elfloader.c
index 5ab8af62d..e3c70d0c6 100644
--- a/hw/xfree86/loader/elfloader.c
+++ b/hw/xfree86/loader/elfloader.c
@@ -1,3 +1,4 @@
+/* $XdotOrg$ */
/* $XFree86: xc/programs/Xserver/hw/xfree86/loader/elfloader.c,v 1.62 2003/11/06 18:38:13 tsi Exp $ */
/*
@@ -2696,6 +2697,8 @@ ELFCollectSections(ELFModulePtr elffile, int pass, int *totalsize,
continue;
if (!strcmp(name, ".stabstr")) /* ignore debug info */
continue;
+ if (!strcmp(name, ".stab.indexstr")) /* ignore more debug info */
+ continue;
case SHT_SYMTAB:
if (pass)
continue;