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
99d525c9
Commit
99d525c9
authored
25 years ago
by
Philippe De Muyter
Committed by
Bruce Korb
25 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch from Philippe De Muyter <phdm@macqel.be>
From-SVN: r30322
parent
9074519d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
13 deletions
+21
-13
gcc/ChangeLog
+9
-0
gcc/fixinc/fixfixes.c
+3
-3
gcc/fixinc/fixincl.c
+6
-7
gcc/fixinc/fixtests.c
+3
-3
No files found.
gcc/ChangeLog
View file @
99d525c9
...
...
@@ -8,6 +8,15 @@ Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
*
regclass
.
c
(
record_reg_classes
)
:
In
matching
case
,
recompute
costs
since
the
direction
of
movement
is
different
.
Sun
Oct
31
15
:
48
:
49
1999
Philippe
De
Muyter
<
phdm
@macqel
.
be
>
*
fixinc
/
fixtests
.
c
,
fixinc
/
fixfixes
.
c
:
Keep
`#'
in
first
column
for
old
cpp
'
s
.
*
fixinc
/
fixincl
.
c
(
fcntl
.
h
)
:
Do
not
include
this
file
twice
.
(
sys
/
mman
.
h
)
:
Include
this
file
only
if
#
HAVE_MMAP
.
(
run_compiles
)
:
Initialize
`
esac_fmt
'
with
one
old
KR
string
,
not
with
automatically
concatenated
ANSI
strings
.
Sun
Oct
31
23
:
57
:
07
1999
Mark
Mitchell
<
mark
@codesourcery
.
com
>
*
ggc
-
page
.
c
(
struct
page_entry
)
:
Remove
save_num_free_objects
.
...
...
This diff is collapsed.
Click to expand it.
gcc/fixinc/fixfixes.c
View file @
99d525c9
...
...
@@ -371,10 +371,10 @@ apply_fix( fixname, filname )
const
char
*
fixname
;
const
char
*
filname
;
{
#define _FT_(n,p) { n, p },
#define _FT_(n,p) { n, p },
static
fix_entry_t
fix_table
[]
=
{
FIXUP_TABLE
{
NULL
,
NULL
}};
#undef _FT_
#define FIX_TABLE_CT ((sizeof(fix_table)/sizeof(fix_table[0]))-1)
#undef _FT_
#define FIX_TABLE_CT ((sizeof(fix_table)/sizeof(fix_table[0]))-1)
char
*
buf
;
int
ct
=
FIX_TABLE_CT
;
...
...
This diff is collapsed.
Click to expand it.
gcc/fixinc/fixincl.c
View file @
99d525c9
...
...
@@ -24,9 +24,10 @@ Boston, MA 02111-1307, USA. */
#include "fixlib.h"
#include <fcntl.h>
#include <sys/mman.h>
#define BAD_ADDR ((void*)-1)
#if HAVE_MMAP
#include <sys/mman.h>
#define BAD_ADDR ((void*)-1)
#endif
#include <signal.h>
...
...
@@ -528,10 +529,8 @@ run_compiles ()
&&
(
p_fixd
->
papz_machs
!=
(
const
char
**
)
NULL
)
)
{
tSCC
case_fmt
[]
=
"case %s in
\n
"
;
/* 9 bytes, plus string */
tSCC
esac_fmt
[]
=
" )
\n
"
/* 3 bytes */
" echo %s ;;
\n
"
/* 13 bytes */
"* ) echo %s ;;
\n
"
/* 13 bytes */
"esac"
;
/* 4 bytes */
tSCC
esac_fmt
[]
=
" )
\n
echo %s ;;
\n
* ) echo %s ;;
\n
esac"
;
/* 4 bytes */
tSCC
skip
[]
=
"skip"
;
/* 4 bytes */
tSCC
run
[]
=
"run"
;
/* 3 bytes */
/* total bytes to add to machine sum: 49 - see fixincl.tpl */
...
...
This diff is collapsed.
Click to expand it.
gcc/fixinc/fixtests.c
View file @
99d525c9
...
...
@@ -295,10 +295,10 @@ run_test( tname, fname, text )
const
char
*
fname
;
const
char
*
text
;
{
#define _FT_(n,p) { n, p },
#define _FT_(n,p) { n, p },
static
test_entry_t
test_table
[]
=
{
FIX_TEST_TABLE
{
NULL
,
NULL
}};
#undef _FT_
#define TEST_TABLE_CT ((sizeof(test_table)/sizeof(test_table[0]))-1)
#undef _FT_
#define TEST_TABLE_CT ((sizeof(test_table)/sizeof(test_table[0]))-1)
int
ct
=
TEST_TABLE_CT
;
test_entry_t
*
pte
=
test_table
;
...
...
This diff is collapsed.
Click to expand it.
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