[Bug libc/23606] Missing ENDBR32 in sysdeps/i386/start.S

xuepeng.guo at intel dot com sourceware-bugzilla@sourceware.org
Fri Sep 7 01:58:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=23606

--- Comment #2 from xuepeng.guo at intel dot com ---
Hello HJ,

I tested your fix against glibc i686 build. The result of "make check" shows no
regression. I also managed to rebuild the start.o where the _start function
lives, with CET enabled. Via "objdump -d", I can see the endbr32 instruction.

./build-i686-linux/csu/start.o:     file format elf32-i386


Disassembly of section .text:

00000000 <_start>:
   0:   f3 0f 1e fb             endbr32 
   4:   31 ed                   xor    %ebp,%ebp
   6:   5e                      pop    %esi
   7:   89 e1                   mov    %esp,%ecx

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list