From: Doug Evans Date: Thu, 29 Feb 1996 02:55:54 +0000 (+0000) Subject: lynx.h (EXTRA_SECTIONS): Delete in_bss. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ec44be4646813b1bef50f8835fc91654ad6768d;p=gcc.git lynx.h (EXTRA_SECTIONS): Delete in_bss. * lynx.h (EXTRA_SECTIONS): Delete in_bss. (EXTRA_SECTION_FUNCTIONS): Delete BSS_SECTION_FUNCTION. * svr3.h (EXTRA_SECTIONS): Likewise. (BSS_SECTION_FUNCTION): Delete. From-SVN: r11367 --- diff --git a/gcc/config/svr3.h b/gcc/config/svr3.h index be44ec71b15..c4f0b012243 100644 --- a/gcc/config/svr3.h +++ b/gcc/config/svr3.h @@ -1,6 +1,6 @@ /* svr3.h -- operating system specific defines to be used when targeting GCC for some generic System V Release 3 system. - Copyright (C) 1991 Free Software Foundation, Inc. + Copyright (C) 1991, 1996 Free Software Foundation, Inc. Written by Ron Guilmette (rfg@netcom.com). @@ -251,29 +251,17 @@ do { \ #endif /* STACK_GROWS_DOWNWARD */ -/* Add extra sections .init and .fini, in addition to .bss from att386.h. */ +/* Add extra sections .rodata, .init and .fini. */ #undef EXTRA_SECTIONS -#define EXTRA_SECTIONS in_const, in_bss, in_init, in_fini +#define EXTRA_SECTIONS in_const, in_init, in_fini #undef EXTRA_SECTION_FUNCTIONS #define EXTRA_SECTION_FUNCTIONS \ CONST_SECTION_FUNCTION \ - BSS_SECTION_FUNCTION \ INIT_SECTION_FUNCTION \ FINI_SECTION_FUNCTION -#define BSS_SECTION_FUNCTION \ -void \ -bss_section () \ -{ \ - if (in_section != in_bss) \ - { \ - fprintf (asm_out_file, "\t%s\n", BSS_SECTION_ASM_OP); \ - in_section = in_bss; \ - } \ -} - #define INIT_SECTION_FUNCTION \ void \ init_section () \