gas: consistently emit diagnostics for non-zero data emission to .bss/.struct
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 69e10610791cd8c636481fac21ba0b73d3556a6f..4dcb9cd0dc6b80d6223482e3219111f5960147b6 100644 (file)
@@ -1,3 +1,16 @@
+2015-12-08  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.
+
 2015-12-08  Jan Beulich  <jbeulich@suse.com>
 
        * read.c (stringer): Move absolute section check up. Return
This page took 0.023416 seconds and 4 git commands to generate.