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
7b1e8272
Commit
7b1e8272
authored
Sep 28, 1993
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(ASM_FILE_START): Quote special characters in file names.
From-SVN: r5497
parent
73e2c650
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
18 deletions
+23
-18
gcc/config/a29k/a29k.h
+3
-1
gcc/config/a29k/unix.h
+3
-1
gcc/config/alpha/alpha.h
+3
-1
gcc/config/i386/aix386ng.h
+3
-1
gcc/config/i386/bsd.h
+4
-1
gcc/config/i386/gas.h
+4
-12
gcc/config/i386/sun386.h
+3
-1
No files found.
gcc/config/a29k/a29k.h
View file @
7b1e8272
...
@@ -1311,7 +1311,9 @@ extern char *a29k_function_name;
...
@@ -1311,7 +1311,9 @@ extern char *a29k_function_name;
for (p = main_input_filename; *p; p++) \
for (p = main_input_filename; *p; p++) \
if (*p == '/') \
if (*p == '/') \
after_dir = p + 1; \
after_dir = p + 1; \
fprintf (FILE, "\t.file \"%s\"\n", after_dir); \
fprintf (FILE, "\t.file "); \
output_quoted_string (FILE, after_dir); \
fprintf (FILE, "\n"); \
fprintf (FILE, "\t.sect .lit,lit\n"); }
fprintf (FILE, "\t.sect .lit,lit\n"); }
/* Output to assembler file text saying following lines
/* Output to assembler file text saying following lines
...
...
gcc/config/a29k/unix.h
View file @
7b1e8272
...
@@ -61,7 +61,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -61,7 +61,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
for (p = main_input_filename; *p; p++) \
for (p = main_input_filename; *p; p++) \
if (*p == '/') \
if (*p == '/') \
after_dir = p + 1; \
after_dir = p + 1; \
fprintf (FILE, "\t.file \"%s\"\n", after_dir); \
fprintf (FILE, "\t.file "); \
output_quoted_string (FILE, after_dir); \
fprintf (FILE, "\n"); \
if (flag_shared_data) \
if (flag_shared_data) \
fprintf (FILE, "\t.sect .shdata,data\n"); \
fprintf (FILE, "\t.sect .shdata,data\n"); \
fprintf (FILE, "\t.sect .lit,lit\n"); }
fprintf (FILE, "\t.sect .lit,lit\n"); }
...
...
gcc/config/alpha/alpha.h
View file @
7b1e8272
...
@@ -1354,7 +1354,9 @@ extern char *current_function_name;
...
@@ -1354,7 +1354,9 @@ extern char *current_function_name;
for (p = main_input_filename; *p; p++) \
for (p = main_input_filename; *p; p++) \
if (*p == '/') \
if (*p == '/') \
after_dir = p + 1; \
after_dir = p + 1; \
fprintf (FILE, "\n\t.file 2 \"%s\"\n", after_dir); \
fprintf (FILE, "\n\t.file 2 "); \
output_quoted_string (FILE, after_dir); \
fprintf (FILE, "\n"); \
}
}
/* Output to assembler file text saying following lines
/* Output to assembler file text saying following lines
...
...
gcc/config/i386/aix386ng.h
View file @
7b1e8272
...
@@ -57,7 +57,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -57,7 +57,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef ASM_FILE_START
#undef ASM_FILE_START
#define ASM_FILE_START(FILE) \
#define ASM_FILE_START(FILE) \
do { fprintf (FILE, "\t.file\t\"%s\"\n", dump_base_name); \
do { fprintf (FILE, "\t.file\t"); \
output_quoted_string (FILE, dump_base_name); \
fprintf (FILE, "\n"); \
if (optimize) \
if (optimize) \
ASM_FILE_START_1 (FILE); \
ASM_FILE_START_1 (FILE); \
else \
else \
...
...
gcc/config/i386/bsd.h
View file @
7b1e8272
...
@@ -48,7 +48,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -48,7 +48,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
??? I am skeptical of this -- RMS. */
??? I am skeptical of this -- RMS. */
#define ASM_FILE_START(FILE) \
#define ASM_FILE_START(FILE) \
fprintf (FILE, "\t.file\t\"%s\"\n", dump_base_name);
do { fprintf (FILE, "\t.file\t"); \
output_quoted_string (FILE, dump_base_name); \
fprintf (FILE, "\n"); \
} while (0)
/* This was suggested, but it shouldn't be right for DBX output. -- RMS
/* This was suggested, but it shouldn't be right for DBX output. -- RMS
#define ASM_OUTPUT_SOURCE_FILENAME(FILE, NAME) */
#define ASM_OUTPUT_SOURCE_FILENAME(FILE, NAME) */
...
...
gcc/config/i386/gas.h
View file @
7b1e8272
...
@@ -93,19 +93,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -93,19 +93,11 @@ 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) \
{ char *p; \
do { fprintf (FILE, "\t.file\t"); \
fprintf (FILE, "\t.file\t\""); \
output_quoted_string (FILE, dump_base_name); \
for (p = dump_base_name; *p != '\0'; p++) \
fprintf (FILE, "\n"); \
if (*p == '\\') fprintf (FILE, "\\\\"); \
} while (0)
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
...
...
gcc/config/i386/sun386.h
View file @
7b1e8272
...
@@ -70,7 +70,9 @@ do \
...
@@ -70,7 +70,9 @@ do \
} \
} \
strncpy (shorter, na, 14); \
strncpy (shorter, na, 14); \
shorter[14] = 0; \
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", \
fprintf (FILE, "\t.version\t\"%s %s\"\n", \
language_string, version_string); \
language_string, version_string); \
...
...
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