diff options
-rw-r--r-- | ld/testsuite/ld-elf/compress.exp | 20 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/zlibbegin.rS | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/zlibnormal.rS | 2 |
3 files changed, 12 insertions, 12 deletions
diff --git a/ld/testsuite/ld-elf/compress.exp b/ld/testsuite/ld-elf/compress.exp index 4a3a27841a3..f9caa9c6f72 100644 --- a/ld/testsuite/ld-elf/compress.exp +++ b/ld/testsuite/ld-elf/compress.exp @@ -46,41 +46,41 @@ if { ![ld_assemble $as "--compress-debug-sections=zlib-gabi $srcdir/$subdir/empt set build_tests { {"Build libfoo.so with compressed debug sections" - "-shared" "-fPIC -g -Wa,--compress-debug-sections" + "-shared" "-fPIC -ggdb3 -Wa,--compress-debug-sections" {foo.c} {} "libfoo.so"} {"Build libbar.so with compressed debug sections" "-shared -Wl,--compress-debug-sections=none" - "-fPIC -g -Wa,--compress-debug-sections" + "-fPIC -ggdb3 -Wa,--compress-debug-sections" {begin.c end.c} {} "libbar.so"} {"Build libfoozlib.so with compressed debug sections with zlib-gabi" - "-shared" "-fPIC -g -Wa,--compress-debug-sections=zlib-gabi" + "-shared" "-fPIC -ggdb3 -Wa,--compress-debug-sections=zlib-gabi" {foo.c} {} "libfoozlib.so"} {"Build libbarzlib.so with compressed debug sections with zlib-gabi" - "-shared" "-fPIC -g -Wa,--compress-debug-sections=zlib-gabi" + "-shared" "-fPIC -ggdb3 -Wa,--compress-debug-sections=zlib-gabi" {begin.c end.c} {} "libbarzlib.so"} {"Build libzlibfoo.so with zlib compressed debug sections" "-shared -Wl,--compress-debug-sections=zlib" - "-fPIC -g -Wa,--compress-debug-sections=zlib" + "-fPIC -ggdb3 -Wa,--compress-debug-sections=zlib" {foo.c} {} "libzlibfoo.so"} {"Build libgnufoo.so with zlib-gnu compressed debug sections" "-shared -Wl,--compress-debug-sections=zlib-gnu" - "-fPIC -g -Wa,--compress-debug-sections=zlib-gnu" + "-fPIC -ggdb3 -Wa,--compress-debug-sections=zlib-gnu" {foo.c} {} "libgnufoo.so"} {"Build libgabifoo.so with zlib-gabi compressed debug sections" "-shared -Wl,--compress-debug-sections=zlib-gabi" - "-fPIC -g -Wa,--compress-debug-sections=zlib-gabi" + "-fPIC -ggdb3 -Wa,--compress-debug-sections=zlib-gabi" {foo.c} {} "libgabifoo.so"} {"Build zlibbegin.o with zlib compressed debug sections" "-r -nostdlib -Wl,--compress-debug-sections=zlib" - "-g -Wa,--compress-debug-sections=zlib" + "-ggdb3 -Wa,--compress-debug-sections=zlib" {begin.c} {} "zlibbegin.o"} {"Build gnubegin.o with zlib-gnu compressed debug sections" "-r -nostdlib -Wl,--compress-debug-sections=zlib-gnu" - "-g -Wa,--compress-debug-sections=zlib-gnu" + "-ggdb3 -Wa,--compress-debug-sections=zlib-gnu" {begin.c} {} "gnubegin.o"} {"Build gabiend.o with zlib-gabi compressed debug sections" "-r -nostdlib -Wl,--compress-debug-sections=zlib-gabi" - "-g -Wa,--compress-debug-sections=zlib-gnu" + "-ggdb3 -Wa,--compress-debug-sections=zlib-gnu" {end.c} {} "gabiend.o"} } diff --git a/ld/testsuite/ld-elf/zlibbegin.rS b/ld/testsuite/ld-elf/zlibbegin.rS index 294fdb4416c..dbab80c2ac8 100644 --- a/ld/testsuite/ld-elf/zlibbegin.rS +++ b/ld/testsuite/ld-elf/zlibbegin.rS @@ -1,3 +1,3 @@ #... - +\[[ 0-9]+\] .debug_.* +(PROGBITS|MIPS_DWARF) +0+ +[0-9a-f]+ +[0-9a-f]+ [0-9a-f]+ +C +0 +0 +1 + +\[[ 0-9]+\] .debug_.* +(PROGBITS|MIPS_DWARF) +0+ +[0-9a-f]+ +[0-9a-f]+ [0-9a-f]+ +G?C +0 +0 +1 #pass diff --git a/ld/testsuite/ld-elf/zlibnormal.rS b/ld/testsuite/ld-elf/zlibnormal.rS index 294fdb4416c..dbab80c2ac8 100644 --- a/ld/testsuite/ld-elf/zlibnormal.rS +++ b/ld/testsuite/ld-elf/zlibnormal.rS @@ -1,3 +1,3 @@ #... - +\[[ 0-9]+\] .debug_.* +(PROGBITS|MIPS_DWARF) +0+ +[0-9a-f]+ +[0-9a-f]+ [0-9a-f]+ +C +0 +0 +1 + +\[[ 0-9]+\] .debug_.* +(PROGBITS|MIPS_DWARF) +0+ +[0-9a-f]+ +[0-9a-f]+ [0-9a-f]+ +G?C +0 +0 +1 #pass |