[Darwin,PPC] Fix generated code whitespace, NFC.

Message ID EC6DFA95-1122-4A24-BC8A-8630793D6837@sandoe.co.uk
State New
Headers show
Series
  • [Darwin,PPC] Fix generated code whitespace, NFC.
Related show

Commit Message

Iain Sandoe May 17, 2019, 6:55 p.m.
NFC intended, this simply adds a missing tab to the generated code
for pic symbol stubs.

tested on powerpc-darwin9, powerpc-linux-gnu (power7)
applied to mainline
Iain

gcc/

2019-05-17  Iain Sandoe  <iain@sandoe.co.uk>

        * config/rs6000/rs6000.c (macho_branch_islands): Fix bad indent
        on the generated code.

Patch

diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index ee44a20..155bc08 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -32986,7 +32986,7 @@  macho_branch_islands (void)
        }
       else
        {
-         strcat (tmp_buf, ":\nlis r12,hi16(");
+         strcat (tmp_buf, ":\n\tlis r12,hi16(");
          strcat (tmp_buf, name_buf);
          strcat (tmp_buf, ")\n\tori r12,r12,lo16(");
          strcat (tmp_buf, name_buf);