From: H.J. Lu Date: Fri, 22 May 2009 01:38:11 +0000 (-0700) Subject: Add missing .text directives. X-Git-Tag: fedora/glibc-2.10.90-1~8^2~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e7535de78f5e027e91cab6d4288a45b03ba0097f;p=thirdparty%2Fglibc.git Add missing .text directives. The ____longjmp_chk functions on x86 and x86-64 were placed in .rodata.str1.1. --- diff --git a/ChangeLog b/ChangeLog index 5ff02794b5c..bbd282c08c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-05-21 H.J. Lu + + * sysdeps/i386/__longjmp.S: Add .text. + * sysdeps/x86_64/__longjmp.S: Likewise. + 2009-05-21 Ulrich Drepper * sysdeps/unix/sysv/linux/kernel-features.h: Don't define diff --git a/sysdeps/i386/__longjmp.S b/sysdeps/i386/__longjmp.S index 15c9e55ec7a..8b0732056a1 100644 --- a/sysdeps/i386/__longjmp.S +++ b/sysdeps/i386/__longjmp.S @@ -28,6 +28,7 @@ #define JBUF PARMS #define VAL JBUF+PTR_SIZE + .text ENTRY (BP_SYM (__longjmp)) ENTER diff --git a/sysdeps/x86_64/__longjmp.S b/sysdeps/x86_64/__longjmp.S index 7649e99242d..24552ece377 100644 --- a/sysdeps/x86_64/__longjmp.S +++ b/sysdeps/x86_64/__longjmp.S @@ -1,4 +1,4 @@ -/* Copyright (C) 2001,2004,2005,2006 Free Software Foundation, Inc. +/* Copyright (C) 2001,2004,2005,2006,2009 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -23,6 +23,7 @@ /* Jump to the position specified by ENV, causing the setjmp call there to return VAL, or 1 if VAL is 0. void __longjmp (__jmp_buf env, int val). */ + .text ENTRY(__longjmp) /* Restore registers. */ movq (JB_RSP*8)(%rdi),%r8