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
88bdba96
Commit
88bdba96
authored
Mar 21, 1994
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(source_label_number): New variable.
(dbxout_source_file): Use it. Output an Ltext label. From-SVN: r6841
parent
a1a77352
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
+9
-1
gcc/dbxout.c
+9
-1
No files found.
gcc/dbxout.c
View file @
88bdba96
...
...
@@ -132,6 +132,11 @@ static int flag_minimal_debug = 1;
static
int
have_used_extensions
=
0
;
/* Number for the next N_SOL filename stabs label. The number 0 is reserved
for the N_SO filename stabs label. */
static
int
source_label_number
=
1
;
char
*
getpwd
();
/* Typical USG systems don't have stab.h, and they also have
...
...
@@ -508,10 +513,13 @@ dbxout_source_file (file, filename)
#ifdef DBX_OUTPUT_SOURCE_FILENAME
DBX_OUTPUT_SOURCE_FILENAME
(
file
,
filename
);
#else
ASM_GENERATE_INTERNAL_LABEL
(
ltext_label_name
,
"Ltext"
,
0
);
ASM_GENERATE_INTERNAL_LABEL
(
ltext_label_name
,
"Ltext"
,
source_label_number
);
fprintf
(
file
,
"%s "
,
ASM_STABS_OP
);
output_quoted_string
(
file
,
filename
);
fprintf
(
file
,
",%d,0,0,%s
\n
"
,
N_SOL
,
&
ltext_label_name
[
1
]);
text_section
();
ASM_OUTPUT_INTERNAL_LABEL
(
asmfile
,
"Ltext"
,
source_label_number
++
);
#endif
lastfile
=
filename
;
}
...
...
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