Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
065e678f
Commit
065e678f
authored
Aug 04, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(ASM_FILE_START): Write out two backslashes for each backslash in the
filename. From-SVN: r5068
parent
742f7041
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
gcc/config/i386/gas.h
+13
-2
No files found.
gcc/config/i386/gas.h
View file @
065e678f
/* Definitions for Intel 386 running system V with gnu tools
/* Definitions for Intel 386 running system V with gnu tools
Copyright (C) 1988 Free Software Foundation, Inc.
Copyright (C) 1988
, 1993
Free Software Foundation, Inc.
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -93,8 +93,19 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -93,8 +93,19 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
fprintf ((FILE), "\t.align 2,0x90\n");
/* Use log of 4 as arg. */
fprintf ((FILE), "\t.align 2,0x90\n");
/* Use log of 4 as arg. */
#undef ASM_FILE_START
#undef ASM_FILE_START
/* ASM_FILE_START(FILE) used to be defined as:
fprintf (FILE, "\t.file\t\"%s\"\n", dump_base_name);
However, the string dump_base_name may contain backslashes. (This may often
be the case when gcc is run under operating systems such as DOS and OS/2.)
Each backslash in dump_base_name must be converted to two consecutive
backslashes on output. */
#define ASM_FILE_START(FILE) \
#define ASM_FILE_START(FILE) \
fprintf (FILE, "\t.file\t\"%s\"\n", dump_base_name);
{ char *p; \
fprintf (FILE, "\t.file\t\""); \
for (p = dump_base_name; *p != '\0'; p++) \
if (*p == '\\') fprintf (FILE, "\\\\"); \
else fprintf (FILE, "%c", *p); \
fprintf (FILE, "\"\n"); }
/* A C statement or statements which output an assembler instruction
/* A C statement or statements which output an assembler instruction
opcode to the stdio stream STREAM. The macro-operand PTR is a
opcode to the stdio stream STREAM. The macro-operand PTR is a
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment