clean up Xtensa GAS relaxation code

Bob Wilson bwilson@tensilica.com
Fri Feb 2 23:28:00 GMT 2007


The code in xtensa-relax.c included partial support for rewriting assembly 
instructions with patterns involved multiple labels and/or literals, but that 
feature was never needed nor fully implemented.  This patch removes the code 
related to that feature.  Tested with an xtensa-elf build and committed.

gas/
	* config/xtensa-relax.h (struct build_instr): Delete id field.
	* config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
	and LABEL tokens.
	(append_literal_op, append_label_op): Remove litnum/labnum arguments;
	set op_data fields to zero.
	(parse_id_constant): Delete.
	(build_transition): Remove code to handle numbered literals and labels.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gas-relax-cleanup.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20070202/af733b93/attachment.ksh>


More information about the Binutils mailing list