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.
This commit is contained in:
parent
f81d63ec53
commit
215a13aa8f
|
@ -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 $ */
|
/* $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;
|
continue;
|
||||||
if (!strcmp(name, ".stabstr")) /* ignore debug info */
|
if (!strcmp(name, ".stabstr")) /* ignore debug info */
|
||||||
continue;
|
continue;
|
||||||
|
if (!strcmp(name, ".stab.indexstr")) /* ignore more debug info */
|
||||||
|
continue;
|
||||||
case SHT_SYMTAB:
|
case SHT_SYMTAB:
|
||||||
if (pass)
|
if (pass)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user