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
4586c557
Commit
4586c557
authored
Dec 15, 2004
by
David Edelsohn
Committed by
David Edelsohn
Dec 15, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* xcoffout.c (xcoffout_declare_function): Change strncpy to memcpy.
From-SVN: r92202
parent
a0f7568c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/xcoffout.c
+1
-1
No files found.
gcc/ChangeLog
View file @
4586c557
2004
-
12
-
15
David
Edelsohn
<
edelsohn
@
gnu
.
org
>
*
xcoffout
.
c
(
xcoffout_declare_function
):
Change
strncpy
to
memcpy
.
2004
-
12
-
15
Ian
Lance
Taylor
<
ian
@
wasabisystems
.
com
>
*
config
/
arm
/
arm
.
c
(
arm_xscale_rtx_costs
):
Increase
cost
of
...
...
gcc/xcoffout.c
View file @
4586c557
...
...
@@ -413,7 +413,7 @@ xcoffout_declare_function (FILE *file, tree decl, const char *name)
if
(
name
[
len
-
1
]
==
']'
)
{
char
*
n
=
alloca
(
len
-
3
);
strn
cpy
(
n
,
name
,
len
-
4
);
mem
cpy
(
n
,
name
,
len
-
4
);
n
[
len
-
4
]
=
'\0'
;
name
=
n
;
}
...
...
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