This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the EGCS project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

DJGPP config tweak


Hello Jeff,

Here is a config tweak for DJGPP, mostly to define the name of the BSS section:

1999-07-30 Mark Elbrecht <snowball3@bigfoot.com>

* gcc/config/i386/djgpp.h (HAVE_MAX_SKIP_P2ALIGN): Define.
  (BSS_SECTION_ASM_OP): Define.

*** gcc/config/i386/djgpp.h.orig	Mon Jun 21 01:23:14 1999
--- gcc/config/i386/djgpp.h	Fri Jul 30 19:25:18 1999
*************** Boston, MA 02111-1307, USA.  */
*** 31,37 ****
--- 31,48 ----
  
  #define YES_UNDERSCORES
  
+ #define HAVE_MAX_SKIP_P2ALIGN
  #include "i386/gas.h"
+ 
+ /* If defined, a C expression whose value is a string containing the
+    assembler operation to identify the following data as
+    uninitialized global data.  If not defined, and neither
+    `ASM_OUTPUT_BSS' nor `ASM_OUTPUT_ALIGNED_BSS' are defined,
+    uninitialized global data will be output in the data section if
+    `-fno-common' is passed, otherwise `ASM_OUTPUT_COMMON' will be
+    used.  */
+ #undef BSS_SECTION_ASM_OP
+ #define BSS_SECTION_ASM_OP "\t.section\t.bss"
  
  /* Enable alias attribute support.  */
  #ifndef SET_ASM_OP

--- 
Mark Elbrecht, snowball3@bigfoot.com
http://snowball.frogspace.net/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]