sh-elf broken for egcs-971127 ?

Jeffrey A Law law@cygnus.com
Fri Nov 28 11:32:00 GMT 1997


  In message < 347EDE1D.470CC0B9@faw.uni-ulm.de >you write:
  > Hi,
  > 
  > I am trying to build egcs-971127 for sh-elf, but
  > I get thousands of assembler-warnings for any call to
  > xgcc during the build process.
Try this patch.  It reverts the sh-elf port back to using stabs by default:

Index: elf.h
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/config/sh/elf.h,v
retrieving revision 1.1.1.1.2.1
diff -c -3 -p -r1.1.1.1.2.1 elf.h
*** elf.h	1997/11/25 23:53:30	1.1.1.1.2.1
--- elf.h	1997/11/28 19:29:39
*************** Boston, MA 02111-1307, USA.  */
*** 25,30 ****
--- 25,34 ----
  /* No SDB debugging info.  */
  #undef SDB_DEBUGGING_INFO
  
+ /* Prefer stabs.  */
+ #undef PREFERRED_DEBUGGING_TYPE
+ #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
+ 
  /* Undefine some macros defined in both sh.h and svr4.h.  */
  #undef IDENT_ASM_OP
  #undef ASM_FILE_END
*************** Boston, MA 02111-1307, USA.  */
*** 36,42 ****
  #undef ASM_OUTPUT_CONSTRUCTOR
  #undef ASM_OUTPUT_DESTRUCTOR
  #undef ASM_DECLARE_FUNCTION_NAME
- #undef PREFERRED_DEBUGGING_TYPE
  
  /* Be ELF-like.  */
  #include "svr4.h"
--- 40,45 ----



More information about the Gcc-bugs mailing list