public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Last IA64 HP-UX build patch
@ 2005-05-05 17:30 Steve Ellcey
  2005-05-05 18:00 ` James E Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Ellcey @ 2005-05-05 17:30 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Last IA64 HP-UX build patch
  2005-05-05 17:30 Last IA64 HP-UX build patch Steve Ellcey
@ 2005-05-05 18:00 ` James E Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: James E Wilson @ 2005-05-05 18:00 UTC (permalink / raw)
  To: sje; +Cc: binutils

On Thu, 2005-05-05 at 10:26, Steve Ellcey wrote:
> 	tc-ia64.c: undef MIN.

OK.  Though I'd suggest something like
	* config/tc-ia64.c (MIN): Undef.
to get the right ChangeLog entry format.

This time I remembered you don't have write privileges and I checked it
in for you.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-05 17:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-05 17:30 Last IA64 HP-UX build patch Steve Ellcey
2005-05-05 18:00 ` James E Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).