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
67e23d2f
Commit
67e23d2f
authored
Jul 12, 1994
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(end_final): Store full path name in .d file not just the filename.
From-SVN: r7745
parent
78221d63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
gcc/final.c
+7
-3
No files found.
gcc/final.c
View file @
67e23d2f
...
...
@@ -378,9 +378,13 @@ end_final (filename)
compatibility. */
ASM_OUTPUT_INTERNAL_LABEL
(
asm_out_file
,
"LPBX"
,
1
);
{
int
len
=
strlen
(
filename
);
char
*
data_file
=
(
char
*
)
alloca
(
len
+
3
);
strcpy
(
data_file
,
filename
);
char
*
cwd
=
getpwd
();
int
len
=
strlen
(
filename
)
+
strlen
(
cwd
)
+
1
;
char
*
data_file
=
(
char
*
)
alloca
(
len
+
4
);
strcpy
(
data_file
,
cwd
);
strcat
(
data_file
,
"/"
);
strcat
(
data_file
,
filename
);
strip_off_ending
(
data_file
,
len
);
strcat
(
data_file
,
".d"
);
assemble_string
(
data_file
,
strlen
(
data_file
)
+
1
);
...
...
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