newlib/include/elf
Maciej W. Rozycki c024ce1422 bfd/
* elfxx-mips.h (_bfd_mips_elf_get_synthetic_symtab): New
	prototype.
	* elf32-mips.c (elf_backend_plt_sym_val): Remove macro.
	(bfd_elf32_get_synthetic_symtab): New macro.
	* elfxx-mips.c (plt_entry): New structure.
	(mips_elf_link_hash_entry): Add use_plt_entry member.
	(mips_elf_link_hash_table): Rename plt_entry_size member to
	plt_mips_entry_size.  Add plt_comp_entry_size, plt_mips_offset,
	plt_comp_offset, plt_got_index entries and plt_header_is_comp
	members.
	(STUB_LW_MICROMIPS, STUB_MOVE_MICROMIPS): New macros.
	(STUB_LUI_MICROMIPS, STUB_JALR_MICROMIPS): Likewise.
	(STUB_ORI_MICROMIPS, STUB_LI16U_MICROMIPS): Likewise.
	(STUB_LI16S_MICROMIPS): Likewise.
	(MICROMIPS_FUNCTION_STUB_NORMAL_SIZE): Likewise.
	(MICROMIPS_FUNCTION_STUB_BIG_SIZE): Likewise.
	(micromips_o32_exec_plt0_entry): New variable.
	(mips16_o32_exec_plt_entry): Likewise.
	(micromips_o32_exec_plt_entry): Likewise.
	(mips_elf_link_hash_newfunc): Initialize use_plt_entry.
	(mips_elf_output_extsym): Update to use gotplt_union's plist
	member rather than offset.
	(mips_elf_gotplt_index): Likewise.  Remove the VxWorks
	restriction.  Use MIPS_ELF_GOT_SIZE to calculate GOT address.
	(mips_elf_count_got_symbols): Update to use gotplt_union's plist
	member rather than offset.
	(mips_elf_calculate_relocation): Handle MIPS16/microMIPS PLT
	entries.
	(_bfd_mips_elf_create_dynamic_sections): Don't set PLT sizes
	here.
	(mips_elf_make_plt_record): New function.
	(_bfd_mips_elf_check_relocs): Update comment.  Record occurences
	of JAL relocations that might need a PLT entry.
	(_bfd_mips_elf_adjust_dynamic_symbol): Update to use
	gotplt_union's plist member rather than offset.  Set individual
	PLT entry sizes here.  Handle MIPS16/microMIPS PLT entries.
	Don't set the symbol's value in the symbol table for PLT
	references here.  Don't set the PLT or PLT GOT section sizes
	here.
	(mips_elf_estimate_stub_size): Handle microMIPS stubs.
	(mips_elf_allocate_lazy_stub): Likewise.
	(mips_elf_lay_out_lazy_stubs): Likewise.  Define a _MIPS_STUBS_
	magic symbol.
	(mips_elf_set_plt_sym_value): New function.
	(_bfd_mips_elf_size_dynamic_sections): Set PLT header size and
	PLT and PLT GOT section sizes here.  Set the symbol values in
	the symbol table for PLT references here.  Handle microMIPS
	annotation of the _PROCEDURE_LINKAGE_TABLE_ magic symbol.
	(_bfd_mips_elf_finish_dynamic_symbol): Update to use
	gotplt_union's plist member rather than offset.  Handle
	MIPS16/microMIPS PLT entries.  Handle microMIPS stubs.
	(_bfd_mips_vxworks_finish_dynamic_symbol): Update to use
	gotplt_union's plist member rather than offset.  Use
	MIPS_ELF_GOT_SIZE to calculate GOT address.
	(mips_finish_exec_plt): Handle microMIPS PLT.  Return status.
	(_bfd_mips_elf_finish_dynamic_sections): Handle result from
	mips_finish_exec_plt.
	(_bfd_mips_elf_link_hash_table_create): Update to use
	gotplt_union's plist member rather than offset.
	(_bfd_mips_elf_get_synthetic_symtab): New function.

	include/elf/
	* mips.h (ELF_ST_IS_MIPS_PLT): Respect STO_MIPS16 setting.
	(ELF_ST_SET_MIPS_PLT): Likewise.

	gdb/
	* mips-tdep.c (mips_elf_make_msymbol_special): Handle MIPS16 and
	microMIPS synthetic symbols.

	ld/
	* emulparams/elf32btsmip.sh: Arrange for .got.plt to be placed
	as close to .plt as possible.
	* scripttempl/elf.sc: Handle $INITIAL_READWRITE_SECTIONS and
	$PLT_NEXT_DATA variables.

	ld/testsuite/
	* ld-mips-elf/jalx-2.dd: Update for microMIPS PLT support.
	* ld-mips-elf/pic-and-nonpic-3a.dd: Update for the _MIPS_STUBS_
	magic symbol.
	* ld-mips-elf/pic-and-nonpic-3b.dd: Likewise.
	* ld-mips-elf/pic-and-nonpic-6-n32.dd: Likewise.
	* ld-mips-elf/pic-and-nonpic-6-n64.dd: Likewise.
	* ld-mips-elf/pic-and-nonpic-6-o32.dd: Likewise.
	* ld-mips-elf/stub-dynsym-1-10000.d: Likewise.
	* ld-mips-elf/stub-dynsym-1-2fe80.d: Likewise.
	* ld-mips-elf/stub-dynsym-1-7fff.d: Likewise.
	* ld-mips-elf/stub-dynsym-1-8000.d: Likewise.
	* ld-mips-elf/stub-dynsym-1-fff0.d: Likewise.
	* ld-mips-elf/tlslib-o32.d: Likewise.

	opcodes/
	* mips-dis.c (is_mips16_plt_tail): New function.
	(print_insn_mips16): Handle MIPS16 PLT entry's GOT slot address
	word.
	(is_compressed_mode_p): Handle MIPS16/microMIPS PLT entries.
2013-06-24 23:55:45 +00:00
..
ChangeLog bfd/ 2013-06-24 23:55:45 +00:00
ChangeLog-9103 Add copyright notices 2012-12-10 12:48:00 +00:00
aarch64.h aarch64: Revert AArch64 ifunc changes. 2013-06-19 10:30:56 +00:00
alpha.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
arc.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
arm.h bfd: 2012-10-30 12:44:57 +00:00
avr.h PR 13503 2012-05-16 14:52:16 +00:00
bfin.h blackfin: add support for L1 code/data flags 2010-11-15 22:30:47 +00:00
common.h Add EM_INTEL205 to EM_INTEL209 2013-05-22 17:02:35 +00:00
cr16.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
cr16c.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
cris.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
crx.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
d10v.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
d30v.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
dlx.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
dwarf.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
epiphany.h bfd: 2011-10-27 14:27:16 +00:00
external.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
fr30.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
frv.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
h8.h * elf32-h8300 (h8_relax_section): Add new relaxation of mov 2013-03-21 16:08:06 +00:00
hppa.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
i370.h Implement generic SHF_EXCLUDE. 2010-05-18 03:31:06 +00:00
i386.h Define R_386_SIZE32/R_X86_64_SIZE32/R_X86_64_SIZE64 2013-01-16 20:31:57 +00:00
i860.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
i960.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
ia64.h 2011-06-09 Tristan Gingold <gingold@adacore.com> 2011-06-09 08:53:05 +00:00
internal.h include/elf/ 2011-03-14 15:54:57 +00:00
ip2k.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
iq2000.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
lm32.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
m32c.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
m32r.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
m68hc11.h * m68hc11.h: #define E_M68HC11_NO_BANK_WARNING 2012-08-02 20:08:54 +00:00
m68k.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
mcore.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
mep.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
metag.h * common.h: Fix case of "Meta". 2013-01-10 09:49:18 +00:00
microblaze.h Microblaze: Add support for handling TLS symbol suffixes and generating 2012-12-11 16:56:53 +00:00
mips.h bfd/ 2013-06-24 23:55:45 +00:00
mmix.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
mn10200.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
mn10300.h * mn10300.h (elf_mn10300_reloc_type): Add R_MN10300_TLS_GD, 2012-03-07 17:51:56 +00:00
moxie.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
msp430.h * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:14 +00:00
mt.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
nios2.h 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> 2013-02-06 23:22:18 +00:00
openrisc.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
or32.h Implement generic SHF_EXCLUDE. 2010-05-18 03:31:06 +00:00
pj.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
ppc.h Add support for PowerPC VLE. 2012-05-14 19:45:27 +00:00
ppc64.h include/elf/ 2011-10-10 13:21:05 +00:00
reloc-macros.h Fix spelling mistakes. 2011-06-02 13:43:23 +00:00
rl78.h [bfd] 2011-12-23 01:49:37 +00:00
rx.h 2012-11-09 Nick Clifton <nickc@redhat.com> 2012-11-09 17:00:42 +00:00
s390.h 2012-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2012-07-13 15:47:25 +00:00
score.h Add support for Score7 architecture. 2009-03-02 10:33:07 +00:00
sh.h 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:41 +00:00
sparc.h Add new ELF_SPARC_HWCAP_* defines for features found on SPARC-T4. 2012-04-27 18:00:52 +00:00
spu.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
tic6x-attrs.h bfd: 2010-11-02 14:36:37 +00:00
tic6x.h 2011-05-09 Paul Brook <paul@codesourcery.com> 2011-05-09 13:17:58 +00:00
tilegx.h Add support for constructing pc-relative addresses to the plt, by 2012-08-28 02:43:22 +00:00
tilepro.h Improve TLS support on TILE-Gx/TILEPro: 2012-02-25 22:24:21 +00:00
v850.h Add support for V850E3V5 architecture 2013-01-24 11:14:01 +00:00
vax.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
vxworks.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
x86-64.h Define R_386_SIZE32/R_X86_64_SIZE32/R_X86_64_SIZE64 2013-01-16 20:31:57 +00:00
xc16x.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
xgate.h Add support for Motorola XGATE embedded CPU 2012-05-03 13:12:06 +00:00
xstormy16.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
xtensa.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00