This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
However there maybe once was a serious bug in the GCC's 'm68k-coff' target configuration files and this section erroneously being added...
When looking at the up-to-date gcc-3.3 sources, the 3.3.5 bugfix ones, this bug still was there as unfixed ! The attached 'coff.h.diff' patch should fix it, I had it in my own fixed gcc-3.3 branch sources installed in 2003...
Another patch which defines a default target board for 'm68k-coff', the 'BCC' board, has also been attached.
*** /home/src/gcc-3.3.5/gcc/config/m68k/coff.h 2003-01-29 00:18:15.000000000 +0200 --- ./coff.h 2003-02-04 16:33:40.000000000 +0200 *************** *** 30,35 **** --- 30,37 ---- #include "dbxcoff.h" + #define DWARF2_UNWIND_INFO 0 + /* COFF symbols don't start with an underscore. */ #undef USER_LABEL_PREFIX
*** /home/src/gcc-3.3.5/gcc/config/m68k/m68k-coff.h 1999-09-03 20:10:48.000000000 +0300 --- ./m68k-coff.h 2004-06-29 19:06:02.000000000 +0300 *************** *** 1,6 **** --- 1,7 ---- /* Definitions of target machine for GNU compiler. "naked" 68020, COFF object files and debugging, version. Copyright (C) 1994 Free Software Foundation, Inc. + Modified by Kai Ruottu, <karuottu@mbnet.fi> This file is part of GNU CC. *************** *** 20,31 **** Boston, MA 02111-1307, USA. */ #define MOTOROLA /* Use Motorola syntax rather than MIT. */ ! #ifndef USE_GAS /* forces jsbr instead of jsr. */ ! #define USE_GAS #endif #include "m68k/m68k-none.h" #include "m68k/m68kemb.h" #include "m68k/coff.h" ! /* end of m68k-coff.h */ --- 21,44 ---- Boston, MA 02111-1307, USA. */ #define MOTOROLA /* Use Motorola syntax rather than MIT. */ ! #ifndef USE_GAS /* Use GNU assembler, forces jsbr instead of jsr. */ ! #define USE_GAS #endif #include "m68k/m68k-none.h" #include "m68k/m68kemb.h" #include "m68k/coff.h" ! #undef STARTFILE_SPEC ! #define STARTFILE_SPEC "" ! ! #undef ENDFILE_SPEC ! #define ENDFILE_SPEC "-T bcc.ld%s" ! ! #undef LIB_SPEC ! #define LIB_SPEC "" ! ! #undef LINK_SPEC ! #define LINK_SPEC "" ! ! /* End of m68k-coff.h */
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |