This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: partial PATCH: initial configuration for sparc64-*-openbsd*

On Wed, May 29, 2002 at 08:49:09PM +0200, Marc Espie wrote:
> +#define TARGET_CPU_DEFAULT	TARGET_CPU_ultrasparc
> +#endif

See the bits to set this in config.gcc for sparc64-freebsd.
Although arguably that should be moved down to the generic
bits that set target_cpu_default2.


At some point it'd be nice if this stuff was rearranged such
that you've got an openbsd-aout.h file that takes care of this.
Any elfos.h derived port will already have these.

> +/* A 64 but v9 complier in a Medium/Mid code model.  */

Comment misplaced.  Also consider if you wouln't really prefer
MEDLOW.  Very few applications have more than 2GB of static data.

> +/* XXX - do we really want HARD_QUAD? */

If you have the _Qp_* functions in libc, no, you don't.

> +#define LONG_DOUBLE_TYPE_SIZE 128

Need float_format=i128 in config.gcc.

> +/* For profiled binaries we have to change the memory model.  */
> +#undef CC1_SPEC
> +#define CC1_SPEC "%{p*:-mcmodel=medlow} %{p:-mcmodel=medlow}"

This has been fixed in the compiler.

2002-03-30  Richard Henderson  <>

        PR target/6032
        * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
        or -fomit-frame-pointer with profiling.
        (FUNCTION_PROFILER): Do nothing.
        (PROFILE_HOOK): New.
        * config/sparc/sparc.c (sparc_override_options): Don't check
        code models for profiling.
        (sparc_function_profiler): Remove.
        (sparc_profile_hook): New.
        * config/sparc/sparc-protos.h: Update.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]