This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: WinCE support in LD
> On Wed, Feb 23, 2000 at 08:32:50PM -0500, Ian Lance Taylor wrote:
> >The rest of the patch is fine with me, since I personally don't care
> >much about the PE support. Things like `case 16016:' are kind of
> >boggling, though, I have to admit.
>
> Yow. I agree. Aren't there some constants for this in some windows
> header somewhere? We could easily add these to cygwin's header files
> if required.
The intention was to have a switch statement that had cases that
depended on two values, instead of the default of one value.
It's the equivalent of this:
if (bits==16 && shift==16) ...
else if (bits==26 && shift==2) ...
What I'd like to see in C is this option:
switch (bits,shift) {
case 16,16 : ...
case 26,2 : ...
}