PR28751 mbind2a / mbind2b regressions on powerpc*-linux
authorAlan Modra <amodra@gmail.com>
Fri, 14 Jan 2022 11:25:51 +0000 (21:55 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 14 Jan 2022 11:32:23 +0000 (22:02 +1030)
commitff66e8c5bee8a57b531515342e6126782ea9a651
tree7c0905be058c529af36a0638796dadcb73dfab67
parentfd47eb1a302753ddf8e37f5a4918c889cb8c929b
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.
include/bfdlink.h
ld/emultempl/elf.em
ld/ldelf.c
ld/testsuite/ld-elf/elf.exp