--- gcc/config/i386/sun386.h 2018/04/24 18:10:27 1.1 +++ gcc/config/i386/sun386.h 2018/04/24 18:30:39 1.1.1.3 @@ -15,7 +15,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ /* Include common aspects of all 386 Unix assemblers. */ @@ -40,13 +41,15 @@ the Free Software Foundation, 675 Mass A /* How to output an ASCII string constant. */ #define ASM_OUTPUT_ASCII(FILE, p, size) \ +do \ { int i = 0; \ while (i < (size)) \ - { if (i%10 == 0) { if (i!=0) fprintf ((FILE), "\n"); \ + { if (i%10 == 0) { if (i!=0) fprintf ((FILE), "\n"); \ fprintf ((FILE), "%s ", ASM_BYTE_OP); } \ - else fprintf ((FILE), ","); \ + else fprintf ((FILE), ","); \ fprintf ((FILE), "0x%x", ((p)[i++] & 0377)) ;} \ - fprintf ((FILE), "\n"); } + fprintf ((FILE), "\n"); \ +} while (0) /* Output at beginning of assembler file. */ /* The .file command should always begin the output. */ @@ -68,7 +71,9 @@ the Free Software Foundation, 675 Mass A } \ strncpy (shorter, na, 14); \ shorter[14] = 0; \ - fprintf (FILE, "\t.file\t\"%s\"\n", shorter); \ + fprintf (FILE, "\t.file\t"); \ + output_quoted_string (FILE, shorter); \ + fprintf (FILE, "\n"); \ } \ fprintf (FILE, "\t.version\t\"%s %s\"\n", \ language_string, version_string); \