9ee5e4996f
* readelf.c (get_segment_type): Handle PT_GNU_STACK. bfd/ * elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_STACK. (bfd_section_from_phdr): Likewise. (map_sections_to_segments): Create PT_GNU_STACK segment header. (get_program_header_size): Count with PT_GNU_STACK. * elf-bfd.h (struct elf_obj_tdata): Add stack_flags. * elflink.h (bfd_elfNN_size_dynamic_sections): Set stack_flags. include/ * bfdlink.h (struct bfd_link_info): Add execstack and noexecstack. * elf/common.h (PT_GNU_STACK): Define. ld/ * ldgram.y (phdr_type): Grok PT_GNU_STACK. * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add -z execstack and -z noexecstack. (gld${EMULATION_NAME}_list_options): Likewise. * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section. |
||
---|---|---|
.. | ||
a29k.sc | ||
aix.sc | ||
alpha.sc | ||
aout.sc | ||
armaout.sc | ||
armcoff.sc | ||
avr.sc | ||
crisaout.sc | ||
delta68.sc | ||
dlx.sc | ||
ebmon29k.sc | ||
elf32avr.sc | ||
elf32msp430_3.sc | ||
elf32msp430.sc | ||
elf_chaos.sc | ||
elf.sc | ||
elfd10v.sc | ||
elfd30v.sc | ||
elfi370.sc | ||
elfm68hc11.sc | ||
elfm68hc12.sc | ||
elfxtensa.sc | ||
epocpe.sc | ||
h8300.sc | ||
h8300h.sc | ||
h8300hn.sc | ||
h8300s.sc | ||
h8300sn.sc | ||
h8300sx.sc | ||
h8500.sc | ||
h8500b.sc | ||
h8500c.sc | ||
h8500m.sc | ||
h8500s.sc | ||
hppaelf.sc | ||
i386beos.sc | ||
i386coff.sc | ||
i386go32.sc | ||
i386lynx.sc | ||
i386msdos.sc | ||
i960.sc | ||
ip2k.sc | ||
iq2000.sc | ||
m68kaux.sc | ||
m68kcoff.sc | ||
m68klynx.sc | ||
m88kbcs.sc | ||
mcorepe.sc | ||
mips.sc | ||
mipsbsd.sc | ||
mmo.sc | ||
nw.sc | ||
or32.sc | ||
pe.sc | ||
pj.sc | ||
ppcpe.sc | ||
psos.sc | ||
README | ||
riscix.sc | ||
sa29200.sc | ||
sh.sc | ||
sparccoff.sc | ||
sparclynx.sc | ||
st2000.sc | ||
tic4xcoff.sc | ||
tic30aout.sc | ||
tic30coff.sc | ||
tic54xcoff.sc | ||
tic80coff.sc | ||
v850.sc | ||
vanilla.sc | ||
w65.sc | ||
xstormy16.sc | ||
z8000.sc |
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.