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
2f9e65b1
Commit
2f9e65b1
authored
Oct 05, 1999
by
Michael Meissner
Committed by
Michael Meissner
Oct 05, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not include stddef.h if building trampoline support and inhibit_libc is defined
From-SVN: r29831
parent
139fa6f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
gcc/ChangeLog
+3
-2
gcc/libgcc2.c
+3
-1
No files found.
gcc/ChangeLog
View file @
2f9e65b1
Tue
Oct
5
15
:
37
:
04
1999
Michael
Meissner
<
meissner
@cygnus
.
com
>
*
libgcc2
.
c
(
toplevel
)
:
If
inhibit_libc
is
defined
,
declare
malloc
,
free
,
and
atexit
.
Don
'
t
include
stddef
.
h
twice
.
*
libgcc2
.
c
(
toplevel
)
:
If
inhibit_libc
is
defined
and
not
building
the
trampoline
support
,
declare
malloc
,
free
,
and
atexit
.
(
__clear_cache
)
:
Mark
arguments
as
potentially
unused
.
*
frame
.
c
(
toplevel
)
:
If
inhibit_libc
is
defined
,
declare
...
...
gcc/libgcc2.c
View file @
2f9e65b1
...
...
@@ -42,6 +42,7 @@ Boston, MA 02111-1307, USA. */
#include <unistd.h>
#else
#ifndef L_trampoline
#include <stddef.h>
#ifndef malloc
extern
void
*
malloc
(
size_t
);
...
...
@@ -53,10 +54,11 @@ extern void free (void *);
extern
int
atexit
(
void
(
*
)(
void
));
#endif
#endif
#endif
#include "machmode.h"
#include "defaults.h"
#if
!defined(L_trampoline) && !defined(inhibit_libc)
#if
ndef L_trampoline
#include <stddef.h>
#endif
...
...
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