Linux MIPS Architecture development
 help / color / mirror / Atom feed
* a small patch for latest (2.4.15+) unaligned.c
@ 2001-12-05  8:12 Atsushi Nemoto
  2001-12-25  3:41 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Atsushi Nemoto @ 2001-12-05  8:12 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

The latest arch/mips/kernel/unaligned.c loses some jump instructions
in .fixup section.  Here is a patch to fix it.  This patch is created
with linux_2_4 branch but can be applied to MAIN trunk also.


--- linux-sgi-cvs/arch/mips/kernel/unaligned.c	Tue Dec  4 11:40:12 2001
+++ linux.new/arch/mips/kernel/unaligned.c	Wed Dec  5 17:02:57 2001
@@ -217,6 +217,7 @@
 			"3:\t.set\tat\n\t"
 			".section\t.fixup,\"ax\"\n\t"
 			"4:\tli\t%1, %3\n\t"
+			"j\t3b\n\t"
 			".previous\n\t"
 			".section\t__ex_table,\"a\"\n\t"
 			STR(PTR)"\t1b, 4b\n\t"
@@ -256,6 +257,7 @@
 			"3:\n\t"
 			".section\t.fixup,\"ax\"\n\t"
 			"4:\tli\t%0, %3\n\t"
+			"j\t3b\n\t"
 			".previous\n\t"
 			".section\t__ex_table,\"a\"\n\t"
 			STR(PTR)"\t1b, 4b\n\t"
@@ -283,6 +285,7 @@
 			"3:\n\t"
 			".section\t.fixup,\"ax\"\n\t"
 			"4:\tli\t%0, %3\n\t"
+			"j\t3b\n\t"
 			".previous\n\t"
 			".section\t__ex_table,\"a\"\n\t"
 			STR(PTR)"\t1b, 4b\n\t"
---
Atsushi Nemoto

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: a small patch for latest (2.4.15+) unaligned.c
  2001-12-05  8:12 a small patch for latest (2.4.15+) unaligned.c Atsushi Nemoto
@ 2001-12-25  3:41 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2001-12-25  3:41 UTC (permalink / raw)
  To: Atsushi Nemoto; +Cc: linux-mips

On Wed, Dec 05, 2001 at 05:12:32PM +0900, Atsushi Nemoto wrote:

> The latest arch/mips/kernel/unaligned.c loses some jump instructions
> in .fixup section.  Here is a patch to fix it.  This patch is created
> with linux_2_4 branch but can be applied to MAIN trunk also.

It took a while but I applied it.

Thanks,

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-26 21:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-05  8:12 a small patch for latest (2.4.15+) unaligned.c Atsushi Nemoto
2001-12-25  3:41 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox