This is the mail archive of the gcc-patches@gcc.gnu.org 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]

[PATCH] CPP built-in cleanup for x86 NetBSD targets


Committed to trunk.

        * config/i386/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
        (CPP_PREDEFINES): Remove. 
        (SUBTARGET_EXTRA_SPECS): Define.
        (CPP_SPEC): Use %(netbsd_cpp_spec).
        * config/i386/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
        (CPP_PREDEFINES): Remove.
        (SUBTARGET_EXTRA_SPECS): Define.
        (CPP_SPEC): Use %(netbsd_cpp_spec). 
        * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Define.
        (CPP_PREDEFINES, CPP_LP64_SPEC, CPP_SUBTARGET_SPEC): Remove.
        (SUBTARGET_EXTRA_SPECS): Remove cpp_lp64 and cpp_subtarget.
        Add netbsd_cpp_spec. 
        (CPP_SPEC): Remove %(cpp_subtarget), add %(netbsd_cpp_spec).

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: i386nbsd-patch
Description: Text document


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