diff options
author | Mark H Weaver <mhw@netris.org> | 2015-07-21 01:49:43 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2015-07-21 02:05:20 -0400 |
commit | c0eac5a86246a2c8eb4fe3177a64cfc9687cf5e0 (patch) | |
tree | ef31bdae1d9aa09f3b99887c3523aee644aeaf25 /gnu/packages/patches/libmad-armv7-thumb-pt1.patch | |
parent | 4d85391059604959a010c39953bea5c62f52dc90 (diff) | |
download | guix-c0eac5a86246a2c8eb4fe3177a64cfc9687cf5e0.tar.gz |
gnu: libmad: Apply fixes for ARMv7 Thumb, etc.
* gnu/packages/patches/libmad-armv7-thumb-pt1.patch, gnu/packages/patches/libmad-armv7-thumb-pt2.patch, gnu/packages/patches/libmad-frame-length.patch: New files. * gnu-system.am (dist_patch_DATA): Add them. * gnu/packages/mp3.scm (libmad)[source]: Add patches.
Diffstat (limited to 'gnu/packages/patches/libmad-armv7-thumb-pt1.patch')
-rw-r--r-- | gnu/packages/patches/libmad-armv7-thumb-pt1.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/patches/libmad-armv7-thumb-pt1.patch b/gnu/packages/patches/libmad-armv7-thumb-pt1.patch new file mode 100644 index 0000000000..86339ddad8 --- /dev/null +++ b/gnu/packages/patches/libmad-armv7-thumb-pt1.patch @@ -0,0 +1,16 @@ +Copied from Debian. + +From: Konstantinos Margaritis <markos@debian.org> +Subject: use "adr" instead of "add" to make code ready for thumb2 + +--- ./imdct_l_arm.S.orig 2010-02-25 13:25:23.000000000 +0100 ++++ ./imdct_l_arm.S 2010-02-25 13:27:26.000000000 +0100 +@@ -468,7 +468,7 @@ + + @---- + +- add r2, pc, #(imdct36_long_karray-.-8) @ r2 = base address of Knn array (PIC safe ?) ++ adr r2, imdct36_long_karray + + + loop: |