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
838928c2
Commit
838928c2
authored
Sep 05, 1992
by
Torbjorn Granlund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(before functions): Remove xmalloc decl.
(arm_asm_output_label): Cast value from xmalloc. From-SVN: r2058
parent
3a7a2719
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
gcc/config/arm/arm.c
+1
-2
No files found.
gcc/config/arm/arm.c
View file @
838928c2
...
...
@@ -38,7 +38,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define MAX_INSNS_SKIPPED 5
/* Some function declarations. */
extern
void
*
xmalloc
();
extern
FILE
*
asm_out_file
;
extern
char
*
output_multi_immediate
();
extern
char
*
arm_output_asm_insn
();
...
...
@@ -1012,7 +1011,7 @@ arm_asm_output_label (stream, name)
for
(
s
=
real_name
;
*
s
;
s
++
)
hash
+=
*
s
;
hash
=
hash
%
LABEL_HASH_SIZE
;
cur
=
xmalloc
(
sizeof
(
struct
label_offset
));
cur
=
(
struct
label_offset
*
)
xmalloc
(
sizeof
(
struct
label_offset
));
cur
->
name
=
real_name
;
cur
->
offset
=
arm_text_location
;
cur
->
cdr
=
offset_table
[
hash
];
...
...
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