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
1f29c913
Commit
1f29c913
authored
Jul 11, 1994
by
Stan Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(ASM_SPEC,STARTFILE_SPEC,LIB_SPEC): svr4 default.
From-SVN: r7700
parent
36b8d792
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
11 deletions
+32
-11
gcc/config/m88k/dgux.h
+32
-11
No files found.
gcc/config/m88k/dgux.h
View file @
1f29c913
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
Contributed by Michael Tiemann (tiemann@mcc.com)
Contributed by Michael Tiemann (tiemann@mcc.com)
Enhanced by Michael Meissner (meissner@osf.org)
Enhanced by Michael Meissner (meissner@osf.org)
Version 2 port by Tom Wood (twood@pets.sps.mot.com)
Version 2 port by Tom Wood (twood@pets.sps.mot.com)
Currently maintained by (gcc@dg-rtp.dg.com)
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -30,7 +31,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -30,7 +31,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
(TARGET_SVR4 ? DWARF_DEBUG : SDB_DEBUG)
(TARGET_SVR4 ? DWARF_DEBUG : SDB_DEBUG)
#ifndef VERSION_INFO2
#ifndef VERSION_INFO2
#define VERSION_INFO2 "$Revision: 1.
6
$"
#define VERSION_INFO2 "$Revision: 1.
12
$"
#endif
#endif
#ifndef NO_BUGS
#ifndef NO_BUGS
#define AS_BUG_IMMEDIATE_LABEL
#define AS_BUG_IMMEDIATE_LABEL
...
@@ -62,7 +63,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -62,7 +63,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef TARGET_DEFAULT
#undef TARGET_DEFAULT
#define TARGET_DEFAULT (MASK_CHECK_ZERO_DIV | \
#define TARGET_DEFAULT (MASK_CHECK_ZERO_DIV | \
MASK_OCS_DEBUG_INFO | \
MASK_OCS_DEBUG_INFO | \
MASK_OCS_FRAME_POSITION)
MASK_OCS_FRAME_POSITION | \
MASK_SVR4)
#undef CPU_DEFAULT
#undef CPU_DEFAULT
#define CPU_DEFAULT MASK_88000
#define CPU_DEFAULT MASK_88000
...
@@ -88,7 +90,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -88,7 +90,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef ASM_SPEC
#undef ASM_SPEC
#define ASM_SPEC "\
#define ASM_SPEC "\
%{V} %{v:%{!V:-V}} %{pipe:%{!.s: - }\
%{V} %{v:%{!V:-V}} %{pipe:%{!.s: - }\
%{
msvr4
:%{mversion-03.00:-KV3}%{!mversion-03.00:%{mversion-*:-KV%*}}}}\
%{
!msvr3
:%{mversion-03.00:-KV3}%{!mversion-03.00:%{mversion-*:-KV%*}}}}\
%{!mlegend:%{mstandard:-Wc,off}}\
%{!mlegend:%{mstandard:-Wc,off}}\
%{mlegend:-Wc,-fix-bb,-h\"gcc-" VERSION_INFO2 "\",-s\"%i\"\
%{mlegend:-Wc,-fix-bb,-h\"gcc-" VERSION_INFO2 "\",-s\"%i\"\
%{traditional:,-lc}%{!traditional:,-lansi-c}\
%{traditional:,-lc}%{!traditional:,-lansi-c}\
...
@@ -102,15 +104,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -102,15 +104,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef STARTFILE_SPEC
#undef STARTFILE_SPEC
/* Linker and library spec's.
/* Linker and library spec's.
-msvr4 is the default if -msvr3 is not specified.
-static, -shared, -symbolic, -h* and -z* access AT&T V.4 link options.
-static, -shared, -symbolic, -h* and -z* access AT&T V.4 link options.
-svr4 instructs gcc to place /usr/lib/values-X[cat].o on
link the
line.
-svr4 instructs gcc to place /usr/lib/values-X[cat].o on
the link
line.
The absense of -msvr4 indicates linking done in a COFF environment and
-msvr3 indicates linking done in a COFF environment and the link
adds the link script
to the link line. In all environments, the first
script is added
to the link line. In all environments, the first
and last objects are crtbegin.o and crtend.o.
and last objects are crtbegin.o
(or bcscrtbegin.o)
and crtend.o.
When the -G link option is used (-shared and -symbolic) a final
link is
When the -G link option is used (-shared and -symbolic) a final
not being done. */
link is
not being done. */
#undef LIB_SPEC
#undef LIB_SPEC
#define LIB_SPEC "%{
msvr4
:%{!shared:-lstaticdgc}} %{!shared:%{!symbolic:-lc}} crtend.o%s"
#define LIB_SPEC "%{
!msvr3
:%{!shared:-lstaticdgc}} %{!shared:%{!symbolic:-lc}} crtend.o%s"
#undef LINK_SPEC
#undef LINK_SPEC
#define LINK_SPEC "%{z*} %{h*} %{V} %{v:%{!V:-V}} \
#define LINK_SPEC "%{z*} %{h*} %{V} %{v:%{!V:-V}} \
%{static:-dn -Bstatic} \
%{static:-dn -Bstatic} \
...
@@ -120,7 +123,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -120,7 +123,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef STARTFILE_SPEC
#undef STARTFILE_SPEC
#define STARTFILE_SPEC "%{!shared:%{!symbolic:%{pg:gcrt0.o%s} \
#define STARTFILE_SPEC "%{!shared:%{!symbolic:%{pg:gcrt0.o%s} \
%{!pg:%{p:/lib/mcrt0.o}%{!p:/lib/crt0.o}} \
%{!pg:%{p:/lib/mcrt0.o}%{!p:/lib/crt0.o}} \
%{!msvr4:m88kdgux.ld%s} crtbegin.o%s \
%{msvr3:m88kdgux.ld%s bcscrtbegin.o%s} \
%{!msvr3:crtbegin.o%s} \
%{svr4:%{ansi:/lib/values-Xc.o} \
%{svr4:%{ansi:/lib/values-Xc.o} \
%{!ansi:%{traditional:/lib/values-Xt.o} \
%{!ansi:%{traditional:/lib/values-Xt.o} \
%{!traditional:/usr/lib/values-Xa.o}}}}}"
%{!traditional:/usr/lib/values-Xa.o}}}}}"
...
@@ -170,6 +174,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -170,6 +174,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Override svr4.h and m88k.h except when compiling crtstuff.c. These must
/* Override svr4.h and m88k.h except when compiling crtstuff.c. These must
be constant strings when compiling crtstuff.c. Otherwise, respect the
be constant strings when compiling crtstuff.c. Otherwise, respect the
-mversion-STRING option used. */
-mversion-STRING option used. */
#undef INIT_SECTION_PREAMBLE
#undef INIT_SECTION_ASM_OP
#undef FINI_SECTION_ASM_OP
#undef CTORS_SECTION_ASM_OP
#undef DTORS_SECTION_ASM_OP
#if !defined (CRT_BEGIN) && !defined (CRT_END)
#if !defined (CRT_BEGIN) && !defined (CRT_END)
#undef INIT_SECTION_ASM_OP
#undef INIT_SECTION_ASM_OP
#define INIT_SECTION_ASM_OP (TARGET_SVR4 \
#define INIT_SECTION_ASM_OP (TARGET_SVR4 \
...
@@ -183,6 +193,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -183,6 +193,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define DTORS_SECTION_ASM_OP (TARGET_SVR4 \
#define DTORS_SECTION_ASM_OP (TARGET_SVR4 \
? "section\t .dtors,\"aw\"" \
? "section\t .dtors,\"aw\"" \
: "section\t .dtors,\"d\"")
: "section\t .dtors,\"d\"")
#else
/* These must be constant strings for crtstuff.c.
An elf and bcs crtbegin.o are needed since bcs does not
increment the stack pointer in the init section as elf does */
#ifndef BCS
#define INIT_SECTION_PREAMBLE asm ("\taddu\tr31,r31,0x20")
#endif
#define INIT_SECTION_ASM_OP "section\t .init,\"x\""
#define FINI_SECTION_ASM_OP "section\t .fini,\"x\""
#define CTORS_SECTION_ASM_OP "section\t .ctors,\"d\""
#define DTORS_SECTION_ASM_OP "section\t .dtors,\"d\""
#endif
/* crtstuff.c */
#endif
/* crtstuff.c */
/* The lists of global object constructors and global destructors are always
/* The lists of global object constructors and global destructors are always
...
...
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