On Mon, Nov 3, 2014 at 6:11 AM, Andreas Tobler <andreast-l...@fgznet.ch> wrote: > Hello all, > > this is a patch which brings support for arm*-*-freebsd* to trunk. > The architectures supported are arm-*-*freebsd*, armv6-*-freebsd* and > armv6hf-*-freebsd*. > armv6 stands for ARM_ARCH == 6, arm stands for ARM_ARCH < 6. Just out of curiosity, what about armv7?
Thanks, bin > > There is kernel development for armv8 aka. aarch64 ongoing but this is not > covered here. This patch only covers 32-bit arm in a basic manner. > > The patch is built and tested against armv6, armv6hf and arm. The former two > tests (lots of) were done on a WANDBOARD-QUAD, the latter on a MARVELL board > with 256MB Ram and 200MHz cpu.... (around 72h+ for a build and test.....) > > Results for armv6hf are on the list. Only one entry but locally I ran > several dozens runs... > > Once if this patch is accepted a few test suite additions will follow. > (arm*-*-*eabi* -> arm_eabi) > > The patch itself is also prepared for arm*eb*-*-freebsd*, but I could not > test since I lack the HW. > > I appreciate comments, questions and also an ack if this patch is ok for > trunk. > > TIA, > > Andreas > > toplevel: > > 2014-11-02 Andreas Tobler <andre...@gcc.gnu.org> > > * configure.ac: Don't add ${libgcj} for arm*-*-freebsd*. > * configure: Regenerate. > > gcc: > > 2014-11-02 Andreas Tobler <andre...@gcc.gnu.org> > > * config.gcc (arm*-*-freebsd*): New configuration. > * config/arm/freebsd.h: New file. > * config.host: A extras components for arm*-*-freebsd*. > * config/arm/arm.c (arm_init_libfuncs): FreeBSD does not support 8 > byte > atomics for __ARM_ARCH__ < 6 yet. > (arm_option_override): FreeBSD has not yet implemented unaligned > access. > > libgcc: > > 2014-11-02 Andreas Tobler <andre...@gcc.gnu.org> > > * config.host (arm*-*-freebsd*): Add new configuration for > arm*-*-freebsd*. > * config/arm/freebsd-atomic.c: New file. > * config/arm/t-freebsd: Likewise. > * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of > 'PC-relative > indirect' OS's. > > libstdc++: > > 2014-11-02 Andreas Tobler <andre...@gcc.gnu.org> > > * configure.host: Add arm*-*-freebsd* port_specific_symbol_files. >