diff --git a/ld/ChangeLog b/ld/ChangeLog index 74be8d4c45f..1963c17ebc4 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2016-04-20 H.J. Lu + + PR ld/19972 + * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for + R_386_NONE or R_X86_64_NONE. + 2016-04-20 H.J. Lu * testsuite/ld-x86-64/pic1.d: New file. diff --git a/ld/testsuite/ld-elf/eh6.d b/ld/testsuite/ld-elf/eh6.d index 7812af293e9..475b2a7c69a 100644 --- a/ld/testsuite/ld-elf/eh6.d +++ b/ld/testsuite/ld-elf/eh6.d @@ -1,8 +1,11 @@ #source: eh6.s #ld: --gc-sections -shared -#readelf: -wf +#readelf: -wf -rW #target: x86_64-*-linux-gnu* i?86-*-linux-gnu i?86-*-gnu* +#... +[0-9a-f]+ +[0-9a-f]+ +R_.*_NONE *0? +#... Contents of the .eh_frame section: 0+0000 0+001[4c] 0+0000 CIE