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
3c35520e
Commit
3c35520e
authored
Jan 16, 1996
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use dbxcoff.h
From-SVN: r11029
parent
1c940b47
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
51 deletions
+7
-51
gcc/config/m88k/m88k-coff.h
+2
-6
gcc/config/sh/sh.h
+1
-5
gcc/config/sparc/litecoff.h
+4
-40
No files found.
gcc/config/m88k/m88k-coff.h
View file @
3c35520e
/* Definitions for "naked" Motorola 88k using coff object format files
/* Definitions for "naked" Motorola 88k using coff object format files
and coff debugging info.
and coff debugging info.
Copyright (C) 1994 Free Software Foundation, Inc.
Copyright (C) 1994
, 1996
Free Software Foundation, Inc.
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -25,14 +25,10 @@ Boston, MA 02111-1307, USA. */
...
@@ -25,14 +25,10 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dm88000 -Dm88k -Acpu(m88k) -Amachine(m88k)"
#define CPP_PREDEFINES "-Dm88000 -Dm88k -Acpu(m88k) -Amachine(m88k)"
#undef DBX_DEBUGGING_INFO
#define SDB_DEBUGGING_INFO
#define SDB_DEBUGGING_INFO
/* Output DBX (stabs) debugging information if using -gstabs. */
/* Output DBX (stabs) debugging information if using -gstabs. */
#define DBX_DEBUGGING_INFO
#include "dbxcoff.h"
#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE SDB_DEBUG
/* end of m88k-coff.h */
/* end of m88k-coff.h */
gcc/config/sh/sh.h
View file @
3c35520e
...
@@ -30,11 +30,7 @@ Boston, MA 02111-1307, USA. */
...
@@ -30,11 +30,7 @@ Boston, MA 02111-1307, USA. */
/* Output DBX (stabs) debugging information if doing -gstabs. */
/* Output DBX (stabs) debugging information if doing -gstabs. */
#define DBX_DEBUGGING_INFO
#include "dbxcoff.h"
/* Generate SDB debugging information by default. */
#define PREFERRED_DEBUGGING_TYPE SDB_DEBUG
#define SDB_DELIM ";"
#define SDB_DELIM ";"
...
...
gcc/config/sparc/litecoff.h
View file @
3c35520e
/* Definitions of target machine for GNU compiler, for SPARClite w/o FPU, COFF.
/* Definitions of target machine for GNU compiler, for SPARClite w/o FPU, COFF.
Copyright (C) 1994 Free Software Foundation, Inc.
Copyright (C) 1994
, 1996
Free Software Foundation, Inc.
Written by Ken Raeburn (raeburn@cygnus.com).
Written by Ken Raeburn (raeburn@cygnus.com).
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -32,47 +32,11 @@ Boston, MA 02111-1307, USA. */
...
@@ -32,47 +32,11 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dsparc -Dsparclite -Acpu(sparc) -Amachine(sparc)"
#define CPP_PREDEFINES "-Dsparc -Dsparclite -Acpu(sparc) -Amachine(sparc)"
/* just in case */
/* Default to stabs in COFF. */
#undef DBX_DEBUGGING_INFO
#undef PREFERRED_DEBUGGING_TYPE
#define DBX_DEBUGGING_INFO
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
/* These are all necessary because this is how gdb expects gcc to output
#include "dbxcoff.h"
stabs in coff. */
/* Be function-relative for block and source line stab directives. */
#define DBX_BLOCKS_FUNCTION_RELATIVE 1
/* but, to make this work, functions must appear prior to line info. */
#define DBX_FUNCTION_FIRST
/* Generate a blank trailing N_SO to mark the end of the .o file, since
we can't depend upon the linker to mark .o file boundaries with
embedded stabs. */
#define DBX_OUTPUT_MAIN_SOURCE_FILE_END(FILE, FILENAME) \
fprintf (FILE, \
"\t.text\n\t.stabs \"\",%d,0,0,Letext\nLetext:\n", N_SO)
/* This is copied from final.c and sparc.h. */
#undef ASM_OUTPUT_SOURCE_LINE
#define ASM_OUTPUT_SOURCE_LINE(FILE, LINE) \
{ if (write_symbols == SDB_DEBUG) { \
fprintf ((FILE), "\t.ln\t%d\n", \
((sdb_begin_function_line > -1) \
? (LINE) - sdb_begin_function_line : 1)); \
} else if (write_symbols == DBX_DEBUG) { \
static int sym_lineno = 1; \
fprintf (FILE, ".stabn 68,0,%d,.LM%d-", \
LINE, sym_lineno); \
assemble_name (FILE, \
XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0)); \
fprintf (FILE, "\n.LM%d:\n", sym_lineno); \
sym_lineno += 1; \
} }
/* Support the ctors and dtors sections for g++. */
/* Support the ctors and dtors sections for g++. */
...
...
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