diff options
author | Alan Modra <amodra@gmail.com> | 2022-01-14 21:55:51 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-01-14 22:02:23 +1030 |
commit | ff66e8c5bee8a57b531515342e6126782ea9a651 (patch) | |
tree | 7c0905be058c529af36a0638796dadcb73dfab67 /ld/testsuite | |
parent | fd47eb1a302753ddf8e37f5a4918c889cb8c929b (diff) | |
download | gdb-ff66e8c5bee8a57b531515342e6126782ea9a651.zip gdb-ff66e8c5bee8a57b531515342e6126782ea9a651.tar.gz gdb-ff66e8c5bee8a57b531515342e6126782ea9a651.tar.bz2 |
PR28751 mbind2a / mbind2b regressions on powerpc*-linux
include/
* bfdlink.h (struct bfd_link_info): Add commonpagesize_is_set.
ld/
PR 28751
* emultempl/elf.em (handle_option): Set commonpagesize_is_set.
* ldelf.c (ldelf_after_parse): Don't error when only one of
-z max-page-size or -z common-page-size is given, correct the
other value to make it sane.
* testsuite/ld-elf/elf.exp (mbind2a, mbind2b): Do not pass
-z max-page-size.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ld-elf/elf.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp index 16128c2..119908c 100644 --- a/ld/testsuite/ld-elf/elf.exp +++ b/ld/testsuite/ld-elf/elf.exp @@ -365,7 +365,7 @@ if { [istarget *-*-linux*] run_ld_link_exec_tests [list \ [list \ "Run mbind2a" \ - "$NOPIE_LDFLAGS -Wl,-z,common-page-size=0x4000,-z,max-page-size=0x4000" \ + "$NOPIE_LDFLAGS -Wl,-z,common-page-size=0x4000" \ "" \ { mbind2a.s mbind2b.c } \ "mbind2a" \ @@ -374,7 +374,7 @@ if { [istarget *-*-linux*] ] \ [list \ "Run mbind2b" \ - "-static -Wl,-z,common-page-size=0x4000,-z,max-page-size=0x4000" \ + "-static -Wl,-z,common-page-size=0x4000" \ "" \ { mbind2a.s mbind2b.c } \ "mbind2b" \ |