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
da7ac8f1
Commit
da7ac8f1
authored
May 25, 2002
by
Gabriel Dos Reis
Committed by
Gabriel Dos Reis
May 25, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* toplev.c (output_clean_symbol_name): Use xstrdup. Fix thinko.
From-SVN: r53869
parent
5e56e70a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/ChangeLog
+4
-0
gcc/toplev.c
+3
-3
No files found.
gcc/ChangeLog
View file @
da7ac8f1
2002-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
* toplev.c (output_clean_symbol_name): Use xstrdup. Fix thinko.
2002-05-24 Zack Weinberg <zack@codesourcery.com>
* config.gcc: Remove all stanzas for previously obsoleted
...
...
gcc/toplev.c
View file @
da7ac8f1
/* Top level of GNU C compiler
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001, 2002 Free Software Foundation, Inc.
...
...
@@ -1718,13 +1719,12 @@ output_clean_symbol_name (file, name)
const
char
*
name
;
{
/* Make a copy of NAME. */
char
*
id
=
(
char
*
)
xmalloc
(
strlen
(
name
)
+
1
);
strcpy
(
id
,
name
);
char
*
id
=
xstrdup
(
name
);
/* Make it look like a valid identifier for an assembler. */
clean_symbol_name
(
id
);
fputs
(
file
,
nam
e
);
fputs
(
name
,
fil
e
);
free
(
id
);
}
...
...
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