Skip to contentSkip to conversation

hppa: Switch hppa-linux to caller copies ABI

committed John David Anglin 2 participants 3 messages Jan 17, 2018 – Jan 21, 2018

lore
Share & tools
lore
#0 lore raw

The callee copies ABI used for 32-bit hppa causes no end of optimization issues and problems with OpenMP. The hppa target is only in Debian unstable and gentoo. In both cases, packages are rebuilt often. So, Helge and I decided that it was better to break the ABI and accept whatever problems that result from the switch.

Committed to trunk.

Dave

Signature · 1 line
John David Anglin  [email protected]

2018-01-16 John David Anglin <[email protected]>

* config.gcc (hppa*-*-linux*): Change callee copies ABI to caller copies.

config.gcc +1 -1
Index: config.gcc
===================================================================
@@ -1339,7 +1339,7 @@
 	gas=yes gnu_ld=yes
 	;;
 hppa*-*-linux*)
-	target_cpu_default="MASK_PA_11|MASK_NO_SPACE_REGS"
+	target_cpu_default="MASK_PA_11|MASK_NO_SPACE_REGS|MASK_CALLER_COPIES"
 	tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h pa/pa-linux.h \
 		 pa/pa32-regs.h pa/pa32-linux.h"
 	tmake_file="${tmake_file} pa/t-linux"
#1 lore raw
Quoted 9 lines · John David Anglin

The callee copies ABI used for 32-bit hppa causes no end of optimization issues and problems with
OpenMP. The hppa target is only in Debian unstable and gentoo. In both cases, packages are
rebuilt often. So, Helge and I decided that it was better to break the ABI and accept whatever
problems that result from the switch.

Committed to trunk.

That deserves a warning in gcc-8/changes.html

Richard.

Quoted 5 lines

Dave

--
John David Anglin [email protected]