]> git.pld-linux.org Git - packages/alsa-lib.git/commitdiff
- use proper gas syntax on alpha (why not __attribute__((weak,alias())) btw?)
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 31 May 2004 19:37:03 +0000 (19:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    alsa-lib-alpha.patch -> 1.1

alsa-lib-alpha.patch [new file with mode: 0644]

diff --git a/alsa-lib-alpha.patch b/alsa-lib-alpha.patch
new file mode 100644 (file)
index 0000000..a69e700
--- /dev/null
@@ -0,0 +1,14 @@
+--- alsa-lib-1.0.5/include/alsa-symbols.h.orig 2003-08-13 13:18:36.000000000 +0000
++++ alsa-lib-1.0.5/include/alsa-symbols.h      2004-05-31 19:14:48.000000000 +0000
+@@ -56,6 +56,11 @@
+       __asm__ (".weak ." #name);                      \
+       __asm__ (".set " #name "," #real);              \
+       __asm__ (".set ." #name ",." #real)
++#elif defined(__alpha__)
++#define use_default_symbol_version(real, name, version) \
++      __asm__ (".weak " #name);                       \
++      __asm__ ("$" #name "..ng = $" #real "..ng");    \
++      __asm__ (#name " = " #real);
+ #else
+ #define use_default_symbol_version(real, name, version) \
+       __asm__ (".weak " #name); \
This page took 0.090865 seconds and 4 git commands to generate.