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
4255aa9b
Commit
4255aa9b
authored
Oct 29, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(xcoff_declare_function): Deal with names created via the __asm__
construct that start with a leading '*'. From-SVN: r10542
parent
2d43e089
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
gcc/xcoffout.c
+13
-10
No files found.
gcc/xcoffout.c
View file @
4255aa9b
...
@@ -462,16 +462,19 @@ xcoffout_declare_function (file, decl, name)
...
@@ -462,16 +462,19 @@ xcoffout_declare_function (file, decl, name)
char
*
n
=
name
;
char
*
n
=
name
;
int
i
;
int
i
;
for
(
i
=
0
;
name
[
i
];
++
i
)
if
(
*
n
==
'*'
)
{
n
++
;
if
(
name
[
i
]
==
'['
)
else
{
for
(
i
=
0
;
name
[
i
];
++
i
)
n
=
(
char
*
)
alloca
(
i
+
1
);
{
strncpy
(
n
,
name
,
i
);
if
(
name
[
i
]
==
'['
)
n
[
i
]
=
'\0'
;
{
break
;
n
=
(
char
*
)
alloca
(
i
+
1
);
}
strncpy
(
n
,
name
,
i
);
}
n
[
i
]
=
'\0'
;
break
;
}
}
/* Any pending .bi or .ei must occur before the .function pseudo op.
/* Any pending .bi or .ei must occur before the .function pseudo op.
Otherwise debuggers will think that the function is in the previous
Otherwise debuggers will think that the function is in the previous
...
...
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