[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/28824] relro security issues
From: |
amodra at gmail dot com |
Subject: |
[Bug ld/28824] relro security issues |
Date: |
Wed, 25 Jan 2023 04:41:52 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28824
--- Comment #23 from Alan Modra <amodra at gmail dot com> ---
(In reply to Rui Ueyama from comment #21)
> How about splitting the .got section into two
The .got.plt actually (which on x86_64 GNU ld is the section having 3 reserved
entries then the R_X86_64_JUMP_SLOT entries). I'm so rusty on the x86 ABIs
that I can't give an answer on whether this proposal would break the ABI.
(In reply to Fangrui Song from comment #22)
> If GNU ld now uses max-page-size boundary for all ports but x86, I think
> https://sourceware.org/binutils/docs/ld/Builtin-Functions.html
> "DATA_SEGMENT_ALIGN(maxpagesize, commonpagesize)" needs a clarification: it
> seels that commonpagesize is ignored for most ports?
GNU ld uses maxpagesize for the end of the relro segment for all targets,
including x86. And yes, DATA_SEGMENT_ALIGN behaves differently with -z relro.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/28824] relro security issues, (continued)
- [Bug ld/28824] relro security issues, rfhn.fhbrrjnzeneqpf at noclue dot notk.org, 2023/01/20
- [Bug ld/28824] relro security issues, rui314 at gmail dot com, 2023/01/20
- [Bug ld/28824] relro security issues, hp at sourceware dot org, 2023/01/21
- [Bug ld/28824] relro security issues, hp at sourceware dot org, 2023/01/21
- [Bug ld/28824] relro security issues, rui314 at gmail dot com, 2023/01/21
- [Bug ld/28824] relro security issues, rui314 at gmail dot com, 2023/01/21
- [Bug ld/28824] relro security issues, amodra at gmail dot com, 2023/01/23
- [Bug ld/28824] relro security issues, amodra at gmail dot com, 2023/01/24
- [Bug ld/28824] relro security issues, rui314 at gmail dot com, 2023/01/24
- [Bug ld/28824] relro security issues, i at maskray dot me, 2023/01/24
- [Bug ld/28824] relro security issues,
amodra at gmail dot com <=