binutils-gdb/include
Walter Lee e5b95258d9 Add support for constructing pc-relative addresses to the plt, by
adding the necessary assembly operators and relocations.

bfd:
	* reloc.c (Add BFD_RELOC_TILEGX_IMM16_X0_HW0_PLT_PCREL,
	BFD_RELOC_TILEGX_IMM16_X1_HW0_PLT_PCREL,
	BFD_RELOC_TILEGX_IMM16_X0_HW1_PLT_PCREL,
	BFD_RELOC_TILEGX_IMM16_X1_HW1_PLT_PCREL,
	BFD_RELOC_TILEGX_IMM16_X0_HW2_PLT_PCREL,
	BFD_RELOC_TILEGX_IMM16_X1_HW2_PLT_PCREL,
	BFD_RELOC_TILEGX_IMM16_X0_HW3_PLT_PCREL,
	BFD_RELOC_TILEGX_IMM16_X1_HW3_PLT_PCREL,
	BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PLT_PCREL,
	BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PLT_PCREL,
	BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PLT_PCREL,
	BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PLT_PCREL,
	BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PLT_PCREL,
	BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PLT_PCREL): new relocations.
	* elfxx-tilegx.c (tilegx_elf_howto_table): Handle new relocations.
	(tilegx_reloc_map): Ditto.
	(reloc_to_create_func): Ditto.
	(tilegx_elf_check_relocs): Ditto.
	(tilegx_elf_gc_sweep_hook): Ditto.
	(tilegx_elf_relocate_section): Ditto.
	* libbfd.h: Regenerate.
	* bfd-in2.h: Regenerate.

gas:
	* tc-tilegx.c (O_hw0_plt): Define operator.
	(O_hw1_plt): Ditto.
	(O_hw1_last_plt): Ditto.
	(O_hw2_last_plt): Ditto.
	(md_begin): Handle new operators.
	(emit_tilegx_instruction): Ditto.
	(md_apply_fix): Ditto.
	* doc/c-tilegx.texi: Document new operators.

include/elf:
	* tilegx.h (R_TILEGX_IMM16_X0_HW0_PLT_PCREL): New relocation.
	(R_TILEGX_IMM16_X1_HW0_PLT_PCREL): Ditto.
	(R_TILEGX_IMM16_X0_HW1_PLT_PCREL): Ditto.
	(R_TILEGX_IMM16_X1_HW1_PLT_PCREL): Ditto.
	(R_TILEGX_IMM16_X0_HW2_PLT_PCREL): Ditto.
	(R_TILEGX_IMM16_X1_HW2_PLT_PCREL): Ditto.
	(R_TILEGX_IMM16_X0_HW3_PLT_PCREL): Ditto.
	(R_TILEGX_IMM16_X1_HW3_PLT_PCREL): Ditto.
	(R_TILEGX_IMM16_X0_HW0_LAST_PLT_PCREL): Ditto.
	(R_TILEGX_IMM16_X1_HW0_LAST_PLT_PCREL): Ditto.
	(R_TILEGX_IMM16_X0_HW1_LAST_PLT_PCREL): Ditto.
	(R_TILEGX_IMM16_X1_HW1_LAST_PLT_PCREL): Ditto.
	(R_TILEGX_IMM16_X0_HW2_LAST_PLT_PCREL	): Ditto.
	(R_TILEGX_IMM16_X1_HW2_LAST_PLT_PCREL): Ditto.
2012-08-28 02:43:22 +00:00
..
aout
cgen
coff Fix spelling mistakes. 2011-06-02 13:43:24 +00:00
elf Add support for constructing pc-relative addresses to the plt, by 2012-08-28 02:43:22 +00:00
gdb PR 14125 2012-06-23 22:23:47 +00:00
mach-o deal with endian-ness in mach-o non-scattered relocs. 2012-02-23 16:29:56 +00:00
nlm
opcode * gas/config/tc-arm.c (check_obsolete): New function. 2012-08-24 07:52:49 +00:00
som
vms 2012-03-08 Tristan Gingold <gingold@adacore.com> 2012-03-08 14:14:52 +00:00
alloca-conf.h
ansidecl.h * obstack.h [!GNUC] (obstack_free): Avoid cast to int. 2011-10-22 01:35:29 +00:00
bfdlink.h bfd/ 2012-04-09 16:27:18 +00:00
binary-io.h
bout.h
ChangeLog Patch adds support to allow plugins to map selected subset of sections to unique 2012-08-24 18:35:35 +00:00
ChangeLog-9103
COPYING
COPYING3
demangle.h merge from gcc 2012-01-07 02:53:16 +00:00
dis-asm.h Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
dwarf2.def merge from gcc 2012-06-19 00:03:49 +00:00
dwarf2.h merge from gcc 2012-06-08 19:01:23 +00:00
dyn-string.h
fibheap.h
filenames.h include/ 2012-07-13 23:39:46 +00:00
floatformat.h merge from gcc 2011-01-03 21:05:58 +00:00
fnmatch.h
fopen-bin.h
fopen-same.h
fopen-vms.h
gdbm.h
getopt.h
hashtab.h
hp-symtab.h
ieee.h
leb128.h * leb128.h: #include stdint.h, inttypes.h. 2012-05-24 01:18:15 +00:00
libiberty.h merge from gcc 2011-09-28 20:01:45 +00:00
lto-symtab.h
MAINTAINERS
md5.h
oasys.h
objalloc.h
obstack.h * obstack.h [!GNUC] (obstack_free): Avoid cast to int. 2011-10-22 01:35:29 +00:00
os9k.h
partition.h
plugin-api.h Patch adds support to allow plugins to map selected subset of sections to unique 2012-08-24 18:35:35 +00:00
progress.h
safe-ctype.h
sha1.h
simple-object.h merge from gcc 2010-11-17 02:03:43 +00:00
sort.h
splay-tree.h merge from gcc 2012-04-10 17:07:35 +00:00
symcat.h
timeval-utils.h merge from gcc 2011-09-28 20:01:45 +00:00
xregex2.h
xregex.h merge from gcc 2011-07-25 17:11:48 +00:00
xtensa-config.h merge from gcc 2011-01-03 21:05:58 +00:00
xtensa-isa-internal.h
xtensa-isa.h