gcc/libgcc/config
H.J. Lu 5f9ca0b8bf libgcc/CET: Add _CET_ENDBR to __stack_split_initialize
Program received signal SIGSEGV, Segmentation fault.
__stack_split_initialize ()
    at /export/gnu/import/git/sources/gcc/libgcc/config/i386/morestack.S:751
751		leaq	-16000(%rsp),%rax	# We should have at least 16K.
Missing separate debuginfos, use: dnf debuginfo-install libgcc-8.0.1-0.21.0.fc28.x86_64
(gdb) disass
Dump of assembler code for function __stack_split_initialize:
=> 0x0000000000402858 <+0>:	lea    -0x3e80(%rsp),%rax
   0x0000000000402860 <+8>:	mov    %rax,%fs:0x70
   0x0000000000402869 <+17>:	sub    $0x8,%rsp
   0x000000000040286d <+21>:	mov    %rsp,%rdi
   0x0000000000402870 <+24>:	mov    $0x3e80,%esi
   0x0000000000402875 <+29>:	callq  0x401810 <__generic_morestack_set_initial_sp>
   0x000000000040287a <+34>:	add    $0x8,%rsp
   0x000000000040287e <+38>:	retq
End of assembler dump.
(gdb)

This patch adds the missing ENDBR to __stack_split_initialize.

	PR libgcc/85379
	* config/i386/morestack.S (__stack_split_initialize): Add
	_CET_ENDBR.

From-SVN: r259497
2018-04-19 08:22:27 -07:00
..
aarch64 SVE unwinding 2018-01-13 17:56:52 +00:00
alpha
arc [ARC] Add support for reduced register file set 2018-01-26 12:34:00 +01:00
arm
avr
bfin
c6x
cr16
cris
epiphany
fr30
frv
ft32
h8300
i386 libgcc/CET: Add _CET_ENDBR to __stack_split_initialize 2018-04-19 08:22:27 -07:00
ia64
iq2000
libbid
lm32
m32c
m32r
m68k
mcore
microblaze
mips
mmix
moxie
msp430
nds32
nios2
nvptx
pa fptr.c (_dl_read_access_allowed): New. 2018-03-07 00:17:32 +00:00
pdp11
riscv
rl78 rl78.md: New define_expand "anddi3". 2018-01-22 19:23:15 +00:00
rs6000 quad-float128.h (IBM128_TYPE): Explicitly use __ibm128, instead of trying to use long double. 2018-01-08 21:49:37 +00:00
rx
s390
score
sh
sol2
sparc
spu
stormy16
tilegx
tilepro
v850
vax
visium
vms
xtensa libgcc: xtensa: fix build with -mtext-section-literals 2018-02-20 20:55:56 +00:00
darwin-64.c
darwin-crt-tm.c
darwin-crt3.c
gthr-lynx.h
gthr-rtems.h
gthr-vxworks.h
hardfp.c
libgcc-glibc.ver
libgcc-libsystem.ver
no-sfp-machine.h
no-unwind.h
t-crtfm
t-crtstuff-pic
t-darwin
t-dfprules
t-eh-dw2-dip
t-fdpbit
t-fixedpoint-gnu-prefix
t-fpbit
t-freebsd-thread
t-gnu-prefix
t-hardfp
t-hardfp-sfdf
t-libgcc-pic
t-libunwind
t-libunwind-elf
t-linux
t-openbsd-thread
t-rtems
t-slibgcc
t-slibgcc-darwin
t-slibgcc-elf-ver
t-slibgcc-fuchsia
t-slibgcc-gld
t-slibgcc-gld-nover
t-slibgcc-hpux
t-slibgcc-libgcc
t-slibgcc-nolc-override
t-slibgcc-sld
t-slibgcc-vms
t-softfp
t-softfp-compat
t-softfp-excl
t-softfp-sfdf
t-softfp-sfdftf
t-softfp-tf
t-stack
t-tls
t-vxworks
t-vxworks7
unwind-dw2-fde-darwin.c
vxlib-tls.c
vxlib.c