diff options
author | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-03 17:10:48 +0000 |
---|---|---|
committer | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-03 17:10:48 +0000 |
commit | 84212317d348ff7ea9970f683dbad22d2b130cc7 (patch) | |
tree | 3f5d187005e45a7a6db474e14509e7b60d093c1a /gcc | |
parent | 6524d6b593bb6bc3cbf3598e767b8eee5dc6d1a2 (diff) | |
download | gcc-84212317d348ff7ea9970f683dbad22d2b130cc7.tar.gz |
Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29085 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/m68k/m68k-coff.h | 3 | ||||
-rw-r--r-- | gcc/config/m68k/m68kelf.h | 4 |
3 files changed, 11 insertions, 2 deletions
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 <aph@cygnus.com> + + * 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 <rearnsha@arm.com> * 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 |