binutils-gdb/ld/emultempl
Jakub Jelinek 36af4a4e51 bfd/
* elflink.h (elf_link_add_object_symbols): Use !info->executable
	instead of info->shared where appropriate.
	(bfd_elfNN_size_dynamic_sections, elf_link_output_extsym): Likewise.
	* elflink.c (_bfd_elf_create_got_section): Likewise.
	(_bfd_elf_link_create_dynamic_sections): Likewise.
	(_bfd_elf_link_assign_sym_version): Likewise.
	* elf32-i386.c (elf_i386_size_dynamic_sections): Create .interp section
	and DT_DEBUG dynamic tag even for position independent executables.
	* elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise.
	* elf32-s390.c (elf_s390_size_dynamic_sections: Likewise.
	* elf64-ppc.c (ppc64_elf_size_dynamic_sections: Likewise.
	* elf64-s390.c (elf_s390_size_dynamic_sections: Likewise.
	* elf64-x86-64.c (elf64_x86_64_size_dynamic_sections: Likewise.
	* elfxx-ia64.c (elfNN_ia64_size_dynamic_sections: Likewise.
	* elf32-sparc.c (elf32_sparc_size_dynamic_sections: Likewise.
	* elf64-alpha.c (elf64_alpha_size_dynamic_sections: Likewise.
	* elf64-sparc.c (sparc64_elf_size_dynamic_sections: Likewise.
include/
	* bfdlink.h (struct bfd_link_info): Add pie and executable
	bits.
ld/
	* lexsup.c (OPTION_PIE): Define.
	(ld_options): Add -pie and --pic-executable options.
	(parse_args): Handle OPTION_PIE.
	* ldmain.c (main): Initialize link_info.pie and
	link_info.executable.
	* genscripts.sh: Generate PIE scripts.
	* ld.texinfo: Document -pie and --pic-executable options.
	* emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
	(gld${EMULATION_NAME}_place_orphan): Likewise.
	(gld${EMULATION_NAME}_get_script): Include PIE scripts.
	* scripttempl/elf.sc: In PIE scripts set . the same way as in
	shared scripts.
	* emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
	* emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
	* emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
	* emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
	* emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
	* emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
	* emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
	* emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
	* emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
	* emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
	* emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
2003-05-30 15:50:12 +00:00
..
aix.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
alphaelf.em * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define. 2003-03-02 22:07:10 +00:00
armcoff.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
armelf_oabi.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
armelf.em (arm_elf_before_allocation): Replace ASSERT with a test for a NULL 2003-05-30 08:19:30 +00:00
astring.sed
beos.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
elf32.em bfd/ 2003-05-30 15:50:12 +00:00
generic.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
gld960.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
gld960c.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
hppaelf.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
linux.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
lnk960.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
m68hc1xelf.em * emultempl/m68hc1xelf.em: New file to generate far trampolines on 2003-04-19 08:26:38 +00:00
m68kcoff.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
m68kelf.em
mipsecoff.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
mipself.em
mmix-elfnmmo.em s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify 2002-11-30 08:39:46 +00:00
mmixelf.em s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify 2002-11-30 08:39:46 +00:00
mmo.em s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify 2002-11-30 08:39:46 +00:00
needrelax.em s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify 2002-11-30 08:39:46 +00:00
netbsd.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
ostring.sed
pe.em Replace <ctype.h> with "safe-ctype.h" 2003-05-29 15:05:41 +00:00
ppc32elf.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
ppc64elf.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
README
sh64elf.em include/elf/ChangeLog 2003-01-23 11:51:35 +00:00
sunos.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
ticoff.em * ldemul.c: Include getopt.h. 2003-02-28 22:55:11 +00:00
vanilla.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
xtensaelf.em Add Xtensa port 2003-04-01 15:50:31 +00:00

The files in this directory are sourced by genscripts.sh, after
setting some variables to substitute in, to produce
C source files that contain jump tables for each emulation.