diff options
author | Clément Chigot <chigot@adacore.com> | 2022-11-28 09:29:37 +0100 |
---|---|---|
committer | Clément Chigot <chigot@adacore.com> | 2023-03-16 15:01:05 +0100 |
commit | b119512977bbdbdce84493dfa6321f6d1f82dbf0 (patch) | |
tree | 1dd2c5eda3a219325869bcf30c98a64ba71094b9 /ltgcc.m4 | |
parent | e263a66b01a697632a51ad5ec1e6c08071e3e5ec (diff) | |
download | gdb-b119512977bbdbdce84493dfa6321f6d1f82dbf0.zip gdb-b119512977bbdbdce84493dfa6321f6d1f82dbf0.tar.gz gdb-b119512977bbdbdce84493dfa6321f6d1f82dbf0.tar.bz2 |
ld: add support of QNX stack arguments for aarch64nto
QNX is handling the stack argument using a .note section. Generate it
according to ELF argument -zexecstack, -zstack-size and a new NTO
argument --lazy-stack. Another NTO argument --stack mimicking
-zstack-size is added in order to ensure compatibility with previously
made NTO linkers.
This requires a new emultempl nto.em which is applied above the default
${ARCH}elf.em.
ld/ChangeLog:
* emulparams/aarch64nto.sh: Move to nto.em.
* emultempl/nto.em: New file.
* testsuite/ld-aarch64/aarch64-nto.exp: New test.
* testsuite/ld-aarch64/nto-stack-note-1.d: New test.
* testsuite/ld-aarch64/nto-stack-note-2.d: New test.
* testsuite/ld-aarch64/start.s: New test.
Diffstat (limited to 'ltgcc.m4')
0 files changed, 0 insertions, 0 deletions