Re: [PATCH] APM support doesn't compile with binutils 2.8.1.0.24

H. J. Lu (hjl@freya.yggdrasil.com)
Wed, 25 Mar 1998 08:37:05 -0800 (PST)


>
> According to the binutils people, it's related to bogus asm in apm_bios.c
> - the patch I've attached fixes it.
>
> LLaP
> bero
>
> ---------- Forwarded message ----------
> Date: Wed, 25 Mar 1998 12:49:11 +1030 (CST)
> From: Alan Modra <alan@spri.levels.unisa.edu.au>
> To: Ian Lance Taylor <ian@cygnus.com>
> Cc: bero@linux.net.eu.org
> Subject: Re: [bero@linux.net.eu.org: binutils 2.8.1.0.24 broken]
>
> >
> > This would seem to be the result of the patch you sent to me a week or
> > two ago. I think that H.J. incorporated it into binutils 2.8.1.0.24.
>
> Yes, HJ did incorporate the patch, and it does look like my patch is
> causing gas to complain.
>
> > Do you have any idea what is going on here? Do you think it is
> > unrelated?
>
> There's quite a lot of assembler in apm_bios.c. gas is complaining
> about `pushl %%gs', `popl %%gs' and other similar push and pops of
> segment registers. If these asm statements are changed to omit the
> `l' suffix, ie. `push %%gs', the problem will go away.
>

I have changed it from as_bad to as_warn in binutils 2.8.1.0.25.

H.J.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu