mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
ac2599c447
Pass --gdwarf-3 to assembler for
commit 4d8ee86073
Author: Nick Clifton <nickc@redhat.com>
Date: Thu Jul 30 08:39:14 2020 +0100
Prevent the generation of DWARF level 0 line number tables...
binutils/
* testsuite/binutils-all/i386/compressed-1a.d: Pass --gdwarf-3
to assembler.
* testsuite/binutils-all/i386/compressed-1b.d: Likewise.
* testsuite/binutils-all/i386/compressed-1c.d: Likewise.
* testsuite/binutils-all/x86-64/compressed-1a.d: Likewise.
* testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
* testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
gas/
* testsuite/gas/elf/dwarf2-3.d:Pass --gdwarf-3 to assembler.
* testsuite/gas/elf/dwarf2-5.d: Likewise.
* testsuite/gas/i386/dw2-compress-3a.d: Likewise.
* testsuite/gas/i386/dw2-compress-3b.d: Likewise.
* testsuite/gas/i386/dw2-compressed-3a.d: Likewise.
* testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
19 lines
771 B
Makefile
19 lines
771 B
Makefile
#PROG: strip
|
|
#source: compressed-1.s
|
|
#as: --32 --compress-debug-sections -mx86-used-note=no --gdwarf-3
|
|
#strip:
|
|
#readelf: -S --wide
|
|
#name: strip on compressed debug sections
|
|
|
|
There are 5 section headers, starting at offset 0x[0-9a-f]+:
|
|
|
|
Section Headers:
|
|
\[Nr\] Name Type Addr Off Size ES Flg Lk Inf Al
|
|
\[ 0\] NULL 00000000 000000 000000 00 0 0 0
|
|
\[ 1\] .text PROGBITS 00000000 000040 00001b 00 AX 0 0 16
|
|
\[ 2\] .data PROGBITS 00000000 00005b 000000 00 WA 0 0 1
|
|
\[ 3\] .bss NOBITS 00000000 00005b 000000 00 WA 0 0 1
|
|
\[ 4\] .shstrtab STRTAB 00000000 [0-9a-f]+ 00001c 00 .* 0 0 1
|
|
Key to Flags:
|
|
#...
|