[patch] avr-binutils changes

Nick Clifton nickc@cygnus.com
Mon Jul 3 15:27:00 GMT 2000


Hi Marek,

: bfd/ChangeLog:
: 
: 2000-07-03  Marek Michalkiewicz  <marekm@linux.org.pl>
: 
: 	* elf32-avr.c (bfd_elf32_bfd_reloc_type_lookup):
: 	Add ATTRIBUTE_UNUSED to unused arguments to avoid warnings.
: 	(avr_info_to_howto_rela): Likewise.
: 	(elf32_avr_gc_mark_hook): Likewise.
: 	(elf32_avr_gc_sweep_hook): Likewise.
: 	(elf32_avr_relocate_section): Likewise.
: 
: 
: gas/ChangeLog:
: 
: 2000-07-03  Marek Michalkiewicz  <marekm@linux.org.pl>
: 
: 	* config/tc-avr.c: Change _ () to _() around all strings marked
: 	for translation (exception from the usual coding style).
: 	(avr_opt): New struct variable, how the new switches are set.
: 	(OPTION_MMCU): Define as 'm' and actually use.
: 	(md_longopts): Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
: 	(show_mcu_list): New function, display the list of known MCUs.
: 	(md_show_usage): Document the new switches.  Call show_mcu_list.
: 	(avr_set_arch): Change 'm' to OPTION_MMCU.
: 	(md_parse_option): Call show_mcu_list if unknown MCU specified.
: 	Handle the new switches.
: 	(avr_operands): Disable warnings for undefined combinations of
: 	operands if -mall-opcodes.  Disable warnings for skipping two-word
: 	instructions if enhanced core or -mno-skip-bug.
: 	(avr_operand): Accept all addressing modes on avr1 if -mall-opcodes.
: 	(md_apply_fix3): Reject 8K wrap if >8K or -mno-wrap.
: 	(md_assemble): Accept opcodes not supported by MCU if -mall-opcodes.
: 	(avr_ldi_expression): Warn about implicit lo8().
: 	* config/tc-avr.h (md_pcrel_from_section): Add prototype.
: 
: 
: opcodes/ChangeLog:
: 
: 2000-07-03  Marek Michalkiewicz  <marekm@linux.org.pl>
: 
: 	* avr-dis.c (avr_operand): Change _ () to _() around all strings
: 	marked for translation (exception from the usual coding style).
: 	(print_insn_avr): Initialize insn2 to avoid warnings.

Approved and applied.

Cheers
	Nick


More information about the Binutils mailing list