From: H.J. Lu Date: Wed, 27 Apr 2016 12:25:18 +0000 (-0700) Subject: Pass --compress-debug-sections=none to ld X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=52728a42a8c0a169537e55b74613146d9c67bac8;p=binutils-gdb.git Pass --compress-debug-sections=none to ld Since ld may generate compressed debug sections by default, pass --compress-debug-sections=none to ld to avoid compressed debug sections. * ld-elf/compressed1b.d: Pass --compress-debug-sections=none to ld. * ld-elf/compressed1c.d: Likewise. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 21e7c77cc47..62db17087d3 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2016-04-27 H.J. Lu + + * ld-elf/compressed1b.d: Pass --compress-debug-sections=none + to ld. + * ld-elf/compressed1c.d: Likewise. + 2016-04-27 Alan Modra PR target/19985 diff --git a/ld/testsuite/ld-elf/compressed1b.d b/ld/testsuite/ld-elf/compressed1b.d index 83dc60f48e0..04973a46479 100644 --- a/ld/testsuite/ld-elf/compressed1b.d +++ b/ld/testsuite/ld-elf/compressed1b.d @@ -1,6 +1,6 @@ #source: compress1.s #as: --compress-debug-sections=zlib-gabi -#ld: -r +#ld: -r --compress-debug-sections=none #readelf: -t #failif diff --git a/ld/testsuite/ld-elf/compressed1c.d b/ld/testsuite/ld-elf/compressed1c.d index 64f75be70a8..29e91dab8ec 100644 --- a/ld/testsuite/ld-elf/compressed1c.d +++ b/ld/testsuite/ld-elf/compressed1c.d @@ -1,6 +1,6 @@ #source: compress1.s #as: --compress-debug-sections=zlib-gabi -#ld: -shared +#ld: -shared --compress-debug-sections=none #readelf: -t #target: *-*-linux* *-*-gnu*