From 54f440d311c48e0aae2635ba8610d5b0b8eca157 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 26 Jul 1999 22:11:02 +0000 Subject: Patch from Charles-Antoine Gauthier . to address m68k-rtemself for the MVME167. Here is the rtems patch I promissed you a long time ago to enable ELF with m68k. The target name I selected is m68k-rtemself. It preserves the m68k-rtems COFF target, and is parterned after the other ELF/COFF dual targets. The mvme167.cfg file causes the -qelf flag to be used during compilation if the name of the compiler contains rtemself. This flag is used in the bsp_specs file to select the elflinkcmds file rather than the linkcmds file. The former is for ELF, the latter for COFF. Some patches are required to the mc68040 FPSP code. Some of the assembler files contain instructions that were rejected by the m68k-rtemself-as assembler. This is a minor bug in the m68k ELF assembler, I think. --- c/src/lib/libcpu/m68k/m68040/fpsp/x_store.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/lib/libcpu/m68k/m68040/fpsp/x_store.S') diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_store.S b/c/src/lib/libcpu/m68k/m68040/fpsp/x_store.S index 081b2cc2ca..f22dd71b8b 100644 --- a/c/src/lib/libcpu/m68k/m68040/fpsp/x_store.S +++ b/c/src/lib/libcpu/m68k/m68040/fpsp/x_store.S @@ -94,7 +94,7 @@ opc011: cmpil #0,%d0 //if dest format is extended beq dest_ext //then branch cmpil #1,%d0 //if dest format is single - beqs dest_sgl //then branch + beq dest_sgl //then branch // // fall through to dest_dbl // -- cgit v1.2.3