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] Define _LP64 for NetBSD/alpha


Some machine-independent parts of the NetBSD kernel need to know
if they're being built for an LP64 code model.  They check the CPP
symbol "_LP64" to determine this.

The following patch adds this to the NetBSD/alpha CPP predefines,
and also fixes a slight glitch in LINK_SPEC (dunno how I missed
this before ... *shrug*).

Committed to trunk.  OK for 3.1 branch?

        * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
        (LINK_SPEC): Undef before defining.

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

Attachment: alpha-patch
Description: Text document


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