From 877ac1417fd24ab8c011ded94f92bb8042d56d05 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 15 2020 07:38:33 +0000 Subject: Apply patch glibc-rh1631730.patch patch_name: glibc-rh1631730.patch present_in_specfile: true location_in_specfile: 33 --- diff --git a/sysdeps/i386/start.S b/sysdeps/i386/start.S index 91035fa..e35e9bd 100644 --- a/sysdeps/i386/start.S +++ b/sysdeps/i386/start.S @@ -52,10 +52,11 @@ NULL */ - .text - .globl _start - .type _start,@function -_start: +#include + +ENTRY (_start) + /* Clearing frame pointer is insufficient, use CFI. */ + cfi_undefined (eip) /* Clear the frame pointer. The ABI suggests this be done, to mark the outermost frame obviously. */ xorl %ebp, %ebp @@ -131,6 +132,7 @@ _start: 1: movl (%esp), %ebx ret #endif +END (_start) /* To fulfill the System V/i386 ABI we need this symbol. Yuck, it's so meaningless since we don't support machines < 80386. */