mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-19 19:30:52 +02: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:
parent
f81d63ec53
commit
215a13aa8f
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue