Commit aba0d181 by Nathan Rossi Committed by Jeff Law

re PR target/83013 (MicroBlaze - #ident - Error: operation combines symbols in different segments)

        PR target/83013
        * config/microblaze/microblaze.c (microblaze_asm_output_ident):
        Use .pushsection/.popsection.

From-SVN: r256681
parent 42d3f20a
2018-01-14 Nathan Rossi <nathan@nathanrossi.com>
PR target/83013
* config/microblaze/microblaze.c (microblaze_asm_output_ident):
Use .pushsection/.popsection.
2018-01-14 Martin Sebor <msebor@redhat.com> 2018-01-14 Martin Sebor <msebor@redhat.com>
PR c++/81327 PR c++/81327
......
...@@ -3394,7 +3394,9 @@ microblaze_asm_output_ident (const char *string) ...@@ -3394,7 +3394,9 @@ microblaze_asm_output_ident (const char *string)
else else
section_asm_op = READONLY_DATA_SECTION_ASM_OP; section_asm_op = READONLY_DATA_SECTION_ASM_OP;
buf = ACONCAT ((section_asm_op, "\n\t.ascii \"", string, "\\0\"\n", NULL)); buf = ACONCAT (("\t.pushsection", section_asm_op,
"\n\t.ascii \"", string, "\\0\"\n",
"\t.popsection\n", NULL));
symtab->finalize_toplevel_asm (build_string (strlen (buf), buf)); symtab->finalize_toplevel_asm (build_string (strlen (buf), buf));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment