diff options
Diffstat (limited to 'contrib/gcc/config/nextstep.h')
-rw-r--r-- | contrib/gcc/config/nextstep.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/contrib/gcc/config/nextstep.h b/contrib/gcc/config/nextstep.h index 96435fc..59050a1 100644 --- a/contrib/gcc/config/nextstep.h +++ b/contrib/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 @@ -252,7 +262,8 @@ Boston, MA 02111-1307, USA. */ /* How to parse #pragma's */ #undef HANDLE_PRAGMA -#define HANDLE_PRAGMA(FINPUT, NODE) handle_pragma (FINPUT, NODE) +#define HANDLE_PRAGMA(GETC, UNGETC, NAME) handle_pragma (GETC, UNGETC, NAME) +extern int handle_pragma (); /* Give methods pretty symbol names on NeXT. */ @@ -280,7 +291,7 @@ Boston, MA 02111-1307, USA. */ else if (!strncmp (NAME, "_OBJC_", 6)) fprintf (FILE, "L%s", NAME); \ else if (!strncmp (NAME, ".objc_class_name_", 17)) \ fprintf (FILE, "%s", NAME); \ - else fprintf (FILE, "%s%s", USER_LABEL_PREFIX, NAME); } while (0) + else asm_fprintf (FILE, "%U%s", NAME); } while (0) #undef ALIGN_ASM_OP #define ALIGN_ASM_OP ".align" |