pa.h (ASM_FILE_END): Define.
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Wed, 6 Mar 2002 04:59:28 +0000 (04:59 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Wed, 6 Mar 2002 04:59:28 +0000 (04:59 +0000)
* 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

gcc/ChangeLog
gcc/config/pa/pa.c
gcc/config/pa/pa.h
gcc/config/pa/som.h

index 395d6fb4fbbcaeeb54bc370525a1d63d30592bfd..0c0cf32260b0a71ef45089030451ae08ad2f9f88 100644 (file)
@@ -1,3 +1,11 @@
+2002-03-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * 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.
+
 2002-03-05  Richard Henderson  <rth@redhat.com>
 
        * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
index 2061145f51ba1d2ebc249b7541157c9e38639e86..16f6533e540124d8f54edafe5a8533cdd5df4360 100644 (file)
@@ -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.  */
index 41250568a46ef8f0b68c3ac982beefadf25fe3f2..b25b33fbf301521eddb234c6c862323047c21285 100644 (file)
@@ -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.  */
 
index 5604f54a4354b6fd4a242c954f5e92d23ead1ffc..22c46538f66da7a7fa61e41d1d2e12352e1bfce8 100644 (file)
@@ -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