aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2022-02-14 16:02:45 -0800
committerH.J. Lu <hjl.tools@gmail.com>2022-02-14 17:39:34 -0800
commita1faa5ea8629adfcd60c2cc0d3b533ed3ab34ee2 (patch)
treeb9f08d64f4f3f0b63f8b3829b455a041a5edbc43 /ld/emultempl
parent62e2e6d120fc2e374da5f36a4218a38cea857004 (diff)
downloadgdb-a1faa5ea8629adfcd60c2cc0d3b533ed3ab34ee2.zip
gdb-a1faa5ea8629adfcd60c2cc0d3b533ed3ab34ee2.tar.gz
gdb-a1faa5ea8629adfcd60c2cc0d3b533ed3ab34ee2.tar.bz2
Revert "PR28824, relro security issues, x86 keep COMMONPAGESIZE relro"
This reverts commit 31b4d3a16f200bf04db8439a63b72bba7af4e1be.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/elf-x86.em1
1 files changed, 0 insertions, 1 deletions
diff --git a/ld/emultempl/elf-x86.em b/ld/emultempl/elf-x86.em
index 134e4e1..f75521c 100644
--- a/ld/emultempl/elf-x86.em
+++ b/ld/emultempl/elf-x86.em
@@ -33,7 +33,6 @@ static struct elf_linker_x86_params params;
static void
elf_x86_create_output_section_statements (void)
{
- config.relro_use_commonpagesize = true;
_bfd_elf_linker_x86_set_options (&link_info, &params);
}