[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/30592] New: objcopy --set-section-flags: support "large" f
From: |
i at maskray dot me |
Subject: |
[Bug binutils/30592] New: objcopy --set-section-flags: support "large" for SHF_X86_64_LARGE |
Date: |
Wed, 28 Jun 2023 01:04:38 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30592
Bug ID: 30592
Summary: objcopy --set-section-flags: support "large" for
SHF_X86_64_LARGE
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
Linkers may place SHF_X86_64_LARGE sections away from regular sections to
alleviate relocation overflow pressure [1]. It would be nice to have the
ability to add the SHF_X86_64_LARGE flag to sections in relocatable object
files, especially for prebuilt object files that the user cannot control.
I suggest that we allow objcopy --set-section-flags .data=alloc,large
to set SHF_X86_64_LARGE.
[1]: https://maskray.me/blog/2023-05-14-relocation-overflow-and-code-models
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/30592] New: objcopy --set-section-flags: support "large" for SHF_X86_64_LARGE,
i at maskray dot me <=