mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
x86: Pass --gdwarf-3 to assembler
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.
This commit is contained in:
parent
f1dfbfdbc6
commit
ac2599c447
@ -1,3 +1,13 @@
|
||||
2020-07-30 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
|
||||
|
||||
* testsuite/binutils-all/mips/global-local-symtab-sort-o32.d:
|
||||
|
@ -1,6 +1,6 @@
|
||||
#PROG: objcopy
|
||||
#source: compressed-1.s
|
||||
#as: --32 --compress-debug-sections
|
||||
#as: --32 --compress-debug-sections --gdwarf-3
|
||||
#objcopy:
|
||||
#readelf: -w
|
||||
#name: objcopy on compressed debug sections
|
||||
|
@ -1,6 +1,6 @@
|
||||
#PROG: strip
|
||||
#source: compressed-1.s
|
||||
#as: --32 -mx86-used-note=no
|
||||
#as: --32 -mx86-used-note=no --gdwarf-3
|
||||
#strip:
|
||||
#readelf: -S --wide
|
||||
#name: strip on uncompressed debug sections
|
||||
|
@ -1,6 +1,6 @@
|
||||
#PROG: strip
|
||||
#source: compressed-1.s
|
||||
#as: --32 --compress-debug-sections -mx86-used-note=no
|
||||
#as: --32 --compress-debug-sections -mx86-used-note=no --gdwarf-3
|
||||
#strip:
|
||||
#readelf: -S --wide
|
||||
#name: strip on compressed debug sections
|
||||
|
@ -1,6 +1,6 @@
|
||||
#PROG: objcopy
|
||||
#source: compressed-1.s
|
||||
#as: --64 --compress-debug-sections
|
||||
#as: --64 --compress-debug-sections --gdwarf-3
|
||||
#objcopy:
|
||||
#readelf: -w
|
||||
#name: objcopy on compressed debug sections
|
||||
|
@ -1,6 +1,6 @@
|
||||
#PROG: strip
|
||||
#source: compressed-1.s
|
||||
#as: --64 -mx86-used-note=no
|
||||
#as: --64 -mx86-used-note=no --gdwarf-3
|
||||
#strip:
|
||||
#readelf: -S --wide
|
||||
#name: strip on uncompressed debug sections
|
||||
|
@ -1,6 +1,6 @@
|
||||
#PROG: strip
|
||||
#source: compressed-1.s
|
||||
#as: --64 --compress-debug-sections -mx86-used-note=no
|
||||
#as: --64 --compress-debug-sections -mx86-used-note=no --gdwarf-3
|
||||
#strip:
|
||||
#readelf: -S --wide
|
||||
#name: strip on compressed debug sections
|
||||
|
@ -1,3 +1,12 @@
|
||||
2020-07-30 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2020-07-30 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* as.c (dwarf_level): Initialise to 4 in case this is not set on
|
||||
|
@ -1,3 +1,4 @@
|
||||
#as: --gdwarf-3
|
||||
#readelf: -wl
|
||||
#name: DWARF2 3
|
||||
#xfail: ft32*-* h8300-*-*
|
||||
|
@ -1,4 +1,4 @@
|
||||
#as:
|
||||
#as: --gdwarf-3
|
||||
#readelf: -x.rodata -wlL
|
||||
#name: DWARF2 5
|
||||
# The am33 cr16 crx ft32 mn10 msp430 nds32 rl78 and rx targets do not evaluate the subtraction of symbols at assembly time.
|
||||
|
@ -1,5 +1,5 @@
|
||||
#source: dw2-compress-3.s
|
||||
#as: --compress-debug-sections --elf-stt-common=no
|
||||
#as: --compress-debug-sections --elf-stt-common=no --gdwarf-3
|
||||
#readelf: -w
|
||||
#name: DWARF2 debugging information 3 w/o STT_COMMON
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#source: dw2-compress-3.s
|
||||
#as: --compress-debug-sections --elf-stt-common=yes
|
||||
#as: --compress-debug-sections --elf-stt-common=yes --gdwarf-3
|
||||
#readelf: -w
|
||||
#name: DWARF2 debugging information 3 with STT_COMMON
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#source: dw2-compress-3.s
|
||||
#as: --compress-debug-sections=zlib-gabi --elf-stt-common=no
|
||||
#as: --compress-debug-sections=zlib-gabi --elf-stt-common=no --gdwarf-3
|
||||
#readelf: -w
|
||||
#name: DWARF2 debugging information 3 with SHF_COMPRESSED w/o STT_COMMON
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#source: dw2-compress-3.s
|
||||
#as: --compress-debug-sections=zlib-gabi --elf-stt-common=yes
|
||||
#as: --compress-debug-sections=zlib-gabi --elf-stt-common=yes --gdwarf-3
|
||||
#readelf: -w
|
||||
#name: DWARF2 debugging information 3 with SHF_COMPRESSED with STT_COMMON
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user