binutils-gdb/include/elf
Denis Chertykov e4ef1b6c3f bfd/ChangeLog
* elf32-avr.c: Add DIFF relocations for AVR.
	(avr_final_link_relocate): Handle the DIFF relocs.
	(bfd_elf_avr_diff_reloc): New.
	(elf32_avr_is_diff_reloc): New.
	(elf32_avr_adjust_diff_reloc_value): Reduce difference value.
	(elf32_avr_relax_delete_bytes): Recompute difference after deleting
	bytes.

	* reloc.c: Add BFD_RELOC_AVR_DIFF8/16/32 relocations

gas/ChangeLog

	* config/tc-avr.c: Add new flag mlink-relax.
	(md_show_usage): Add flag and help text.
	(md_parse_option): Record whether link relax is turned on.
	(relaxable_section): New.
	(avr_validate_fix_sub): New.
	(avr_force_relocation): New.
	(md_apply_fix): Generate DIFF reloc.
	(avr_allow_local_subtract): New.

	* config/tc-avr.h (TC_LINKRELAX_FIXUP): Define to 0.
	(TC_FORCE_RELOCATION): Define.
	(TC_FORCE_RELOCATION_SUB_SAME): Define.
	(TC_VALIDATE_FIX_SUB): Define.
	(avr_force_relocation): Declare.
	(avr_validate_fix_sub): Declare.
	(md_allow_local_subtract): Define.
	(avr_allow_local_subtract): Declare.

gas/testsuite/ChangeLog

	* gas/avr/diffreloc_withrelax.d: New testcase.
	* gas/avr/noreloc_withoutrelax.d: Likewise.
	* gas/avr/relax.s: Likewise.

include/ChangeLog

	* elf/avr.h: Add new DIFF relocs.

ld/testsuite/ChangeLog

	* ld-avr/norelax_diff.d: New testcase.
	* ld-avr/relax_diff.d: Likewise.
	* ld-avr/relax.s: Likewise.
2014-04-10 19:50:33 +04:00
..
aarch64.h Update copyright years 2014-03-05 22:16:15 +10:30
alpha.h Update copyright years 2014-03-05 22:16:15 +10:30
arc.h Update copyright years 2014-03-05 22:16:15 +10:30
arm.h Update copyright years 2014-03-05 22:16:15 +10:30
avr.h bfd/ChangeLog 2014-04-10 19:50:33 +04:00
bfin.h Update copyright years 2014-03-05 22:16:15 +10:30
ChangeLog Update copyright years 2014-03-05 22:16:15 +10:30
ChangeLog-9103 Add copyright notices 2012-12-10 12:48:03 +00:00
common.h Update copyright years 2014-03-05 22:16:15 +10:30
cr16.h Update copyright years 2014-03-05 22:16:15 +10:30
cr16c.h Update copyright years 2014-03-05 22:16:15 +10:30
cris.h Update copyright years 2014-03-05 22:16:15 +10:30
crx.h Update copyright years 2014-03-05 22:16:15 +10:30
d10v.h Update copyright years 2014-03-05 22:16:15 +10:30
d30v.h Update copyright years 2014-03-05 22:16:15 +10:30
dlx.h Update copyright years 2014-03-05 22:16:15 +10:30
dwarf.h Update copyright years 2014-03-05 22:16:15 +10:30
epiphany.h Update copyright years 2014-03-05 22:16:15 +10:30
external.h Update copyright years 2014-03-05 22:16:15 +10:30
fr30.h Update copyright years 2014-03-05 22:16:15 +10:30
frv.h Update copyright years 2014-03-05 22:16:15 +10:30
h8.h Update copyright years 2014-03-05 22:16:15 +10:30
hppa.h Update copyright years 2014-03-05 22:16:15 +10:30
i370.h Update copyright years 2014-03-05 22:16:15 +10:30
i386.h Update copyright years 2014-03-05 22:16:15 +10:30
i860.h Update copyright years 2014-03-05 22:16:15 +10:30
i960.h Update copyright years 2014-03-05 22:16:15 +10:30
ia64.h Update copyright years 2014-03-05 22:16:15 +10:30
internal.h Update copyright years 2014-03-05 22:16:15 +10:30
ip2k.h Update copyright years 2014-03-05 22:16:15 +10:30
iq2000.h Update copyright years 2014-03-05 22:16:15 +10:30
lm32.h Update copyright years 2014-03-05 22:16:15 +10:30
m32c.h Update copyright years 2014-03-05 22:16:15 +10:30
m32r.h Update copyright years 2014-03-05 22:16:15 +10:30
m68hc11.h Update copyright years 2014-03-05 22:16:15 +10:30
m68k.h Update copyright years 2014-03-05 22:16:15 +10:30
mcore.h Update copyright years 2014-03-05 22:16:15 +10:30
mep.h Update copyright years 2014-03-05 22:16:15 +10:30
metag.h Update copyright years 2014-03-05 22:16:15 +10:30
microblaze.h Update copyright years 2014-03-05 22:16:15 +10:30
mips.h Update copyright years 2014-03-05 22:16:15 +10:30
mmix.h Update copyright years 2014-03-05 22:16:15 +10:30
mn10200.h Update copyright years 2014-03-05 22:16:15 +10:30
mn10300.h Update copyright years 2014-03-05 22:16:15 +10:30
moxie.h Update copyright years 2014-03-05 22:16:15 +10:30
msp430.h Update copyright years 2014-03-05 22:16:15 +10:30
mt.h Update copyright years 2014-03-05 22:16:15 +10:30
nds32.h Update copyright years 2014-03-05 22:16:15 +10:30
nios2.h Update copyright years 2014-03-05 22:16:15 +10:30
openrisc.h Update copyright years 2014-03-05 22:16:15 +10:30
or32.h Update copyright years 2014-03-05 22:16:15 +10:30
pj.h Update copyright years 2014-03-05 22:16:15 +10:30
ppc64.h Update copyright years 2014-03-05 22:16:15 +10:30
ppc.h Update copyright years 2014-03-05 22:16:15 +10:30
reloc-macros.h Update copyright years 2014-03-05 22:16:15 +10:30
rl78.h Update copyright years 2014-03-05 22:16:15 +10:30
rx.h Update copyright years 2014-03-05 22:16:15 +10:30
s390.h Update copyright years 2014-03-05 22:16:15 +10:30
score.h Update copyright years 2014-03-05 22:16:15 +10:30
sh.h Update copyright years 2014-03-05 22:16:15 +10:30
sparc.h Update copyright years 2014-03-05 22:16:15 +10:30
spu.h Update copyright years 2014-03-05 22:16:15 +10:30
tic6x-attrs.h Update copyright years 2014-03-05 22:16:15 +10:30
tic6x.h Update copyright years 2014-03-05 22:16:15 +10:30
tilegx.h Update copyright years 2014-03-05 22:16:15 +10:30
tilepro.h Update copyright years 2014-03-05 22:16:15 +10:30
v850.h Update copyright years 2014-03-05 22:16:15 +10:30
vax.h Update copyright years 2014-03-05 22:16:15 +10:30
vxworks.h Update copyright years 2014-03-05 22:16:15 +10:30
x86-64.h Update copyright years 2014-03-05 22:16:15 +10:30
xc16x.h Update copyright years 2014-03-05 22:16:15 +10:30
xgate.h Update copyright years 2014-03-05 22:16:15 +10:30
xstormy16.h Update copyright years 2014-03-05 22:16:15 +10:30
xtensa.h Update copyright years 2014-03-05 22:16:15 +10:30