SH assembler emits incorrect warnings

Alexandre Oliva aoliva@redhat.com
Fri Feb 9 10:12:00 GMT 2001


Ever since the following patch was installed, a sh-elf toolchain will
emit a number of warnings whenever a constant in debugging info,
encoded with .[248]byte, happens to come up mis-aligned.

2000-12-28  Richard Henderson  <rth@redhat.com>

	* config/tc-sh.c (sh_cons_align): Use rs_align_test.
	(sh_handle_align): Likewise.  Handle rs_align_code.
	(sh_do_align): Remove.
	* config/tc-sh.h (md_do_align): Remove.
	(MAX_MEM_FOR_RS_ALIGN_CODE): New.

Here's a patch that gets us rid of the inappropriate warnings.  While
I was at it, I introduced .uaquad, that seems like a reasonable
parallel to .quad.

Ok to install in release branch and mainline?



More information about the Binutils mailing list