diff --git a/gcc/ChangeLog b/gcc/ChangeLog index da0b2045511..cb482169be3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Fri Sep 3 18:09:24 1999 Andrew Haley + + * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr + (relative) rather than jsr (absolute) subroutine call insns. + * config/m68k/m68k-coff.h: Ditto. + Fri Sep 3 17:24:31 1999 Richard Earnshaw * arm.c (note_invalid_constants): No need to ignore ASMs, we can diff --git a/gcc/config/m68k/m68k-coff.h b/gcc/config/m68k/m68k-coff.h index 085dd95ce32..ad08a48579b 100644 --- a/gcc/config/m68k/m68k-coff.h +++ b/gcc/config/m68k/m68k-coff.h @@ -20,6 +20,9 @@ the Free Software Foundation, 59 Temple Place - Suite 330, 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" diff --git a/gcc/config/m68k/m68kelf.h b/gcc/config/m68k/m68kelf.h index ce874149da3..b9cf3888675 100644 --- a/gcc/config/m68k/m68kelf.h +++ b/gcc/config/m68k/m68kelf.h @@ -28,8 +28,8 @@ Boston, MA 02111-1307, USA. */ #ifndef MOTOROLA #define MOTOROLA /* Use MOTOROLA syntax. */ #endif -#ifdef USE_GAS /* when present, forces jsbr instead of jsr. */ -#undef USE_GAS +#ifndef USE_GAS /* forces jsbr instead of jsr. */ +#define USE_GAS #endif #ifndef SWBEG_ASM_OP