]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add missing .text directives.
authorH.J. Lu <hongjiu.lu@intel.com>
Fri, 22 May 2009 01:38:11 +0000 (18:38 -0700)
committerUlrich Drepper <drepper@redhat.com>
Fri, 22 May 2009 01:38:11 +0000 (18:38 -0700)
The ____longjmp_chk functions on x86 and x86-64 were placed in .rodata.str1.1.

ChangeLog
sysdeps/i386/__longjmp.S
sysdeps/x86_64/__longjmp.S

index 5ff02794b5c96104a7348bdf2c49719292212da9..bbd282c08c3cf424ede36a923823bc4c546c72e1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/i386/__longjmp.S: Add .text.
+       * sysdeps/x86_64/__longjmp.S: Likewise.
+
 2009-05-21  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/kernel-features.h: Don't define
index 15c9e55ec7a834cbb84f8a2a3502fa295557db36..8b0732056a1be2b0154704e6e7191be495d1a41b 100644 (file)
@@ -28,6 +28,7 @@
 #define JBUF   PARMS
 #define VAL    JBUF+PTR_SIZE
 
+       .text
 ENTRY (BP_SYM (__longjmp))
        ENTER
 
index 7649e99242d594acbd605f70381d0d57b39e84f5..24552ece377c658e4b15f3b15981c8da369da0dd 100644 (file)
@@ -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