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]

Re: [PATCH] gas: require an operand to .startof.()/.sizeof.()


Hi Jan,

> gas/
> 2017-02-21  Jan Beulich  <jbeulich@suse.com>
> 
> 	* expr.c (operand): Handle missing operand to .startof.() and
> 	.sizeof.().
> 	* testsuite/gas/all/err-sizeof.s: New.

The cris architecture is not the only one affected by this new test.
The following are also affected:

 alpha-dec-vms 
 cr16-elf 
 crx-elf 
 d10v-elf 
 d30v-elf 
 epiphany-elf 
 fr30-elf 
 frv-elf 
 h8300-elf 
 h8300-rtems 
 i386-darwin 
 ip2k-elf 
 iq2000-elf 
 lm32-rtems4.10 
 m32c-elf 
 m32r-elf 
 m68hc11-elf 
 mep-elf 
 microblaze-elf 
 mn10200-elf 
 mn10300-elf 
 ms1-elf 
 msp430-elf 
 mt-elf 
 or1k-elf 
 pdp11-dec-aout 
 riscv32-elf 
 riscv64-elf 
 rl78-elf 
 rs6000-aix4.3.3 
 rx-elf 
 s390-linux 
 s390x-ibm-tpf 
 spu-elf 
 tilegx-linux-gnu 
 tilegxbe-linux-gnu 
 tilepro-elf 
 v850-elf 
 vax-netbsdelf 
 xc16x-elf 
 xgate-elf 
 xstormy16-elf 

Given the large number of targets affected, maybe the test itself needs
to be reconsidered ?  Or maybe split into two tests, one general one,
and one for targets which do support the difference of two symbols in an
expression ?

Cheers
  Nick
  


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