binutils-gdb/ld/emultempl
Alan Modra 3074964fcf Relative DT_RPATH/DT_RUNPATH vs. sysroot capable ld.
This fixes two problems.  First, the --sysroot option wasn't available
with a ld configured without --with-sysroot, a historical accident.
This led to people configuring binutils with --with-sysroot=/ in order
to enable sysroot support, which exposes a case where ld wrongly
prepends the sysroot to a relative path.

	PR ld/18992
	* ldmain.c (main): Always enable --sysroot.
	* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
	prepend sysroot to relative rpath/runpath.
2015-09-24 22:35:04 +09:30
..
aarch64elf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
aix.em Remove link_info.pic 2015-08-19 12:53:54 +09:30
alphaelf.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
armcoff.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
armelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
astring.sed
avrelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
beos.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
bfin.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
cr16elf.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
crxelf.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
elf32.em Relative DT_RPATH/DT_RUNPATH vs. sysroot capable ld. 2015-09-24 22:35:04 +09:30
elf-generic.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
epiphanyelf_4x4.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
genelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
generic.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
gld960.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
gld960c.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
hppaelf.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
ia64elf.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
irix.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
linux.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
lnk960.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
m68hc1xelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
m68kcoff.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
m68kelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
metagelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
mipself.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
mmix-elfnmmo.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mmixelf.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mmo.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
msp430.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
nds32elf.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
needrelax.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
netbsd.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
nios2elf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
ostring.sed
pe.em Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
pep.em Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
ppc32elf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
ppc64elf.em Add PowerPC64 ld --tls-get-addr-optimize. 2015-09-18 16:38:03 +09:30
README ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
rxelf.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
scoreelf.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
sh64elf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
solaris2.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
spu_icache.o_c
spu_icache.S
spu_ovl.o_c
spu_ovl.S ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
spuelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
sunos.em Remove link_info.pic 2015-08-19 12:53:54 +09:30
tic6xdsbt.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
ticoff.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
v850elf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
vanilla.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
vms.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
vxworks.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
xtensaelf.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
z80.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30

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 sourced by genscripts.sh, after
setting some variables to substitute in, to produce
C source files that contain jump tables for each emulation.

Copyright (C) 2012-2015 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.