[PATH] gas: .warn and .nowarn pseudo-ops.
Smets, Jan (Jan)
jan.smets@alcatel-lucent.com
Fri Mar 23 16:33:00 GMT 2012
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.
Thanks
- Jan
-------------- 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/20120323/9e217221/attachment.obj>
More information about the Binutils
mailing list