This is the mail archive of the 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]

Re: [PATH] gas: .warn and .nowarn pseudo-ops.

Hi Jan,

1. Do you have an FSF binutils copyright assignment ?

No I do not have a copyright assignment. Please provide me the required documents.

Certainly. Please fill out the attached form and email it to the address supplied.

    3.  You should also provide a test case for the gas

Unknown territory. Could you point me out a few examples that do something similar like you're requesting?

Sure. For example take a look at the file gas/testsuite/gas/all/warn-1.s

To save you some time, I have attached a test case for you. Just include it in your revised patch (once the copyright assignment is in place) and you should be golden.


Attachment: request-assign.future
Description: Text document

*** /dev/null	2012-04-02 08:12:46.009102469 +0100
--- gas/testsuite/gas/all/warn-2.s	2012-04-02 11:28:37.329730704 +0100
*** 0 ****
--- 1,15 ----
+ ;# Test .nowarn and .warn
+ ;# { dg-do assemble }
+  .warning "warnings are on"	  ;# { dg-warning "warnings are on" }
+  .error   "errors are on"	  ;# { dg-error   "errors are on" }
+ .nowarn
+  .warning "warnings are off"	  ;# { dg-bogus "warnings are off" }
+  .error   "errors are still on"   ;# { dg-error "errors are still on" }
+ .warn
+  .warning "warnings are on again" ;# { dg-warning "warnings are on again" }
+  .error   "errors are unchanged"  ;# { dg-error "errors are unchanged" }

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