]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Darwin, ppc, backport build fix.
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 2 Aug 2019 14:19:42 +0000 (14:19 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Fri, 2 Aug 2019 14:19:42 +0000 (14:19 +0000)
libgcc/

2019-08-02  Iain Sandoe  <iain@sandoe.co.uk>

Backport from mainline.
2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>

* config/rs6000/darwin-vecsave.S: Set .machine appropriately.

From-SVN: r274013

libgcc/ChangeLog
libgcc/config/rs6000/darwin-vecsave.S

index e982885697250f8594a83291caffb94b1cf2f6fa..d39fec4dffd84ce40d8423ede29bf9897fa29c18 100644 (file)
@@ -1,3 +1,10 @@
+2019-08-02  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backport from mainline.
+       2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
+
 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
 
        * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
index 7a4f509b3725462ffdd4bd397ba61a3a2815a9de..df10b6f6ce4d53f081634bef74af4367728ddd21 100644 (file)
    (4 bytes) to do the operation; for Vector regs, 2 instructions are
    required (8 bytes.).   */
 
+/* With some assemblers, we need the correct machine directive to get the
+   right CPU type / subtype in the file header.  */
+#if    __ppc64__
+       .machine ppc64
+#else
        .machine ppc7400
-.text
+#endif
+       .text
        .align 2
 
 .private_extern saveVEC