diff options
author | Alan Modra <amodra@gmail.com> | 2017-02-16 22:19:10 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-02-16 23:10:09 +1030 |
commit | 37d7d56caea508e836bc0d4f0fef0cb520f3ba22 (patch) | |
tree | b6252a765d4bdde68bad6a64bea7f74a202f73d5 /ld/ChangeLog | |
parent | a8c75b765e57aaebb99d4e32e0f228835cff2737 (diff) | |
download | gdb-37d7d56caea508e836bc0d4f0fef0cb520f3ba22.zip gdb-37d7d56caea508e836bc0d4f0fef0cb520f3ba22.tar.gz gdb-37d7d56caea508e836bc0d4f0fef0cb520f3ba22.tar.bz2 |
ld testsuite function pointer comparisons vs. hppa
ld/testsuite/ld-elf/check-ptr-eq.c fails for hppa, since function
pointers may point at plabels. It isn't valid to cast two function
pointers to void* and then compare the void pointers.
* testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params
from void pointers to function pointers.
* testsuite/ld-elf/pr18718.c: Update to suit.
* testsuite/ld-elf/pr18720a.c: Update to suit.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 1a7d18c..ee89792 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,12 @@ 2017-02-16 Alan Modra <amodra@gmail.com> + * testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params + from void pointers to function pointers. + * testsuite/ld-elf/pr18718.c: Update to suit. + * testsuite/ld-elf/pr18720a.c: Update to suit. + +2017-02-16 Alan Modra <amodra@gmail.com> + PR 21000 * testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets. * testsuite/ld-elf/loadaddr2.d: Likewise. |