old-cross-binutils/ld/scripttempl
Maciej W. Rozycki 1bbce13264 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:46 +00:00
..
aix.sc 2011-11-03 Tristan Gingold <gingold@adacore.com> 2011-11-03 11:53:39 +00:00
alpha.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
alphavms.sc * scripttempl/alphavms.sc: Add .debug_macro section. 2012-06-29 07:58:46 +00:00
aout.sc
armaout.sc
armbpabi.sc ld/ 2013-04-28 14:52:55 +00:00
armcoff.sc * scripttempl/armcoff.sc: Revert 2010-09-22 change. 2010-09-24 04:41:12 +00:00
avr.sc ld/ 2013-04-28 14:52:55 +00:00
crisaout.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
delta68.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
dlx.sc
DWARF.sc * elflink.c (_bfd_elf_gc_mark_extra_sections): Remove mark from 2013-04-29 13:38:59 +00:00
elf.sc bfd/ 2013-06-24 23:55:46 +00:00
elf32cr16.sc ld/ 2013-04-28 14:52:55 +00:00
elf32cr16c.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
elf32crx.sc ld/ 2013-04-28 14:52:55 +00:00
elf32msp430.sc * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
elf32msp430_3.sc * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
elf32sh-symbian.sc ld/ 2013-04-28 14:52:55 +00:00
elf32xc16x.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
elf32xc16xl.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
elf32xc16xs.sc PR ld/6766 2009-09-13 07:19:18 +00:00
elf64hppa.sc ld/ 2013-04-28 14:52:55 +00:00
elf_chaos.sc ld/ 2013-04-28 14:52:55 +00:00
elfd10v.sc ld/ 2013-04-28 14:52:55 +00:00
elfd30v.sc ld/ 2013-04-28 14:52:55 +00:00
elfi370.sc ld/ 2013-04-28 14:52:55 +00:00
elfm68hc11.sc ld/ 2013-04-28 14:52:55 +00:00
elfm68hc12.sc ld/ 2013-04-28 14:52:55 +00:00
elfmicroblaze.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
elfxgate.sc ld/ 2013-04-28 14:52:55 +00:00
elfxtensa.sc ld/ 2013-04-28 14:52:55 +00:00
epiphany_4x4.sc ld/ 2013-04-28 14:52:55 +00:00
epocpe.sc Fix spelling mistakes. 2011-06-02 13:43:24 +00:00
h8300.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300h.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300hn.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300s.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300sn.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300sx.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300sxn.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8500.sc
h8500b.sc
h8500c.sc
h8500m.sc
h8500s.sc
hppaelf.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
i386beos.sc ld/ 2013-04-28 14:52:55 +00:00
i386coff.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
i386go32.sc ld/ 2013-04-28 14:52:55 +00:00
i386msdos.sc
i860coff.sc
i960.sc
ia64vms.sc ld/ 2013-04-28 14:52:55 +00:00
ip2k.sc ld/ 2013-04-28 14:52:55 +00:00
iq2000.sc ld/ 2013-04-28 14:52:55 +00:00
m68kaux.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
m68kcoff.sc
m88kbcs.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
mcorepe.sc Fix spelling mistakes. 2011-06-02 13:43:24 +00:00
mep.sc ld/ 2013-04-28 14:52:55 +00:00
mips.sc ld/ 2012-08-06 22:40:36 +00:00
mipsbsd.sc
mmo.sc ld/ 2013-04-28 14:52:55 +00:00
moxie.sc Add new binutils target: moxie 2009-04-16 15:39:48 +00:00
nw.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
or32.sc
pe.sc ChangeLog bfd 2012-10-18 17:42:29 +00:00
pep.sc * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section. 2013-02-15 11:08:01 +00:00
pj.sc
ppcpe.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
psos.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
README Add copyright notices 2012-12-17 16:56:12 +00:00
riscix.sc
sh.sc
sparccoff.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
st2000.sc
tic4xcoff.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
tic30aout.sc
tic30coff.sc
tic54xcoff.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
tic80coff.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
v850.sc ld/ 2013-04-28 14:52:55 +00:00
v850_rh850.sc ld/ 2013-04-28 14:52:55 +00:00
vanilla.sc
w65.sc
xstormy16.sc ld/ 2013-04-28 14:52:55 +00:00
z80.sc
z8000.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

The files in this directory are linker script templates.
genscripts.sh sets some shell variables, then sources
EMULATION.sc, to generate EMULATION.{x,xr,xu,xn,xbn} -- the script
files for default, -r, -Ur, -n, -N.

Copyright (C) 2012 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.