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
2c2c2fb1
Commit
2c2c2fb1
authored
Oct 08, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't define memory functions on Alpha.
(Ptrdiff_t): Always `long'. (WORD_ALIGN): Make portable. From-SVN: r5676
parent
4e0db2ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
gcc/mips-tfile.c
+5
-3
No files found.
gcc/mips-tfile.c
View file @
2c2c2fb1
...
...
@@ -3,7 +3,7 @@
in the form of comments (the mips assembler does not support
assembly access to debug information).
Contributed by: Michael Meissner, meissner@osf.org
Copyright (C) 1991 Free Software Foundation, Inc.
Copyright (C) 1991
, 1993
Free Software Foundation, Inc.
This file is part of GNU CC.
...
...
@@ -642,7 +642,7 @@ typedef char *CPTR_T;
#else
#define Size_t unsigned int
#endif
#define Ptrdiff_t
int
#define Ptrdiff_t
long
/* The following might be called from obstack or malloc,
so they can't be static. */
...
...
@@ -937,7 +937,7 @@ enum alloc_type {
};
#define WORD_ALIGN(x) (((x) +
3) & ~3
)
#define WORD_ALIGN(x) (((x) +
(sizeof (long) - 1)) & ~ (sizeof (long -1)))
)
#define DWORD_ALIGN(x) (((x) + 7) & ~7)
...
...
@@ -1734,11 +1734,13 @@ STATIC void free_thead __proto((thead_t *));
STATIC
char
*
local_index
__proto
((
const
char
*
,
int
));
STATIC
char
*
local_rindex
__proto
((
const
char
*
,
int
));
#ifndef __alpha
extern
char
*
sbrk
__proto
((
int
));
extern
PTR_T
malloc
__proto
((
Size_t
));
extern
PTR_T
calloc
__proto
((
Size_t
,
Size_t
));
extern
PTR_T
realloc
__proto
((
PTR_T
,
Size_t
));
extern
void
free
__proto
((
PTR_T
));
#endif
extern
char
*
mktemp
__proto
((
char
*
));
extern
long
strtol
__proto
((
const
char
*
,
char
**
,
int
));
...
...
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