diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-04-27 05:25:18 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-04-27 05:28:08 -0700 |
commit | 52728a42a8c0a169537e55b74613146d9c67bac8 (patch) | |
tree | 359bcbbb9fed74cbb14c8b183962e7953605d614 /ld | |
parent | 7881f69ee902b06433f071fd8cbdee1b401c9b76 (diff) | |
download | gdb-52728a42a8c0a169537e55b74613146d9c67bac8.zip gdb-52728a42a8c0a169537e55b74613146d9c67bac8.tar.gz gdb-52728a42a8c0a169537e55b74613146d9c67bac8.tar.bz2 |
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.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/compressed1b.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/compressed1c.d | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 21e7c77..62db170 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2016-04-27 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/compressed1b.d: Pass --compress-debug-sections=none + to ld. + * ld-elf/compressed1c.d: Likewise. + 2016-04-27 Alan Modra <amodra@gmail.com> PR target/19985 diff --git a/ld/testsuite/ld-elf/compressed1b.d b/ld/testsuite/ld-elf/compressed1b.d index 83dc60f..04973a4 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 64f75be..29e91da 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* |