This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATH] 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.

Thanks 
- Jan


Attachment: binutils-2.22.warn_nowarn.patch
Description: binutils-2.22.warn_nowarn.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]