[lld] [LLD][ELF][AArch64] Add support for SHF_AARCH64_PURECODE ELF section flag (3/3) (PR #125689)
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 18 07:44:56 PST 2025
=?utf-8?q?Csanád_Hajdú?= <csanad.hajdu at arm.com>,
=?utf-8?q?Csanád_Hajdú?= <csanad.hajdu at arm.com>,
=?utf-8?q?Csanád_Hajdú?= <csanad.hajdu at arm.com>,
=?utf-8?q?Csanád_Hajdú?= <csanad.hajdu at arm.com>,
=?utf-8?q?Csanád_Hajdú?= <csanad.hajdu at arm.com>,
=?utf-8?q?Csanád_Hajdú?= <csanad.hajdu at arm.com>,
=?utf-8?q?Csanád_Hajdú?= <csanad.hajdu at arm.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/125689 at github.com>
================
@@ -0,0 +1,3 @@
+.section .text,"axy", at progbits,unique,0
----------------
smithp35 wrote:
I don't think you need this file. We aren't using the .text section as big is an absolute symbol.
You should be able to use the lld command line option --defsym big=0x1111222233334444
There's an example in aarch64-thunk-bti.s
As an aside, if you do need more than one file, new tests to LLD are preferring to use split-file to have all inputs in one file. Example in aarch64-thunk-bti.s
https://github.com/llvm/llvm-project/pull/125689
More information about the llvm-commits
mailing list