X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fconfig%2Fnextstep.h;h=76e1a3505a6ef0da2f20b6af0541495ee6cecbb6;hp=e3ede741f42ebd27e255070d6adf8263892ac399;hb=cfc95f868f2f76dd7c965692ab57dd4a4b01fee9;hpb=465fdf87bd0cad13c1f9013524f8247082314880 diff --git a/gcc/config/nextstep.h b/gcc/config/nextstep.h index e3ede741f42..76e1a3505a6 100644 --- a/gcc/config/nextstep.h +++ b/gcc/config/nextstep.h @@ -208,11 +208,6 @@ Boston, MA 02111-1307, USA. */ /* 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. */ - -#undef ASM_IDENTIFY_GCC -#define ASM_IDENTIFY_GCC(asm_out_file) #undef INIT_SECTION_ASM_OP #define INIT_SECTION_ASM_OP #undef INVOKE__main @@ -237,7 +232,7 @@ Boston, MA 02111-1307, USA. */ fprintf (FILE, ".reference .destructors_used\n"); \ } while (0) -#define EH_FRAME_SECTION_ASM_OP ".section __TEXT,__eh_frame,regular" +#define EH_FRAME_SECTION_ASM_OP "\t.section __TEXT,__eh_frame,regular" /* Don't output a .file directive. That is only used by the assembler for error reporting. */ @@ -259,7 +254,7 @@ Boston, MA 02111-1307, USA. */ #undef HANDLE_PRAGMA #define HANDLE_PRAGMA(GETC, UNGETC, NAME) handle_pragma (GETC, UNGETC, NAME) -extern int handle_pragma (); +extern int handle_pragma PARAMS ((int(*)(void), void (*)(int), const char *)); /* Give methods pretty symbol names on NeXT. */ @@ -290,12 +285,12 @@ extern int handle_pragma (); else asm_fprintf (FILE, "%U%s", NAME); } while (0) #undef ALIGN_ASM_OP -#define ALIGN_ASM_OP ".align" +#define ALIGN_ASM_OP "\t.align\t" #undef ASM_OUTPUT_ALIGN #define ASM_OUTPUT_ALIGN(FILE,LOG) \ if ((LOG) != 0) \ - fprintf (FILE, "\t%s %d\n", ALIGN_ASM_OP, (LOG)) + fprintf (FILE, "%s%d\n", ALIGN_ASM_OP, (LOG)) /* Ensure correct alignment of bss data. */ @@ -320,10 +315,10 @@ extern int handle_pragma (); #undef SECTION_FUNCTION #define SECTION_FUNCTION(FUNCTION, SECTION, DIRECTIVE, WAS_TEXT, OBJC) \ +extern void FUNCTION PARAMS ((void)); \ void \ FUNCTION () \ { \ - extern void objc_section_init (); \ extern int flag_no_mach_text_sections; \ \ if (WAS_TEXT && flag_no_mach_text_sections) \ @@ -353,6 +348,7 @@ FUNCTION () \ #undef EXTRA_SECTION_FUNCTIONS #define EXTRA_SECTION_FUNCTIONS \ +extern void objc_section_init PARAMS ((void)); \ SECTION_FUNCTION (const_section, \ in_const, \ ".const", 1, 0) \