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


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

Re: DJGPP config tweak


> > Hello Jeff,
> > 
> > Here is a config tweak for DJGPP, mostly to define the name of the BSS section:
> 
> I've revised the patch to leave out the HAVE_MAX_SKIP_P2ALIGN define. 
> 
> 1999-07-30 Mark Elbrecht <snowball3@bigfoot.com> 
> 
> * gcc/config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define. 
> 

This is a lot of trouble for something so simple. I just saw my post on gcc-patches 
and I don't know how the line endings got screwed up. Sorry.

*** gcc/config/i386/djgpp.h.orig	Mon Jun 21 01:23:14 1999
--- gcc/config/i386/djgpp.h	Sat Jul 31 09:27:56 1999
*************** Boston, MA 02111-1307, USA.  */
*** 33,38 ****
--- 33,48 ----
  
  #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
  #define SET_ASM_OP "\t.set"

--- 
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]