aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-03-28 05:06:58 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-03-28 05:06:58 -0700
commit767be9d907ae92a943cec9d2de4f52e077335ba7 (patch)
tree0381807a44dab9bb4bddd802d6e861944f10ae03 /ld/emulparams
parent0a6a8b596b285d5c3cdf086ca85be59ff0a97071 (diff)
downloadgdb-767be9d907ae92a943cec9d2de4f52e077335ba7.zip
gdb-767be9d907ae92a943cec9d2de4f52e077335ba7.tar.gz
gdb-767be9d907ae92a943cec9d2de4f52e077335ba7.tar.bz2
ld: Set COMMONPAGESIZE for i386 Solaris
Since COMMONPAGESIZE is set for other Solaris targets, including x86-64 Solaris, also set COMMONPAGESIZE for i386 Solaris to fix FAIL: Build pr20995-2.so FAIL: pr20995-2 PR 25732 * emulparams/elf_i386_ldso.sh (COMMONPAGESIZE): New. * testsuite/ld-elf/shared.exp:Don't xfail pr20995-2 tests for Solaris.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/elf_i386_ldso.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/emulparams/elf_i386_ldso.sh b/ld/emulparams/elf_i386_ldso.sh
index 7ed810e..081de5f 100644
--- a/ld/emulparams/elf_i386_ldso.sh
+++ b/ld/emulparams/elf_i386_ldso.sh
@@ -8,6 +8,7 @@ EXTRA_EM_FILE="elf-x86"
NO_RELA_RELOCS=yes
TEXT_START_ADDR=0x08048000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
+COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
ARCH=i386
MACHINE=
TEMPLATE_NAME=elf