This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] fix gas/gcc incompatibility regression on sparc (PR gas/13441)
- From: David Miller <davem at davemloft dot net>
- To: mikpe at it dot uu dot se
- Cc: binutils at sourceware dot org
- Date: Sun, 27 Nov 2011 16:53:41 -0500 (EST)
- Subject: Re: [PATCH] fix gas/gcc incompatibility regression on sparc (PR gas/13441)
- References: <20178.40107.378858.365741@pilspetsen.it.uu.se>
From: Mikael Pettersson <mikpe@it.uu.se>
Date: Sun, 27 Nov 2011 21:25:15 +0100
> @@ -507,7 +509,7 @@ md_parse_option (int c, char *arg)
> if (!architecture_requested
> || opcode_arch > max_architecture)
> max_architecture = opcode_arch;
> - hwcap_allowed |= sa->hwcap_allowed;
> + hwcap_allowed = sa->hwcap_allowed;
> architecture_requested = 1;
> }
> break;
BTW, this patch also has a problem here. This is intentionally an
"or". Your change means that you can't do things like "-AX -AY" to
turn on multiple sets of options any longer.