mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
* 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. |
||
---|---|---|
.. | ||
a29k.sh | ||
aix5ppc.sh | ||
aix5rs6.sh | ||
aixppc.sh | ||
aixrs6.sh | ||
alpha.sh | ||
arcelf.sh | ||
arm_epoc_pe.sh | ||
armaoutb.sh | ||
armaoutl.sh | ||
armcoff.sh | ||
armelf_fbsd.sh | ||
armelf_linux.sh | ||
armelf_nbsd.sh | ||
armelf_oabi.sh | ||
armelf.sh | ||
armelfb_linux.sh | ||
armelfb_nbsd.sh | ||
armelfb.sh | ||
armnbsd.sh | ||
armnto.sh | ||
armpe.sh | ||
avr1.sh | ||
avr2.sh | ||
avr3.sh | ||
avr4.sh | ||
avr5.sh | ||
avr23xx.sh | ||
avr44x4.sh | ||
avr85xx.sh | ||
avr1200.sh | ||
avr4433.sh | ||
avrmega103.sh | ||
avrmega161.sh | ||
avrmega603.sh | ||
coff_sparc.sh | ||
crisaout.sh | ||
criself.sh | ||
crislinux.sh | ||
d10velf.sh | ||
d30v_e.sh | ||
d30v_o.sh | ||
d30velf.sh | ||
delta68.sh | ||
ebmon29k.sh | ||
elf32_dlx.sh | ||
elf32_i860.sh | ||
elf32_i960.sh | ||
elf32_sparc.sh | ||
elf32b4300.sh | ||
elf32bmip.sh | ||
elf32bmipn32-defs.sh | ||
elf32bmipn32.sh | ||
elf32bsmip.sh | ||
elf32btsmip.sh | ||
elf32btsmipn32.sh | ||
elf32ebmip.sh | ||
elf32elmip.sh | ||
elf32fr30.sh | ||
elf32frv.sh | ||
elf32i370.sh | ||
elf32ip2k.sh | ||
elf32iq10.sh | ||
elf32iq2000.sh | ||
elf32l4300.sh | ||
elf32lmip.sh | ||
elf32lppc.sh | ||
elf32lppcnto.sh | ||
elf32lppcsim.sh | ||
elf32lsmip.sh | ||
elf32ltsmip.sh | ||
elf32ltsmipn32.sh | ||
elf32mcore.sh | ||
elf32openrisc.sh | ||
elf32ppc_fbsd.sh | ||
elf32ppc.sh | ||
elf32ppclinux.sh | ||
elf32ppcnto.sh | ||
elf32ppcsim.sh | ||
elf32ppcwindiss.sh | ||
elf32vax.sh | ||
elf32xstormy16.sh | ||
elf32xtensa.sh | ||
elf64_aix.sh | ||
elf64_ia64_fbsd.sh | ||
elf64_ia64.sh | ||
elf64_s390.sh | ||
elf64_sparc_fbsd.sh | ||
elf64_sparc.sh | ||
elf64alpha_fbsd.sh | ||
elf64alpha_nbsd.sh | ||
elf64alpha.sh | ||
elf64bmip.sh | ||
elf64btsmip.sh | ||
elf64hppa.sh | ||
elf64lppc.sh | ||
elf64ltsmip.sh | ||
elf64mmix.sh | ||
elf64ppc.sh | ||
elf_fbsd.sh | ||
elf_i386_be.sh | ||
elf_i386_chaos.sh | ||
elf_i386_fbsd.sh | ||
elf_i386_ldso.sh | ||
elf_i386.sh | ||
elf_s390.sh | ||
elf_x86_64_fbsd.sh | ||
elf_x86_64.sh | ||
gld960.sh | ||
gld960coff.sh | ||
h8300.sh | ||
h8300elf.sh | ||
h8300h.sh | ||
h8300helf.sh | ||
h8300hn.sh | ||
h8300hnelf.sh | ||
h8300s.sh | ||
h8300self.sh | ||
h8300sn.sh | ||
h8300snelf.sh | ||
h8500.sh | ||
h8500b.sh | ||
h8500c.sh | ||
h8500m.sh | ||
h8500s.sh | ||
hp3hpux.sh | ||
hp300bsd.sh | ||
hppa64linux.sh | ||
hppaelf.sh | ||
hppalinux.sh | ||
hppanbsd.sh | ||
hppaobsd.sh | ||
i386aout.sh | ||
i386beos.sh | ||
i386bsd.sh | ||
i386coff.sh | ||
i386go32.sh | ||
i386linux.sh | ||
i386lynx.sh | ||
i386mach.sh | ||
i386moss.sh | ||
i386msdos.sh | ||
i386nbsd.sh | ||
i386nto.sh | ||
i386nw.sh | ||
i386pe_posix.sh | ||
i386pe.sh | ||
lnk960.sh | ||
m32relf.sh | ||
m68hc11elf.sh | ||
m68hc11elfb.sh | ||
m68hc12elf.sh | ||
m68hc12elfb.sh | ||
m68k4knbsd.sh | ||
m68kaout.sh | ||
m68kaux.sh | ||
m68kcoff.sh | ||
m68kelf.sh | ||
m68kelfnbsd.sh | ||
m68klinux.sh | ||
m68klynx.sh | ||
m68knbsd.sh | ||
m68kpsos.sh | ||
m88kbcs.sh | ||
mcorepe.sh | ||
mipsbig.sh | ||
mipsbsd.sh | ||
mipsidt.sh | ||
mipsidtl.sh | ||
mipslit.sh | ||
mipslnews.sh | ||
mipspe.sh | ||
mmo.sh | ||
mn10200.sh | ||
mn10300.sh | ||
msp430x110.sh | ||
msp430x112.sh | ||
msp430x122.sh | ||
msp430x123.sh | ||
msp430x133.sh | ||
msp430x135.sh | ||
msp430x147.sh | ||
msp430x148.sh | ||
msp430x149.sh | ||
msp430x155.sh | ||
msp430x156.sh | ||
msp430x157.sh | ||
msp430x167.sh | ||
msp430x168.sh | ||
msp430x169.sh | ||
msp430x311.sh | ||
msp430x312.sh | ||
msp430x313.sh | ||
msp430x314.sh | ||
msp430x315.sh | ||
msp430x323.sh | ||
msp430x325.sh | ||
msp430x336.sh | ||
msp430x337.sh | ||
msp430x412.sh | ||
msp430x413.sh | ||
msp430x435.sh | ||
msp430x436.sh | ||
msp430x437.sh | ||
msp430x447.sh | ||
msp430x448.sh | ||
msp430x449.sh | ||
msp430x1101.sh | ||
msp430x1111.sh | ||
msp430x1121.sh | ||
msp430x1122.sh | ||
msp430x1132.sh | ||
msp430x1222.sh | ||
msp430x1232.sh | ||
msp430x1331.sh | ||
msp430x1351.sh | ||
news.sh | ||
ns32knbsd.sh | ||
or32.sh | ||
or32elf.sh | ||
pc532macha.sh | ||
pdp11.sh | ||
pjelf.sh | ||
pjlelf.sh | ||
ppcmacos.sh | ||
ppcnw.sh | ||
ppcpe.sh | ||
README | ||
riscix.sh | ||
sa29200.sh | ||
sh.sh | ||
shelf32_linux.sh | ||
shelf32_nbsd.sh | ||
shelf32.sh | ||
shelf64_nbsd.sh | ||
shelf64.sh | ||
shelf_linux.sh | ||
shelf_nbsd.sh | ||
shelf_nto.sh | ||
shelf.sh | ||
shl.sh | ||
shlelf32_linux.sh | ||
shlelf32_nbsd.sh | ||
shlelf32.sh | ||
shlelf64_nbsd.sh | ||
shlelf64.sh | ||
shlelf_linux.sh | ||
shlelf_nbsd.sh | ||
shlelf_nto.sh | ||
shlelf.sh | ||
shpe.sh | ||
sparcaout.sh | ||
sparclinux.sh | ||
sparclynx.sh | ||
sparcnbsd.sh | ||
st2000.sh | ||
sun3.sh | ||
sun4.sh | ||
tic3xcoff_onchip.sh | ||
tic3xcoff.sh | ||
tic4xcoff.sh | ||
tic30aout.sh | ||
tic30coff.sh | ||
tic54xcoff.sh | ||
tic80coff.sh | ||
v850.sh | ||
vanilla.sh | ||
vax.sh | ||
vaxnbsd.sh | ||
vsta.sh | ||
w65.sh | ||
xtensa-config.sh | ||
z8001.sh | ||
z8002.sh |
The files in this directory are read by genscripts.sh as shell commands. They set parameters for the emulations.