mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user