home *** CD-ROM | disk | FTP | other *** search
/ Programming Win32 Under the API / ProgrammingWin32UnderTheApiPatVillani.iso / patches / gcc-2_95_2-x86-win32-patches.zi / gcc-2.95.2-patches / broken-down / gcc-2.95.2-win32-bss.diff < prev    next >
Encoding:
Text File  |  1999-11-08  |  974 b   |  24 lines

  1. Wed Aug  4 22:25:17 1999  Mumit Khan  <khan@xraylith.wisc.edu>
  2.  
  3.     * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
  4.  
  5. Index: gcc-2.95.2/gcc/config/i386/cygwin.h
  6. ===================================================================
  7. RCS file: /homes/khan/src/CVSROOT/gcc-2.95.2/gcc/config/i386/cygwin.h,v
  8. retrieving revision 1.2
  9. diff -u -3 -p -r1.2 cygwin.h
  10. --- gcc-2.95.2/gcc/config/i386/cygwin.h    1999/11/05 06:31:51    1.2
  11. +++ gcc-2.95.2/gcc/config/i386/cygwin.h    1999/11/05 08:10:09
  12. @@ -458,6 +458,11 @@ do {                                    \
  13.  #define ASM_OUTPUT_EXTERNAL_LIBCALL(FILE, FUN) \
  14.    i386_pe_declare_function_type (FILE, XSTR (FUN, 0), 1)
  15.  
  16. +/* This says out to put a global symbol in the BSS section. */
  17. +#undef ASM_OUTPUT_ALIGNED_BSS
  18. +#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
  19. +  asm_output_aligned_bss ((FILE), (DECL), (NAME), (SIZE), (ALIGN))
  20. +
  21.  /* Output function declarations at the end of the file.  */
  22.  #define ASM_FILE_END(FILE) \
  23.    i386_pe_asm_file_end (FILE)
  24.