076f82
commit 89b638f48ac5c9af5b1fe9caa6287d70127b66a5
076f82
Author: Stefan Liebler <stli@linux.ibm.com>
076f82
Date:   Tue May 17 16:12:18 2022 +0200
076f82
076f82
    S390: Enable static PIE
076f82
    
076f82
    This commit enables static PIE on 64bit.  On 31bit, static PIE is
076f82
    not supported.
076f82
    
076f82
    A new configure check in sysdeps/s390/s390-64/configure.ac also performs
076f82
    a minimal test for requirements in ld:
076f82
    Ensure you also have those patches for:
076f82
    - binutils (ld)
076f82
      - "[PR ld/22263] s390: Avoid dynamic TLS relocs in PIE"
076f82
        https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=26b1426577b5dcb32d149c64cca3e603b81948a9
076f82
        (Tested by configure check above)
076f82
        Otherwise there will be a R_390_TLS_TPOFF relocation, which fails to
076f82
        be processed in _dl_relocate_static_pie() as static TLS map is not setup.
076f82
      - "s390: Add DT_JMPREL pointing to .rela.[i]plt with static-pie"
076f82
        https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=d942d8db12adf4c9e5c7d9ed6496a779ece7149e
076f82
        (We can't test it in configure as we are not able to link a static PIE
076f82
        executable if the system glibc lacks static PIE support)
076f82
        Otherwise there won't be DT_JMPREL, DT_PLTRELA, DT_PLTRELASZ entries
076f82
        and the IFUNC symbols are not processed, which leads to crashes.
076f82
    
076f82
    - kernel (the mentioned links to the commits belong to 5.19 merge window):
076f82
      - "s390/mmap: increase stack/mmap gap to 128MB"
076f82
        https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/?h=features&id=f2f47d0ef72c30622e62471903ea19446ea79ee2
076f82
      - "s390/vdso: move vdso mapping to its own function"
076f82
        https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/?h=features&id=57761da4dc5cd60bed2c81ba0edb7495c3c740b8
076f82
      - "s390/vdso: map vdso above stack"
076f82
        https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/?h=features&id=9e37a2e8546f9e48ea76c839116fa5174d14e033
076f82
      - "s390/vdso: add vdso randomization"
076f82
        https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/?h=features&id=41cd81abafdc4e58a93fcb677712a76885e3ca25
076f82
      (We can't test the kernel of the target system)
076f82
      Otherwise if /proc/sys/kernel/randomize_va_space is turned off (0),
076f82
      static PIE executables like ldconfig will crash.  While startup sbrk is
076f82
      used to enlarge the HEAP.  Unfortunately the underlying brk syscall fails
076f82
      as there is not enough space after the HEAP.  Then the address of the TLS
076f82
      image is invalid and the following memcpy in __libc_setup_tls() leads
076f82
      to a segfault.
076f82
      If /proc/sys/kernel/randomize_va_space is activated (default: 2), there
076f82
      is enough space after HEAP.
076f82
    
076f82
    - glibc
076f82
      - "Linux: Define MMAP_CALL_INTERNAL"
076f82
        https://sourceware.org/git/?p=glibc.git;a=commit;h=c1b68685d438373efe64e5f076f4215723004dfb
076f82
      - "i386: Remove OPTIMIZE_FOR_GCC_5 from Linux libc-do-syscall.S"
076f82
        https://sourceware.org/git/?p=glibc.git;a=commit;h=6e5c7a1e262961adb52443ab91bd2c9b72316402
076f82
      - "i386: Honor I386_USE_SYSENTER for 6-argument Linux system calls"
076f82
        https://sourceware.org/git/?p=glibc.git;a=commit;h=60f0f2130d30cfd008ca39743027f1e200592dff
076f82
      - "ia64: Always define IA64_USE_NEW_STUB as a flag macro"
076f82
        https://sourceware.org/git/?p=glibc.git;a=commit;h=18bd9c3d3b1b6a9182698c85354578d1d58e9d64
076f82
      - "Linux: Implement a useful version of _startup_fatal"
076f82
        https://sourceware.org/git/?p=glibc.git;a=commit;h=a2a6bce7d7e52c1c34369a7da62c501cc350bc31
076f82
      - "Linux: Introduce __brk_call for invoking the brk system call"
076f82
        https://sourceware.org/git/?p=glibc.git;a=commit;h=b57ab258c1140bc45464b4b9908713e3e0ee35aa
076f82
      - "csu: Implement and use _dl_early_allocate during static startup"
076f82
        https://sourceware.org/git/?p=glibc.git;a=commit;h=f787e138aa0bf677bf74fa2a08595c446292f3d7
076f82
      The mentioned patch series by Florian Weimer avoids the mentioned failing
076f82
      sbrk syscall by falling back to mmap.
076f82
    
076f82
    This commit also adjusts startup code in start.S to be ready for static PIE.
076f82
    We have to add a wrapper function for main as we are not allowed to use
076f82
    GOT relocations before __libc_start_main is called.
076f82
    (Compare also to:
076f82
    - commit 14d886edbd3d80b771e1c42fbd9217f9074de9c6
076f82
      "aarch64: fix start code for static pie"
076f82
    - commit 3d1d79283e6de4f7c434cb67fb53a4fd28359669
076f82
      "aarch64: fix static pie enabled libc when main is in a shared library"
076f82
    )
076f82
    
076f82
    (cherry picked from commit 728894dba4a19578bd803906de184a8dd51ed13c)
076f82
076f82
diff --git a/sysdeps/s390/s390-64/configure b/sysdeps/s390/s390-64/configure
076f82
new file mode 100644
076f82
index 0000000000000000..101c570d2e62da25
076f82
--- /dev/null
076f82
+++ b/sysdeps/s390/s390-64/configure
076f82
@@ -0,0 +1,122 @@
076f82
+# This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
076f82
+ # Local configure fragment for sysdeps/s390/s390-64.
076f82
+
076f82
+# Minimal checking for static PIE support in ld.
076f82
+# Compare to ld testcase/bugzilla:
076f82
+# <binutils-source>/ld/testsuite/ld-elf/pr22263-1.rd
076f82
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for s390-specific static PIE requirements" >&5
076f82
+$as_echo_n "checking for s390-specific static PIE requirements... " >&6; }
076f82
+if { as_var=\
076f82
+libc_cv_s390x_staticpie_req; eval \${$as_var+:} false; }; then :
076f82
+  $as_echo_n "(cached) " >&6
076f82
+else
076f82
+    cat > conftest1.c <
076f82
+__thread int * foo;
076f82
+
076f82
+void
076f82
+bar (void)
076f82
+{
076f82
+  *foo = 1;
076f82
+}
076f82
+EOF
076f82
+  cat > conftest2.c <
076f82
+extern __thread int *foo;
076f82
+extern void bar (void);
076f82
+static int x;
076f82
+
076f82
+int
076f82
+main ()
076f82
+{
076f82
+  foo = &x;
076f82
+  return 0;
076f82
+}
076f82
+EOF
076f82
+  libc_cv_s390x_staticpie_req=no
076f82
+  if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -fPIE -c conftest1.c -o conftest1.o'
076f82
+  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
076f82
+  (eval $ac_try) 2>&5
076f82
+  ac_status=$?
076f82
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
076f82
+  test $ac_status = 0; }; } \
076f82
+     && { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -fPIE -c conftest2.c -o conftest2.o'
076f82
+  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
076f82
+  (eval $ac_try) 2>&5
076f82
+  ac_status=$?
076f82
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
076f82
+  test $ac_status = 0; }; } \
076f82
+     && { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -o conftest conftest1.o conftest2.o'
076f82
+  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
076f82
+  (eval $ac_try) 2>&5
076f82
+  ac_status=$?
076f82
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
076f82
+  test $ac_status = 0; }; } \
076f82
+     && { ac_try='! readelf -Wr conftest | grep R_390_TLS_TPOFF'
076f82
+  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
076f82
+  (eval $ac_try) 2>&5
076f82
+  ac_status=$?
076f82
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
076f82
+  test $ac_status = 0; }; }
076f82
+  then
076f82
+    libc_cv_s390x_staticpie_req=yes
076f82
+  fi
076f82
+  rm -rf conftest.*
076f82
+fi
076f82
+eval ac_res=\$\
076f82
+libc_cv_s390x_staticpie_req
076f82
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
076f82
+$as_echo "$ac_res" >&6; }
076f82
+if test $libc_cv_s390x_staticpie_req = yes; then
076f82
+   # Static PIE is supported only on 64bit.
076f82
+   # Ensure you also have those patches for:
076f82
+   # - binutils (ld)
076f82
+   #   - "[PR ld/22263] s390: Avoid dynamic TLS relocs in PIE"
076f82
+   #     https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=26b1426577b5dcb32d149c64cca3e603b81948a9
076f82
+   #     (Tested by configure check above)
076f82
+   #     Otherwise there will be a R_390_TLS_TPOFF relocation, which fails to
076f82
+   #     be processed in _dl_relocate_static_pie() as static TLS map is not setup.
076f82
+   #   - "s390: Add DT_JMPREL pointing to .rela.[i]plt with static-pie"
076f82
+   #     https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=d942d8db12adf4c9e5c7d9ed6496a779ece7149e
076f82
+   #     (We can't test it in configure as we are not able to link a static PIE
076f82
+   #     executable if the system glibc lacks static PIE support)
076f82
+   #     Otherwise there won't be DT_JMPREL, DT_PLTRELA, DT_PLTRELASZ entries
076f82
+   #     and the IFUNC symbols are not processed, which leads to crashes.
076f82
+   #
076f82
+   # - kernel (the mentioned links to the commits belong to 5.19 merge window):
076f82
+   #   - "s390/mmap: increase stack/mmap gap to 128MB"
076f82
+   #     https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/?h=features&id=f2f47d0ef72c30622e62471903ea19446ea79ee2
076f82
+   #   - "s390/vdso: move vdso mapping to its own function"
076f82
+   #     https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/?h=features&id=57761da4dc5cd60bed2c81ba0edb7495c3c740b8
076f82
+   #   - "s390/vdso: map vdso above stack"
076f82
+   #     https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/?h=features&id=9e37a2e8546f9e48ea76c839116fa5174d14e033
076f82
+   #   - "s390/vdso: add vdso randomization"
076f82
+   #     https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/?h=features&id=41cd81abafdc4e58a93fcb677712a76885e3ca25
076f82
+   #   (We can't test the kernel of the target system)
076f82
+   #   Otherwise if /proc/sys/kernel/randomize_va_space is turned off (0),
076f82
+   #   static PIE executables like ldconfig will crash.  While startup sbrk is
076f82
+   #   used to enlarge the HEAP.  Unfortunately the underlying brk syscall fails
076f82
+   #   as there is not enough space after the HEAP.  Then the address of the TLS
076f82
+   #   image is invalid and the following memcpy in __libc_setup_tls() leads
076f82
+   #   to a segfault.
076f82
+   #   If /proc/sys/kernel/randomize_va_space is activated (default: 2), there
076f82
+   #   is enough space after HEAP.
076f82
+   #
076f82
+   # - glibc
076f82
+   #   - "Linux: Define MMAP_CALL_INTERNAL"
076f82
+   #     https://sourceware.org/git/?p=glibc.git;a=commit;h=c1b68685d438373efe64e5f076f4215723004dfb
076f82
+   #   - "i386: Remove OPTIMIZE_FOR_GCC_5 from Linux libc-do-syscall.S"
076f82
+   #     https://sourceware.org/git/?p=glibc.git;a=commit;h=6e5c7a1e262961adb52443ab91bd2c9b72316402
076f82
+   #   - "i386: Honor I386_USE_SYSENTER for 6-argument Linux system calls"
076f82
+   #     https://sourceware.org/git/?p=glibc.git;a=commit;h=60f0f2130d30cfd008ca39743027f1e200592dff
076f82
+   #   - "ia64: Always define IA64_USE_NEW_STUB as a flag macro"
076f82
+   #     https://sourceware.org/git/?p=glibc.git;a=commit;h=18bd9c3d3b1b6a9182698c85354578d1d58e9d64
076f82
+   #   - "Linux: Implement a useful version of _startup_fatal"
076f82
+   #     https://sourceware.org/git/?p=glibc.git;a=commit;h=a2a6bce7d7e52c1c34369a7da62c501cc350bc31
076f82
+   #   - "Linux: Introduce __brk_call for invoking the brk system call"
076f82
+   #     https://sourceware.org/git/?p=glibc.git;a=commit;h=b57ab258c1140bc45464b4b9908713e3e0ee35aa
076f82
+   #   - "csu: Implement and use _dl_early_allocate during static startup"
076f82
+   #     https://sourceware.org/git/?p=glibc.git;a=commit;h=f787e138aa0bf677bf74fa2a08595c446292f3d7
076f82
+   #   The mentioned patch series by Florian Weimer avoids the mentioned failing
076f82
+   #   sbrk syscall by falling back to mmap.
076f82
+   $as_echo "#define SUPPORT_STATIC_PIE 1" >>confdefs.h
076f82
+
076f82
+fi
076f82
diff --git a/sysdeps/s390/s390-64/configure.ac b/sysdeps/s390/s390-64/configure.ac
076f82
new file mode 100644
076f82
index 0000000000000000..2583a4a3350ac11f
076f82
--- /dev/null
076f82
+++ b/sysdeps/s390/s390-64/configure.ac
076f82
@@ -0,0 +1,92 @@
076f82
+GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
076f82
+# Local configure fragment for sysdeps/s390/s390-64.
076f82
+
076f82
+# Minimal checking for static PIE support in ld.
076f82
+# Compare to ld testcase/bugzilla:
076f82
+# <binutils-source>/ld/testsuite/ld-elf/pr22263-1.rd
076f82
+AC_CACHE_CHECK([for s390-specific static PIE requirements], \
076f82
+[libc_cv_s390x_staticpie_req], [dnl
076f82
+  cat > conftest1.c <
076f82
+__thread int * foo;
076f82
+
076f82
+void
076f82
+bar (void)
076f82
+{
076f82
+  *foo = 1;
076f82
+}
076f82
+EOF
076f82
+  cat > conftest2.c <
076f82
+extern __thread int *foo;
076f82
+extern void bar (void);
076f82
+static int x;
076f82
+
076f82
+int
076f82
+main ()
076f82
+{
076f82
+  foo = &x;
076f82
+  return 0;
076f82
+}
076f82
+EOF
076f82
+  libc_cv_s390x_staticpie_req=no
076f82
+  if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -fPIE -c conftest1.c -o conftest1.o]) \
076f82
+     && AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -fPIE -c conftest2.c -o conftest2.o]) \
076f82
+     && AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -o conftest conftest1.o conftest2.o]) \
076f82
+     && AC_TRY_COMMAND([! readelf -Wr conftest | grep R_390_TLS_TPOFF])
076f82
+  then
076f82
+    libc_cv_s390x_staticpie_req=yes
076f82
+  fi
076f82
+  rm -rf conftest.*])
076f82
+if test $libc_cv_s390x_staticpie_req = yes; then
076f82
+   # Static PIE is supported only on 64bit.
076f82
+   # Ensure you also have those patches for:
076f82
+   # - binutils (ld)
076f82
+   #   - "[PR ld/22263] s390: Avoid dynamic TLS relocs in PIE"
076f82
+   #     https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=26b1426577b5dcb32d149c64cca3e603b81948a9
076f82
+   #     (Tested by configure check above)
076f82
+   #     Otherwise there will be a R_390_TLS_TPOFF relocation, which fails to
076f82
+   #     be processed in _dl_relocate_static_pie() as static TLS map is not setup.
076f82
+   #   - "s390: Add DT_JMPREL pointing to .rela.[i]plt with static-pie"
076f82
+   #     https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=d942d8db12adf4c9e5c7d9ed6496a779ece7149e
076f82
+   #     (We can't test it in configure as we are not able to link a static PIE
076f82
+   #     executable if the system glibc lacks static PIE support)
076f82
+   #     Otherwise there won't be DT_JMPREL, DT_PLTRELA, DT_PLTRELASZ entries
076f82
+   #     and the IFUNC symbols are not processed, which leads to crashes.
076f82
+   #
076f82
+   # - kernel (the mentioned links to the commits belong to 5.19 merge window):
076f82
+   #   - "s390/mmap: increase stack/mmap gap to 128MB"
076f82
+   #     https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/?h=features&id=f2f47d0ef72c30622e62471903ea19446ea79ee2
076f82
+   #   - "s390/vdso: move vdso mapping to its own function"
076f82
+   #     https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/?h=features&id=57761da4dc5cd60bed2c81ba0edb7495c3c740b8
076f82
+   #   - "s390/vdso: map vdso above stack"
076f82
+   #     https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/?h=features&id=9e37a2e8546f9e48ea76c839116fa5174d14e033
076f82
+   #   - "s390/vdso: add vdso randomization"
076f82
+   #     https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/?h=features&id=41cd81abafdc4e58a93fcb677712a76885e3ca25
076f82
+   #   (We can't test the kernel of the target system)
076f82
+   #   Otherwise if /proc/sys/kernel/randomize_va_space is turned off (0),
076f82
+   #   static PIE executables like ldconfig will crash.  While startup sbrk is
076f82
+   #   used to enlarge the HEAP.  Unfortunately the underlying brk syscall fails
076f82
+   #   as there is not enough space after the HEAP.  Then the address of the TLS
076f82
+   #   image is invalid and the following memcpy in __libc_setup_tls() leads
076f82
+   #   to a segfault.
076f82
+   #   If /proc/sys/kernel/randomize_va_space is activated (default: 2), there
076f82
+   #   is enough space after HEAP.
076f82
+   #
076f82
+   # - glibc
076f82
+   #   - "Linux: Define MMAP_CALL_INTERNAL"
076f82
+   #     https://sourceware.org/git/?p=glibc.git;a=commit;h=c1b68685d438373efe64e5f076f4215723004dfb
076f82
+   #   - "i386: Remove OPTIMIZE_FOR_GCC_5 from Linux libc-do-syscall.S"
076f82
+   #     https://sourceware.org/git/?p=glibc.git;a=commit;h=6e5c7a1e262961adb52443ab91bd2c9b72316402
076f82
+   #   - "i386: Honor I386_USE_SYSENTER for 6-argument Linux system calls"
076f82
+   #     https://sourceware.org/git/?p=glibc.git;a=commit;h=60f0f2130d30cfd008ca39743027f1e200592dff
076f82
+   #   - "ia64: Always define IA64_USE_NEW_STUB as a flag macro"
076f82
+   #     https://sourceware.org/git/?p=glibc.git;a=commit;h=18bd9c3d3b1b6a9182698c85354578d1d58e9d64
076f82
+   #   - "Linux: Implement a useful version of _startup_fatal"
076f82
+   #     https://sourceware.org/git/?p=glibc.git;a=commit;h=a2a6bce7d7e52c1c34369a7da62c501cc350bc31
076f82
+   #   - "Linux: Introduce __brk_call for invoking the brk system call"
076f82
+   #     https://sourceware.org/git/?p=glibc.git;a=commit;h=b57ab258c1140bc45464b4b9908713e3e0ee35aa
076f82
+   #   - "csu: Implement and use _dl_early_allocate during static startup"
076f82
+   #     https://sourceware.org/git/?p=glibc.git;a=commit;h=f787e138aa0bf677bf74fa2a08595c446292f3d7
076f82
+   #   The mentioned patch series by Florian Weimer avoids the mentioned failing
076f82
+   #   sbrk syscall by falling back to mmap.
076f82
+   AC_DEFINE(SUPPORT_STATIC_PIE)
076f82
+fi
076f82
diff --git a/sysdeps/s390/s390-64/start.S b/sysdeps/s390/s390-64/start.S
076f82
index 4e6526308aee3c00..b4a66e4a97b83397 100644
076f82
--- a/sysdeps/s390/s390-64/start.S
076f82
+++ b/sysdeps/s390/s390-64/start.S
076f82
@@ -85,10 +85,25 @@ _start:
076f82
 
076f82
 	/* Ok, now branch to the libc main routine.  */
076f82
 #ifdef PIC
076f82
+# ifdef SHARED
076f82
+	/* Used for dynamic linked position independent executable.
076f82
+	   => Scrt1.o  */
076f82
 	larl	%r2,main@GOTENT		# load pointer to main
076f82
 	lg	%r2,0(%r2)
076f82
+# else
076f82
+	/* Used for dynamic linked position dependent executable.
076f82
+	   => crt1.o (glibc configured without --disable-default-pie:
076f82
+	   PIC is defined)
076f82
+	   Or for static linked position independent executable.
076f82
+	   => rcrt1.o (only available if glibc configured without
076f82
+	   --disable-default-pie: PIC is defined) */
076f82
+	larl	%r2,__wrap_main
076f82
+# endif
076f82
 	brasl	%r14,__libc_start_main@plt
076f82
 #else
076f82
+	/* Used for dynamic/static linked position dependent executable.
076f82
+	   => crt1.o (glibc configured with --disable-default-pie:
076f82
+	   PIC and SHARED are not defined)  */
076f82
 	larl	%r2,main		# load pointer to main
076f82
 	brasl	%r14,__libc_start_main
076f82
 #endif
076f82
@@ -98,6 +113,19 @@ _start:
076f82
 
076f82
 	cfi_endproc
076f82
 
076f82
+#if defined PIC && !defined SHARED
076f82
+	/* When main is not defined in the executable but in a shared library
076f82
+	   then a wrapper is needed in crt1.o of the static-pie enabled libc,
076f82
+	   because crt1.o and rcrt1.o share code and the later must avoid the
076f82
+	   use of GOT relocations before __libc_start_main is called.  */
076f82
+__wrap_main:
076f82
+	cfi_startproc
076f82
+	larl	%r1,main@GOTENT		# load pointer to main
076f82
+	lg	%r1,0(%r1)
076f82
+	br	%r1
076f82
+	cfi_endproc
076f82
+#endif
076f82
+
076f82
 	/* Define a symbol for the first piece of initialized data.  */
076f82
 	.data
076f82
 	.globl __data_start