summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>2002-03-06 04:59:28 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2002-03-06 04:59:28 +0000
commit50b424a908827a6b049c96a8455109514ab444d1 (patch)
treed7a77498a2c0803cabf53d603b7c6f8d15f35ff6 /gcc/config
parent6185f2170404497c1d869a7278c39c999b618d5c (diff)
downloadgcc-50b424a908827a6b049c96a8455109514ab444d1.tar.gz
pa.h (ASM_FILE_END): Define.
* pa.h (ASM_FILE_END): Define. * som.h (ASM_FILE_END): Delete. * pa.c (function_arg): Don't pass floats in general registers in indirect calls if TARGET_ELF32. From-SVN: r50341
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/pa/pa.c1
-rw-r--r--gcc/config/pa/pa.h4
-rw-r--r--gcc/config/pa/som.h2
3 files changed, 5 insertions, 2 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index 2061145f51b..16f6533e540 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -7341,6 +7341,7 @@ function_arg (cum, mode, type, named, incoming)
to be passed in general registers. */
|| (!TARGET_PORTABLE_RUNTIME
&& !TARGET_64BIT
+ && !TARGET_ELF32
&& cum->indirect)
/* If the parameter is not a floating point parameter, then
it belongs in GPRs. */
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index 41250568a46..b25b33fbf30 100644
--- a/gcc/config/pa/pa.h
+++ b/gcc/config/pa/pa.h
@@ -1696,6 +1696,10 @@ while (0)
#define ASM_APP_OFF ""
+/* Output deferred plabels at the end of the file. */
+
+#define ASM_FILE_END(FILE) output_deferred_plabels (FILE)
+
/* This is how to output the definition of a user-level label named NAME,
such as the label on a static function or variable NAME. */
diff --git a/gcc/config/pa/som.h b/gcc/config/pa/som.h
index 5604f54a435..22c46538f66 100644
--- a/gcc/config/pa/som.h
+++ b/gcc/config/pa/som.h
@@ -349,8 +349,6 @@ readonly_data () \
} \
} while (0)
-#define ASM_FILE_END(FILE) output_deferred_plabels (FILE)
-
/* We want __gcc_plt_call to appear in every program built by
gcc, so we make a reference to it out of __main.
We use the asm statement to fool the optimizer into not