Gcc used to create code to create trampolines (for nested functions) for
m68k without properly flushing the caches, leading to segmentation violations
on 68040/68060 systems.
Fixed by:
- importing the gcc 2.7.2.3 trampoline creation code into arch/m68k/m68k.h
- adding the OS-specific code for this into arch/m68k/netbsd.h
These changes have been reflected in gcc2netbsd.
- add /usr/include/objc to mtree
- set libobjc/Makefile INCSDIR=/usr/include/objc
- put to-be-installed includes to libobjc/Makefile into INCS=
- add the Objective-C source files to the appropriate lists.
- as the objc include files are installed now, no need to patch most
of the files.
- add /usr/include/obj/* to src/distrib/comp/mi
The changes have been applied to gcc2netbsd, and this script was then used
to create the new version of the files in libobjc/.
Added a new patch mechanism to gcc2netbsd so changes from the FSF source
are seen in gcc2netbsd. Sync some Makefiles to output of current gcc2netbsd.
(Cosmetic changes only to the Makefiles.)
*REMEMBER* Any change in the gcc tree should be reflected in the gcc2netbsd
script so it reflects reality! If you don't know how to change the
gcc2netbsd script, send your gcc changes to phil@netbsd.org.