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
a6b65dff
Commit
a6b65dff
authored
Sep 26, 1992
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RISC-OS rev 5, DEC OSF/1 changes.
From-SVN: r2256
parent
fd3f89a9
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
37 additions
and
48 deletions
+37
-48
gcc/config.sub
+1
-1
gcc/config/i386/osfrose.h
+8
-0
gcc/config/mips/dec-osf1.h
+13
-2
gcc/config/mips/mips.c
+1
-41
gcc/config/mips/osfrose.h
+4
-3
gcc/config/mips/xm-mips.h
+1
-1
gcc/mips-tfile.c
+9
-0
No files found.
gcc/config.sub
View file @
a6b65dff
...
@@ -473,7 +473,7 @@ case $os in
...
@@ -473,7 +473,7 @@ case $os in
|
-vms
*
|
-sco
*
|
-esix
*
|
-isc
*
|
-aix
*
|
-sunos
*
|
-hpux
*
\
|
-vms
*
|
-sco
*
|
-esix
*
|
-isc
*
|
-aix
*
|
-sunos
*
|
-hpux
*
\
|
-unos
*
|
-osf
*
|
-luna
*
|
-dgux
*
|
-solari
*
|
-sym
*
\
|
-unos
*
|
-osf
*
|
-luna
*
|
-dgux
*
|
-solari
*
|
-sym
*
\
|
-amigados
*
|
-msdos
*
|
-newsos
*
|
-unicos
*
|
-aos
*
\
|
-amigados
*
|
-msdos
*
|
-newsos
*
|
-unicos
*
|
-aos
*
\
|
-nindy
*
|
-vxworks
*
|
-ebmon
*
|
-hds
*
|
-m88kbcs
*
)
|
-nindy
*
|
-vxworks
*
|
-ebmon
*
|
-hds
*
|
-m88kbcs
*
|
-riscos
*
)
;;
;;
-osfrose
*
)
-osfrose
*
)
os
=
-osfrose
os
=
-osfrose
...
...
gcc/config/i386/osfrose.h
View file @
a6b65dff
...
@@ -113,6 +113,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -113,6 +113,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#endif
#endif
#define STARTFILE_SPEC "%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}"
#define STARTFILE_SPEC "%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}"
#undef TARGET_VERSION_INTERNAL
#undef TARGET_VERSION
#define I386_VERSION " 80386, OSF/rose objects"
#define TARGET_VERSION_INTERNAL(STREAM) fputs (I386_VERSION, STREAM)
#define TARGET_VERSION TARGET_VERSION_INTERNAL (stderr)
#ifdef MACHINE_TYPE
#ifdef MACHINE_TYPE
#undef MACHINE_TYPE
#undef MACHINE_TYPE
#endif
#endif
...
...
gcc/config/mips/dec-osf1.h
View file @
a6b65dff
...
@@ -27,10 +27,21 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -27,10 +27,21 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{!mgas: \
%{!mgas: \
%{EL} %{!EL: -EL} \
%{EL} %{!EL: -EL} \
%{EB: %e-EB not supported} \
%{EB: %e-EB not supported} \
%{mips1} %{mips2} %{mips3} \
%{mips1} %{mips2} %{mips3}
%{bestGnum}
\
%{
bestGnum} %{shared} %{non_shared
}}"
%{
shared} %{non_shared} %{!shared: %!{non_shared: -non_shared}
}}"
#include "decstatn.h"
#include "decstatn.h"
/* Specify size_t, ptrdiff_t, and wchar_t types. */
#undef SIZE_TYPE
#undef PTRDIFF_TYPE
#undef WCHAR_TYPE
#undef WCHAR_TYPE_SIZE
#define SIZE_TYPE "long unsigned int"
#define PTRDIFF_TYPE "int"
#define WCHAR_TYPE "short unsigned int"
#define WCHAR_TYPE_SIZE SHORT_TYPE_SIZE
/* turn off collect2 COFF support, since ldfcn now has elf declaration */
/* turn off collect2 COFF support, since ldfcn now has elf declaration */
#undef OBJECT_FORMAT_COFF
#undef OBJECT_FORMAT_COFF
gcc/config/mips/mips.c
View file @
a6b65dff
...
@@ -2693,54 +2693,14 @@ trace (s, s1, s2)
...
@@ -2693,54 +2693,14 @@ trace (s, s1, s2)
#ifdef SIGINFO
#ifdef SIGINFO
#include <sys/wait.h>
static
void
static
void
siginfo
(
signo
)
siginfo
(
signo
)
int
signo
;
int
signo
;
{
{
char
select_pgrp
[
15
];
char
*
argv
[
4
];
pid_t
pid
;
pid_t
pgrp
;
int
status
;
fprintf
(
stderr
,
"compiling '%s' in '%s'
\n
"
,
fprintf
(
stderr
,
"compiling '%s' in '%s'
\n
"
,
(
current_function_name
!=
(
char
*
)
0
)
?
current_function_name
:
"<toplevel>"
,
(
current_function_name
!=
(
char
*
)
0
)
?
current_function_name
:
"<toplevel>"
,
(
current_function_file
!=
(
char
*
)
0
)
?
current_function_file
:
"<no file>"
);
(
current_function_file
!=
(
char
*
)
0
)
?
current_function_file
:
"<no file>"
);
fflush
(
stderr
);
pgrp
=
getpgrp
();
if
(
pgrp
!=
-
1
)
sprintf
(
select_pgrp
,
"-g%d"
,
pgrp
);
else
strcpy
(
select_pgrp
,
"-a"
);
/* Spawn a ps to tell about current memory usage, etc. */
argv
[
0
]
=
"ps"
;
argv
[
1
]
=
"-ouser,pid,pri,nice,usertime,systime,pcpu,cp,inblock,oublock,vsize,rss,pmem,ucomm"
;
argv
[
2
]
=
select_pgrp
;
argv
[
3
]
=
(
char
*
)
0
;
pid
=
vfork
();
if
(
pid
==
0
)
/* child context */
{
execv
(
"/usr/bin/ps"
,
argv
);
execv
(
"/usr/sbin/ps"
,
argv
);
execvp
(
"ps"
,
argv
);
perror
(
"ps"
);
_exit
(
1
);
}
else
if
(
pid
>
0
)
/* parent context */
{
void
(
*
sigint
)(
int
)
=
signal
(
SIGINT
,
SIG_IGN
);
void
(
*
sigquit
)(
int
)
=
signal
(
SIGQUIT
,
SIG_IGN
);
(
void
)
waitpid
(
pid
,
&
status
,
0
);
(
void
)
signal
(
SIGINT
,
sigint
);
(
void
)
signal
(
SIGQUIT
,
sigquit
);
}
}
}
#endif
/* SIGINFO */
#endif
/* SIGINFO */
...
...
gcc/config/mips/osfrose.h
View file @
a6b65dff
/* Definitions of target machine for GNU compiler. DECstation (OSF/1 with OSF/rose) version.
/* Definitions of target machine for GNU compiler.
Copyright (C) 1991 Free Software Foundation, Inc.
DECstation (OSF/1 reference port with OSF/rose) version.
Copyright (C) 1991, 1992 Free Software Foundation, Inc.
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -73,7 +74,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -73,7 +74,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define STARTFILE_SPEC "%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}"
#define STARTFILE_SPEC "%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}"
#define MACHINE_TYPE "DECstation
running OSF/1
with OSF/rose objects"
#define MACHINE_TYPE "DECstation with OSF/rose objects"
#ifndef MD_EXEC_PREFIX
#ifndef MD_EXEC_PREFIX
#define MD_EXEC_PREFIX "/usr/ccs/gcc/"
#define MD_EXEC_PREFIX "/usr/ccs/gcc/"
...
...
gcc/config/mips/xm-mips.h
View file @
a6b65dff
...
@@ -74,7 +74,7 @@ extern char * alloca ();
...
@@ -74,7 +74,7 @@ extern char * alloca ();
#endif
/* not MIPS_OVERRIDE_ALLOCA */
#endif
/* not MIPS_OVERRIDE_ALLOCA */
/* Say if we have vprintf. BSD Mips targets probably don't have vfprintf. */
/* Say if we have vprintf. BSD Mips targets probably don't have vfprintf. */
#if defined(__OSF1__) ||
defined(__OSF
__)
#if defined(__OSF1__) ||
defined(__OSF__) || defined(__osf
__)
#define HAVE_VFPRINTF
#define HAVE_VFPRINTF
#define HAVE_PUTENV
#define HAVE_PUTENV
...
...
gcc/mips-tfile.c
View file @
a6b65dff
...
@@ -637,7 +637,11 @@ typedef char *CPTR_T;
...
@@ -637,7 +637,11 @@ typedef char *CPTR_T;
the fact that including stddef.h gets you GCC's version
the fact that including stddef.h gets you GCC's version
instead of the standard one it's not worth it to fix it. */
instead of the standard one it's not worth it to fix it. */
#if defined(__OSF1__) || defined(__OSF__) || defined(__osf__)
#define Size_t long unsigned int
#else
#define Size_t unsigned int
#define Size_t unsigned int
#endif
#define Ptrdiff_t int
#define Ptrdiff_t int
/* The following might be called from obstack or malloc,
/* The following might be called from obstack or malloc,
...
@@ -655,8 +659,13 @@ extern void xfree __proto((PTR_T));
...
@@ -655,8 +659,13 @@ extern void xfree __proto((PTR_T));
extern
void
fatal
();
/* can't use prototypes here */
extern
void
fatal
();
/* can't use prototypes here */
extern
void
error
();
extern
void
error
();
#if !defined(__OSF1__) && !defined(__OSF__) && !defined(__osf__)
extern
char
*
index
();
extern
char
*
index
();
extern
char
*
rindex
();
extern
char
*
rindex
();
#else
#undef rindex
#undef index
#endif
#ifndef MIPS_DEBUGGING_INFO
#ifndef MIPS_DEBUGGING_INFO
...
...
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