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
b82b0773
Commit
b82b0773
authored
Apr 06, 1993
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More mips gas changes, allow -gdwarf on OSF/1
From-SVN: r4027
parent
196ddf8a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
18 deletions
+28
-18
gcc/config/i386/osfrose.h
+7
-0
gcc/config/mips/mips.c
+1
-5
gcc/config/mips/mips.h
+13
-5
gcc/config/mips/osfrose.h
+7
-8
No files found.
gcc/config/i386/osfrose.h
View file @
b82b0773
...
@@ -49,6 +49,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -49,6 +49,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
{ "no-half-pic", -MASK_HALF_PIC}, \
{ "no-half-pic", -MASK_HALF_PIC}, \
{ "debugb", MASK_HALF_PIC_DEBUG},
{ "debugb", MASK_HALF_PIC_DEBUG},
/* OSF/rose uses stabs, not dwarf. */
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
#ifndef DWARF_DEBUGGING_INFO
#define DWARF_DEBUGGING_INFO
/* enable dwarf debugging for testing */
#endif
/* Prefix that appears before all global/static identifiers, except for
/* Prefix that appears before all global/static identifiers, except for
temporary labels. */
temporary labels. */
...
...
gcc/config/mips/mips.c
View file @
b82b0773
...
@@ -2764,11 +2764,7 @@ override_options ()
...
@@ -2764,11 +2764,7 @@ override_options ()
register
int
regno
;
register
int
regno
;
register
enum
machine_mode
mode
;
register
enum
machine_mode
mode
;
if
(
g_switch_set
)
mips_section_threshold
=
(
g_switch_set
)
?
g_switch_value
:
MIPS_DEFAULT_GVALUE
;
mips_section_threshold
=
g_switch_value
;
else
mips_section_threshold
=
(
TARGET_MIPS_AS
)
?
8
:
0
;
/* Identify the processor type */
/* Identify the processor type */
if
(
mips_cpu_string
==
(
char
*
)
0
if
(
mips_cpu_string
==
(
char
*
)
0
...
...
gcc/config/mips/mips.h
View file @
b82b0773
...
@@ -645,7 +645,7 @@ while (0)
...
@@ -645,7 +645,7 @@ while (0)
/* Print subsidiary information on the compiler version in use. */
/* Print subsidiary information on the compiler version in use. */
#define MIPS_VERSION "[AL 1.1, MM 3
7
]"
#define MIPS_VERSION "[AL 1.1, MM 3
8
]"
#ifndef MACHINE_TYPE
#ifndef MACHINE_TYPE
#define MACHINE_TYPE "BSD Mips"
#define MACHINE_TYPE "BSD Mips"
...
@@ -720,7 +720,8 @@ do { \
...
@@ -720,7 +720,8 @@ do { \
#define PUT_SDB_DEF(a) \
#define PUT_SDB_DEF(a) \
do { \
do { \
extern FILE *asm_out_text_file; \
extern FILE *asm_out_text_file; \
fprintf (asm_out_text_file, "\t#.def\t"); \
fprintf (asm_out_text_file, "\t%s.def\t", \
(TARGET_GAS) ? "" : "#"); \
ASM_OUTPUT_LABELREF (asm_out_text_file, a); \
ASM_OUTPUT_LABELREF (asm_out_text_file, a); \
fputc (';', asm_out_text_file); \
fputc (';', asm_out_text_file); \
} while (0)
} while (0)
...
@@ -728,7 +729,8 @@ do { \
...
@@ -728,7 +729,8 @@ do { \
#define PUT_SDB_PLAIN_DEF(a) \
#define PUT_SDB_PLAIN_DEF(a) \
do { \
do { \
extern FILE *asm_out_text_file; \
extern FILE *asm_out_text_file; \
fprintf (asm_out_text_file, "\t#.def\t.%s;", (a)); \
fprintf (asm_out_text_file, "\t%s.def\t.%s;", \
(TARGET_GAS) ? "" : "#", (a)); \
} while (0)
} while (0)
#define PUT_SDB_ENDEF \
#define PUT_SDB_ENDEF \
...
@@ -796,8 +798,9 @@ do { \
...
@@ -796,8 +798,9 @@ do { \
do { \
do { \
extern FILE *asm_out_text_file; \
extern FILE *asm_out_text_file; \
fprintf (asm_out_text_file, \
fprintf (asm_out_text_file, \
"$Lb%d:\n\t
#
.begin\t$Lb%d\t%d\n", \
"$Lb%d:\n\t
%s
.begin\t$Lb%d\t%d\n", \
sdb_label_count, \
sdb_label_count, \
(TARGET_GAS) ? "" : "#", \
sdb_label_count, \
sdb_label_count, \
(LINE)); \
(LINE)); \
sdb_label_count++; \
sdb_label_count++; \
...
@@ -807,8 +810,9 @@ do { \
...
@@ -807,8 +810,9 @@ do { \
do { \
do { \
extern FILE *asm_out_text_file; \
extern FILE *asm_out_text_file; \
fprintf (asm_out_text_file, \
fprintf (asm_out_text_file, \
"$Le%d:\n\t
#
.bend\t$Le%d\t%d\n", \
"$Le%d:\n\t
%s
.bend\t$Le%d\t%d\n", \
sdb_label_count, \
sdb_label_count, \
(TARGET_GAS) ? "" : "#", \
sdb_label_count, \
sdb_label_count, \
(LINE)); \
(LINE)); \
sdb_label_count++; \
sdb_label_count++; \
...
@@ -3368,6 +3372,10 @@ do { \
...
@@ -3368,6 +3372,10 @@ do { \
assemble_string (p, size); \
assemble_string (p, size); \
}
}
/* Default to -G 8 */
#ifndef MIPS_DEFAULT_GVALUE
#define MIPS_DEFAULT_GVALUE 8
#endif
/* Define the strings to put out for each section in the object file. */
/* Define the strings to put out for each section in the object file. */
#define TEXT_SECTION_ASM_OP "\t.text"
/* instructions */
#define TEXT_SECTION_ASM_OP "\t.text"
/* instructions */
...
...
gcc/config/mips/osfrose.h
View file @
b82b0773
...
@@ -126,19 +126,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -126,19 +126,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define WCHAR_TYPE "unsigned int"
#define WCHAR_TYPE "unsigned int"
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#if 0
/* OSF/1 uses gas, not the mips assembler. */
#define WCHAR_TYPE ((TARGET_WC8) \
? "unsigned char" \
: ((TARGET_WC16) \
? "short unsigned int" \
: "long unsigned int"))
#endif
#define TARGET_DEFAULT MASK_GAS
#define TARGET_DEFAULT MASK_GAS
/* OSF/rose uses stabs, not ECOFF. */
/* OSF/rose uses stabs, not ECOFF. */
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
/* enable dwarf debugging for testing */
#define DWARF_DEBUGGING_INFO
/* Tell collect that the object format is OSF/rose. */
/* Tell collect that the object format is OSF/rose. */
#define OBJECT_FORMAT_ROSE
#define OBJECT_FORMAT_ROSE
...
@@ -147,6 +143,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -147,6 +143,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define REAL_NM_FILE_NAME "/usr/ccs/bin/nm"
#define REAL_NM_FILE_NAME "/usr/ccs/bin/nm"
#define REAL_STRIP_FILE_NAME "/usr/ccs/bin/strip"
#define REAL_STRIP_FILE_NAME "/usr/ccs/bin/strip"
/* Default to -G 0 unless doing ecoff work. */
#define MIPS_DEFAULT_GVALUE ((TARGET_MIPS_AS) ? 8 : 0)
/* Use atexit for static constructors/destructors, instead of defining
/* Use atexit for static constructors/destructors, instead of defining
our own exit function. */
our own exit function. */
#define HAVE_ATEXIT
#define HAVE_ATEXIT
...
...
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