This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Last IA64 HP-UX build patch
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: binutils at sources dot redhat dot com
- Date: Thu, 5 May 2005 10:26:31 -0700 (PDT)
- Subject: Last IA64 HP-UX build patch
- Reply-to: sje at cup dot hp dot com
Here is the last of my 3 patches to fix warnings in the HP-UX IA64
binutils build. This one puts an undef in front of the define of MIN in
gas/config/tc-ia64.c. With this patch and the previous two I can build
binutils and gas on HP-UX IA64 with no errors.
Steve Ellcey
sje@cup.hp.com
gas/ChangeLog:
2005-05-05 Steve Ellcey <sje@cup.hp.com>
tc-ia64.c: undef MIN.
*** src.orig/gas/config/tc-ia64.c Thu May 5 10:20:56 2005
--- src/gas/config/tc-ia64.c Thu May 5 10:23:24 2005
***************
*** 56,61 ****
--- 56,64 ----
#endif
#define NELEMS(a) ((int) (sizeof (a)/sizeof ((a)[0])))
+
+ /* Some systems define MIN in, e.g., param.h. */
+ #undef MIN
#define MIN(a,b) ((a) < (b) ? (a) : (b))
#define NUM_SLOTS 4