aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/nextstep.h
diff options
context:
space:
mode:
authorMelissa O'Neill <oneill@cs.sfu.ca>1998-09-19 23:01:43 +0000
committerJeff Law <law@gcc.gnu.org>1998-09-19 17:01:43 -0600
commit750930c1f87332d91ef00835a8e3bb4cd2e028f9 (patch)
treef05aac60973502a95d5f948b92f108c0ec5d7dde /gcc/config/nextstep.h
parent655d03a8583dd87bca4c93bc9d780d2d06ce0cc5 (diff)
downloadgcc-750930c1f87332d91ef00835a8e3bb4cd2e028f9.zip
gcc-750930c1f87332d91ef00835a8e3bb4cd2e028f9.tar.gz
gcc-750930c1f87332d91ef00835a8e3bb4cd2e028f9.tar.bz2
configure.in: Disable collect2 for nextstep.
* configure.in: Disable collect2 for nextstep. Instead use crtbegin/crtend. * configure: Rebuilt. * config/nextstep.h (STARTFILE_SPEC): Add crtbegin. (ENDFILE_SPEC): Define. (OBJECT_FORMAT_MACHO): Define. (EH_FRAME_SECTION_ASM_OP): Define. * crtstuff.c: Handle MACHO. From-SVN: r22487
Diffstat (limited to 'gcc/config/nextstep.h')
-rw-r--r--gcc/config/nextstep.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/gcc/config/nextstep.h b/gcc/config/nextstep.h
index 854832d..a3919f7 100644
--- a/gcc/config/nextstep.h
+++ b/gcc/config/nextstep.h
@@ -167,7 +167,12 @@ Boston, MA 02111-1307, USA. */
%{!p:-lcrt0.o}}}\
%{posix*:%{pg:-lgposixcrt0.o}%{!pg: \
%{p:%e-p profiling is no longer supported. Use -pg instead.} \
- %{!p:-lposixcrt0.o}}}"
+ %{!p:-lposixcrt0.o}}} \
+ -lcrtbegin.o"
+
+#undef ENDFILE_SPEC
+#define ENDFILE_SPEC \
+ "-lcrtend.o"
/* Allow #sscs (but don't do anything). */
@@ -203,6 +208,9 @@ Boston, MA 02111-1307, USA. */
"\t.text\n\t.stabs \"%s\",%d,0,0,Letext\nLetext:\n", \
"" , N_SO)
+/* Define our object format type for crtstuff.c */
+#define OBJECT_FORMAT_MACHO
+
/* Don't use .gcc_compiled symbols to communicate with GDB;
They interfere with numerically sorted symbol lists. */
@@ -232,6 +240,8 @@ Boston, MA 02111-1307, USA. */
fprintf (FILE, ".reference .destructors_used\n"); \
} while (0)
+#define EH_FRAME_SECTION_ASM_OP ".section __TEXT,__eh_frame,regular"
+
/* Don't output a .file directive. That is only used by the assembler for
error reporting. */
#undef ASM_FILE_START