freebsd-dev/gnu/usr.bin/cc/cc_tools/size-host.h
Alexander Kabaev afb57df680 Update bmake glue to build GCC 4.2.
Also:
        Switch FreeBSD to use libgcc_s.so.1.

        Use dl_iterate_phdr to locate shared objects' exception frame
        info instead of depending on older register_frame_info machinery.
        This allows us to avoid depending on libgcc_s.so.1 in binaries
        that do not use exception handling directly. As an additional
        benefit it breaks circular libc <=> libgcc_s.so.1 dependency too.

        Build newly added libgomp.so.1 library, the runtime support
        bits for OpenMP.

        Build LGPLed libssp library. Our libc provides our own
        BSD-licensed SSP callbacks implementation, so this library
        is only built to benefit applications that have hadcoded
        knowledge of libssp.so and libssp_nonshared.a. When linked
        in from command line, these libraries override libc
        implementation.
2007-05-19 04:25:59 +00:00

48 lines
711 B
C

/* $FreeBSD$ */
#ifdef SIZEOF_INT
# undef SIZEOF_INT
#endif
#ifdef SIZEOF_SHORT
# undef SIZEOF_SHORT
#endif
#ifdef SIZEOF_LONG
# undef SIZEOF_LONG
#endif
#ifdef SIZEOF_VOID_P
# undef SIZEOF_VOID_P
#endif
#ifdef SIZEOF_LONG_LONG
# undef SIZEOF_LONG_LONG
#endif
#ifdef HOST_WIDE_INT
# undef HOST_WIDE_INT
#endif
#define SIZEOF_INT 4
#define SIZEOF_SHORT 2
#define SIZEOF_LONG_LONG 8
#if __LP64__
#define SIZEOF_LONG 8
#define SIZEOF_VOID_P 8
#define HOST_WIDE_INT long
#else
#define SIZEOF_LONG 4
#define SIZEOF_VOID_P 4
#define HOST_WIDE_INT long long
#endif
#ifdef WORDS_BIGENDIAN
#undef WORDS_BIGENDIAN
#endif
#if defined(__sparc64__) || defined(__ARMEB__)
#define WORDS_BIGENDIAN 1
#endif