diff options
Diffstat (limited to 'ld/emultempl/elf.em')
-rw-r--r-- | ld/emultempl/elf.em | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/emultempl/elf.em b/ld/emultempl/elf.em index 4fd6fdf..c4979eb 100644 --- a/ld/emultempl/elf.em +++ b/ld/emultempl/elf.em @@ -803,11 +803,11 @@ fragment <<EOF else if (strcmp (optarg, "nocommon") == 0) link_info.elf_stt_common = no_elf_stt_common; else if (strcmp (optarg, "text") == 0) - link_info.error_textrel = TRUE; + link_info.textrel_check = textrel_check_error; else if (strcmp (optarg, "notext") == 0) - link_info.error_textrel = FALSE; + link_info.textrel_check = textrel_check_none; else if (strcmp (optarg, "textoff") == 0) - link_info.error_textrel = FALSE; + link_info.textrel_check = textrel_check_none; EOF fi |