[PATCH] gas: .warn and .nowarn pseudo-ops.

Smets, Jan (Jan) jan.smets@alcatel-lucent.com
Fri Mar 30 10:20:00 GMT 2012


> -----Original Message-----
> From: binutils-owner@sourceware.org 
> [mailto:binutils-owner@sourceware.org] On Behalf Of Smets, Jan (Jan)
> Sent: vrijdag 23 maart 2012 17:33
> To: binutils@sourceware.org
> Subject: [PATCH] gas: .warn and .nowarn pseudo-ops.
> 
> Hi 
> 
> I have added pseudo operators to locally disable assembler 
> warnings. You can disable/enable warnings using .nowarn/.warn.
> 
> usecase: code where a macro instruction intentionally is in a 
> branch delay slot.
> 
> GAS tests pass for x86_64-unknown-linux-gnu and 
> mips-wrs-vxworks. This patch applies to binutils 2.22.
> 
> 
> 2012-03-23  Jan Smets  <jan.smets@alcatel-lucent.com>
> 
>     * read.c (potable): Add "warn" and "nowarn".
>     (s_warn): New function.
>     * read.h (s_warn): Declare.
>     * doc/as.texinfo: Document .warn and .nowarn.

Ping 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-2.22.warn_nowarn.patch
Type: application/octet-stream
Size: 3163 bytes
Desc: binutils-2.22.warn_nowarn.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20120330/9e601e95/attachment.obj>


More information about the Binutils mailing list