aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorMatthieu Longo <matthieu.longo@arm.com>2024-11-28 11:13:23 +0000
committerMatthieu Longo <matthieu.longo@arm.com>2024-12-02 15:18:40 +0000
commitcaded0cf73cb914e5d2d61f4696af154c2ba4360 (patch)
treec6892ad69e4b1147b1a6b991b5bb06dbc15b0589 /ld
parent23189e9db77b280f88bb55ca8748e7edb72c61b1 (diff)
downloadgdb-caded0cf73cb914e5d2d61f4696af154c2ba4360.zip
gdb-caded0cf73cb914e5d2d61f4696af154c2ba4360.tar.gz
gdb-caded0cf73cb914e5d2d61f4696af154c2ba4360.tar.bz2
aarch64: use only one type for feature marking report
Diffstat (limited to 'ld')
-rw-r--r--ld/emultempl/aarch64elf.em8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/emultempl/aarch64elf.em b/ld/emultempl/aarch64elf.em
index 33b239b..726f356 100644
--- a/ld/emultempl/aarch64elf.em
+++ b/ld/emultempl/aarch64elf.em
@@ -36,7 +36,7 @@ static erratum_84319_opts fix_erratum_843419 = ERRAT_NONE;
static int no_apply_dynamic_relocs = 0;
static aarch64_protection_opts sw_protections = {
.plt_type = PLT_NORMAL,
- .bti_report = BTI_WARN,
+ .bti_report = MARKING_WARN,
};
#define COMPILE_TIME_STRLEN(s) \
@@ -362,11 +362,11 @@ aarch64_parse_bti_report_option (const char *optarg)
if (strlen (optarg) == BTI_REPORT_LEN
|| strcmp (optarg + BTI_REPORT_LEN, "=warning") == 0)
- sw_protections.bti_report = BTI_WARN;
+ sw_protections.bti_report = MARKING_WARN;
else if (strcmp (optarg + BTI_REPORT_LEN, "=none") == 0)
- sw_protections.bti_report = BTI_NONE;
+ sw_protections.bti_report = MARKING_NONE;
else if (strcmp (optarg + BTI_REPORT_LEN, "=error") == 0)
- sw_protections.bti_report = BTI_ERROR;
+ sw_protections.bti_report = MARKING_ERROR;
else
einfo (_("%X%P: error: unrecognized value '-z %s'\n"), optarg);