aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-s390.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-s390.c')
-rw-r--r--gas/config/tc-s390.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/config/tc-s390.c b/gas/config/tc-s390.c
index b0c453a..70a1adc 100644
--- a/gas/config/tc-s390.c
+++ b/gas/config/tc-s390.c
@@ -2265,3 +2265,10 @@ tc_s390_regname_to_dw2regnum (char *regname)
regnum = 33;
return regnum;
}
+
+void
+s390_elf_final_processing (void)
+{
+ if (s390_arch_size == 32 && (current_mode_mask & (1 << S390_OPCODE_ZARCH)))
+ elf_elfheader (stdoutput)->e_flags |= EF_S390_HIGH_GPRS;
+}