summaryrefslogtreecommitdiff
path: root/packages/mono/files/mono-mips-endian.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/mono/files/mono-mips-endian.patch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/mono/files/mono-mips-endian.patch')
-rw-r--r--packages/mono/files/mono-mips-endian.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/packages/mono/files/mono-mips-endian.patch b/packages/mono/files/mono-mips-endian.patch
deleted file mode 100644
index c0f1d3c759..0000000000
--- a/packages/mono/files/mono-mips-endian.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- mono-1.2.20070131/mono/mini/mini-mips.c 2007-01-31 07:00:22.000000000 +0100
-+++ mono-1.2.20070131.mod/mono/mini/mini-mips.c 2007-02-17 21:22:34.000000000 +0100
-@@ -238,6 +238,11 @@
- patch_lui_addiu(guint32 *ip, guint32 val)
- {
- guint16 *__lui_addiu = (guint16*)(void *)(ip);
-+#if G_BYTE_ORDER == G_BIG_ENDIAN
-+ int index=1;
-+#else
-+ int index=0;
-+#endif
-
- #if 0
- printf ("patch_lui_addiu ip=0x%08x (0x%08x, 0x%08x) to point to 0x%08x\n",
-@@ -245,10 +250,10 @@
- fflush (stdout);
- #endif
- if (((guint32)(val)) & (1 << 15))
-- __lui_addiu [1] = ((((guint32)(val)) >> 16) & 0xffff) + 1;
-+ __lui_addiu [index] = ((((guint32)(val)) >> 16) & 0xffff) + 1;
- else
-- __lui_addiu [1] = (((guint32)(val)) >> 16) & 0xffff;
-- __lui_addiu [3] = ((guint32)(val)) & 0xffff;
-+ __lui_addiu [index] = (((guint32)(val)) >> 16) & 0xffff;
-+ __lui_addiu [index+2] = ((guint32)(val)) & 0xffff;
- mono_arch_flush_icache ((guint8 *)ip, 8);
- }
-