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 2/2] gas: consistently emit diagnostics for non-zero data emission to .bss/.struct


On Mon, Dec 07, 2015 at 07:42:26AM -0700, Jan Beulich wrote:
> gas/
> 2015-12-07  Jan Beulich  <jbeulich@suse.com>
> 
> 	* read.c (in_bss): New.
> 	(do_align): Use it to also warn for non-zero fill in .bss.
> 	(do_org): Likewise.
> 	(s_space): Likewise.
> 	(s_fill): Error on bad use in .bss/.struct.
> 	(float_cons): Likewise.
> 	(emit_leb128_expr): Likewise.
> 	(emit_expr_with_reloc): Defer handling use inside .struct. Also
> 	error on non-zero item added to .bss.
> 	(stringer_append_char): Error on non-zero character.
> 
> gas/
> 2015-12-07  Jan Beulich  <jbeulich@suse.com>
> 
> 	* gas/elf/bad-bss.d, gas/elf/bad-bss.err: New.
> 	* gas/elf/bss.d, gas/elf/bss.s: New.
> 	* gas/elf/elf.exp: Run new tests.

OK.

-- 
Alan Modra
Australia Development Lab, IBM


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