https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115170

Cristian Rodríguez <crrodriguez at opensuse dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|MOVED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #6 from Cristian Rodríguez <crrodriguez at opensuse dot org> ---
I found it in executable made with current GCC HEAD on x86_64.. 

It is sufficient to demonstrate with the example code here

https://en.cppreference.com/w/c/program/atexit

ggcc-15 -march=native -Wall -Wextra -O2 -g -fPIE (or -fPIC) -fhardened -fno-plt
example.c


1172:       call   1040 <__cxa_finalize@plt>
11fd:       jmp    1050 <__cxa_atexit@plt>

Reply via email to