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
d07e072c
Commit
d07e072c
authored
Oct 29, 1992
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow for cross compilation.
From-SVN: r2649
parent
8cac6b1a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
gcc/mips-tdump.c
+10
-1
gcc/mips-tfile.c
+10
-1
No files found.
gcc/mips-tdump.c
View file @
d07e072c
...
@@ -24,9 +24,18 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -24,9 +24,18 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/file.h>
#include <sys/file.h>
#include <fcntl.h>
#include <fcntl.h>
#include <errno.h>
#include <errno.h>
#include <a.out.h>
#include "config.h"
#include "config.h"
#ifndef CROSS_COMPILE
#include <a.out.h>
#else
#include "symconst.h"
#define LANGUAGE_C
#include "sym.h"
#include "filehdr.h"
#define ST_RFDESCAPE 0xfff
#endif
#ifdef __STDC__
#ifdef __STDC__
typedef
void
*
PTR_T
;
typedef
void
*
PTR_T
;
typedef
const
void
*
CPTR_T
;
typedef
const
void
*
CPTR_T
;
...
...
gcc/mips-tfile.c
View file @
d07e072c
...
@@ -685,7 +685,6 @@ main ()
...
@@ -685,7 +685,6 @@ main ()
#undef index
#undef index
#include <sys/types.h>
#include <sys/types.h>
#include <a.out.h>
#include <string.h>
#include <string.h>
#include <ctype.h>
#include <ctype.h>
#include <fcntl.h>
#include <fcntl.h>
...
@@ -693,6 +692,16 @@ main ()
...
@@ -693,6 +692,16 @@ main ()
#include <signal.h>
#include <signal.h>
#include <sys/stat.h>
#include <sys/stat.h>
#ifndef CROSS_COMPILE
#include <a.out.h>
#else
#include "symconst.h"
#define LANGUAGE_C
#include "sym.h"
#include "filehdr.h"
#define ST_RFDESCAPE 0xfff
#endif
#if defined (USG) || defined (NO_STAB_H)
#if defined (USG) || defined (NO_STAB_H)
#include "gstab.h"
/* If doing DBX on sysV, use our own stab.h. */
#include "gstab.h"
/* If doing DBX on sysV, use our own stab.h. */
#else
#else
...
...
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