binutils-gdb/include
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
..
aout Remove redundant defintions of BYTES_IN_WORD and add conditional defintion in 2003-03-06 16:45:42 +00:00
coff Add support for h8300hn and h8300sn 2003-04-24 12:36:08 +00:00
elf . 2003-05-21 00:57:35 +00:00
gdb Index: gdb/ChangeLog 2003-05-07 19:21:13 +00:00
mpw Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
nlm * common.h (NLM_CAT, NLM_CAT3): Don't define. 2001-10-02 05:59:56 +00:00
opcode 2003-05-23 Jason Eckhardt <jle@rice.edu> 2003-05-24 04:22:23 +00:00
COPYING * COPYING: Update to current 2000-12-19 22:01:20 +00:00
ChangeLog bfd/ 2003-05-30 15:50:12 +00:00
MAINTAINERS add MAINTAINERS files 2000-07-05 19:28:06 +00:00
alloca-conf.h Add alloca-conf.h from libiberty. 2000-09-28 08:00:54 +00:00
ansidecl.h merge from gcc 2003-03-17 23:09:54 +00:00
bfdlink.h bfd/ 2003-05-30 15:50:12 +00:00
bin-bugs.h Update address for bug reports. 2001-01-09 21:05:35 +00:00
bout.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
demangle.h merge from gcc 2002-06-25 01:03:52 +00:00
dis-asm.h Add Xtensa port 2003-04-01 15:50:31 +00:00
dyn-string.h merge from gcc 2002-04-01 22:01:20 +00:00
fibheap.h merge from gcc 2002-06-25 01:03:52 +00:00
filenames.h * filenames.h: Add cygwin to the list of dosish style path systems. 2001-10-16 12:47:31 +00:00
floatformat.h Remove floatformat_arm_ext. 2002-03-06 06:29:42 +00:00
fnmatch.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
fopen-bin.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
fopen-same.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
fopen-vms.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
gdbm.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
getopt.h merge from gcc 2002-10-27 01:02:05 +00:00
hashtab.h s/burtle/iterative 2003-05-07 20:30:13 +00:00
hp-symtab.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
ieee.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
libiberty.h libiberty/ChangeLog: 2003-05-15 19:08:25 +00:00
md5.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
oasys.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
objalloc.h * objalloc.h (OBJALLOC_ALIGN): Define using offsetof. 2001-09-18 09:59:28 +00:00
obstack.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
os9k.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
partition.h merge from gcc 2002-10-27 01:02:05 +00:00
progress.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
safe-ctype.h merge from gcc 2001-10-24 20:32:09 +00:00
sort.h merge from gcc 2002-06-25 01:03:52 +00:00
splay-tree.h merge from gcc 2003-01-10 03:27:26 +00:00
symcat.h Synchronise with copyright dates on FSF GCC versions of these files 2001-03-14 19:45:29 +00:00
ternary.h merge from gcc 2001-05-08 14:35:18 +00:00
xregex.h merge from gcc 2001-08-02 23:27:47 +00:00
xregex2.h merge from gcc 2002-04-17 01:03:04 +00:00
xtensa-config.h * xtensa-config.h: Remove comment indicating that this is a 2003-04-02 16:55:26 +00:00
xtensa-isa-internal.h * xtensa-isa-internal.h (xtensa_isa_module_struct): Remove const on 2003-05-09 11:36:09 +00:00
xtensa-isa.h Add Xtensa port 2003-04-01 15:50:31 +00:00