SHA256
1
0
forked from pool/glibc
glibc/ppc64le-profiling.patch
Andreas Schwab 826ad7dd9f Accepting request 243561 from home:Andreas_Schwab:Factory
- ppc64le-profiling.patch: fix profiling for ppc64le (bnc#889601, BZ
  #17213)
- s390-revert-abi-change.patch: replace with upstream patch, switches
  default symbol version back to old version (bnc#887228)

OBS-URL: https://build.opensuse.org/request/show/243561
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=378
2014-08-04 07:48:30 +00:00

24 lines
760 B
Diff

2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
[BZ #17213]
* sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
powerpc64le.
Index: glibc-2.19/sysdeps/powerpc/powerpc64/entry.h
===================================================================
--- glibc-2.19.orig/sysdeps/powerpc/powerpc64/entry.h
+++ glibc-2.19/sysdeps/powerpc/powerpc64/entry.h
@@ -23,6 +23,7 @@ extern void _start (void);
#define ENTRY_POINT _start
+#if _CALL_ELF != 2
/* We have to provide a special declaration. */
#define ENTRY_POINT_DECL(class) class void _start (void);
@@ -33,3 +34,4 @@ extern void _start (void);
#define TEXT_START \
({ extern unsigned long int _start_as_data[] asm ("_start"); \
_start_as_data[0]; })
+#endif