Commit Graph

31 Commits

Author SHA1 Message Date
Wolfgang Thaller
bb894a87c5 make --mac-strip-macsbug (mostly) work again, see #32 2018-05-01 19:42:14 +02:00
Wolfgang Thaller
c47772e62f make functions return pointers in D0 on 68K. See issue #35. *RECOMPILE STRONGLY RECOMMENDED*
This is compatible with MPW and incompatible with Codewarrior.
2017-10-15 14:24:25 +02:00
Wolfgang Thaller
b30c823f2b gcc m68k: put macsbug symbols in the same section as the function again, because gcc7 sometimes puts two functions in one section. --mac-strip-macsbug has no effect for now. 2017-10-07 16:07:53 +02:00
Wolfgang Thaller
19ab4d99ae Merge branch 'upstream' into gcc-7.2
# Conflicts:
#	binutils/bfd/config.bfd
#	binutils/ld/configure.tgt
#	gcc/gcc/c-family/c-common.c
#	gcc/gcc/c/c-parser.c
#	gcc/gcc/calls.c
#	gcc/gcc/config/m68k/m68k.c
#	gcc/gcc/config/rs6000/rs6000.c
#	gcc/gcc/config/rs6000/rs6000.opt
#	hfsutils/COPYING
#	hfsutils/install-sh
2017-10-07 02:46:50 +02:00
Wolfgang Thaller
65c83606fb Update gcc to 7.2.0, binutils to 2.29, newlib to 2.5.0 2017-10-07 02:16:47 +02:00
Wolfgang Thaller
70be98cb62 put macsbug name in separate section so it can be stripped out - and hack ld so that it won't be stripped out by -gc-sections 2017-09-29 22:02:21 +02:00
Wolfgang Thaller
4d0f9e202c m68k: uppercase pascal functions for linking 2017-04-25 02:14:56 +02:00
Wolfgang Thaller
71f78cceb8 Merge branch 'upstream' into gcc-6.3
# Conflicts:
#	binutils/bfd/coff-rs6000.c
#	gcc/gcc/calls.c
#	gcc/gcc/config/m68k/m68k.c
#	gcc/gcc/config/rs6000/rs6000.opt
#	gcc/gcc/cp/cfns.gperf
#	gcc/gcc/cp/cfns.h
#	gcc/gcc/cp/parser.c
2017-04-11 23:25:51 +02:00
Wolfgang Thaller
21ec187812 68K: get -mpcrel to work (for tiny programs) 2017-04-11 18:55:39 +02:00
Wolfgang Thaller
0a883ac4aa upgrade gcc to 6.3.0, binutils to 2.28 2017-04-10 13:32:00 +02:00
Wolfgang Thaller
90e056166b Finally make ASFilter unnecessary. 2015-08-29 03:33:14 +02:00
Wolfgang Thaller
715265c205 Fix some merge problems 2015-08-29 02:06:29 +02:00
Wolfgang Thaller
aebd1e06ff Merge branch 'upstream'
Conflicts:
	gcc/gcc/calls.c
	gcc/gcc/config/m68k/m68k-protos.h
	gcc/gcc/config/m68k/m68k.c
2015-08-28 17:48:55 +02:00
Wolfgang Thaller
41040e16f5 Update gcc to 5.2.0 2015-08-28 17:33:40 +02:00
Wolfgang Thaller
cd842777c9 Some fixes to make it work again on Mac OS X 2014-09-25 22:50:22 +02:00
Wolfgang Thaller
aa1c71d17e move pragma code to a separate file 2014-09-25 02:47:19 +02:00
Wolfgang Thaller
05f4c57615 support #pragma parameter 2014-09-25 01:45:15 +02:00
Wolfgang Thaller
03501ca622 silence some debug output 2014-09-24 22:38:31 +02:00
Wolfgang Thaller
ea8e92e679 magicinline is dead, long live raw_inline 2014-09-24 22:06:01 +02:00
Wolfgang Thaller
a055a3faa1 register parameters via __attribute__((__regparam__("d0(a0,d0)"))) 2014-09-24 02:54:03 +02:00
Wolfgang Thaller
db62b69fae try to suppress sibcalls to magic_inline functions 2014-09-24 02:54:03 +02:00
Wolfgang Thaller
54d890514a __magicinline__ attribute to suppress cse on magic_inline functions 2014-09-24 02:54:00 +02:00
Wolfgang Thaller
197178056d rename stdcall -> pascal 2014-09-24 02:53:59 +02:00
Wolfgang Thaller
757a9c715f Merge branch 'gcc-4.9.1-upstream'
Conflicts:
	gcc/gcc/c-family/c-common.c
	gcc/gcc/config/m68k/m68k.c
2014-09-21 19:41:42 +02:00
Wolfgang Thaller
449227a01f upgrade to gcc 4.9.1 2014-09-21 19:33:12 +02:00
Wolfgang Thaller
fdec31a641 The compiler now generates MacsBug function names for debugging 2014-09-19 02:11:50 +02:00
Wolfgang Thaller
390818e425 avoid transformations on __magic_inline functions 2012-04-15 03:34:33 +02:00
Wolfgang Thaller
a79c598392 make register usage match mac toolbox expectations (d0-d2, a0-a1 volatile, a5 fixed) 2012-04-15 03:33:23 +02:00
Wolfgang Thaller
d8544deec7 stdcall attribute for m68k 2012-04-13 20:43:04 +02:00
Wolfgang Thaller
49d3964993 pass shorts as shorts, parameter alignment 2 bytes only 2012-04-13 20:42:45 +02:00
Wolfgang Thaller
aaf905ce07 add gcc 4.70 2012-03-28 01:13:14 +02:00