From owner-p4-projects@FreeBSD.ORG Sun Mar 1 16:07:52 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id DDCF21065744; Sun, 1 Mar 2009 16:07:50 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F906106566C for ; Sun, 1 Mar 2009 16:07:49 +0000 (UTC) (envelope-from antab@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7E3668FC1A for ; Sun, 1 Mar 2009 16:07:49 +0000 (UTC) (envelope-from antab@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n21G7noj021994 for ; Sun, 1 Mar 2009 16:07:49 GMT (envelope-from antab@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n21G7nxb021992 for perforce@freebsd.org; Sun, 1 Mar 2009 16:07:49 GMT (envelope-from antab@FreeBSD.org) Date: Sun, 1 Mar 2009 16:07:49 GMT Message-Id: <200903011607.n21G7nxb021992@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to antab@FreeBSD.org using -f From: Arnar Mar Sig To: Perforce Change Reviews Cc: Subject: PERFORCE change 158535 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2009 16:07:53 -0000 http://perforce.freebsd.org/chv.cgi?CH=158535 Change 158535 by antab@antab_farm on 2009/03/01 16:07:43 Add arch dependent files to build world, needs more work later. Able to build and link libs, fails when it tries to link atrun. Affected files ... .. //depot/projects/avr32/src/libexec/rtld-elf/avr32/reloc.c#1 add .. //depot/projects/avr32/src/libexec/rtld-elf/avr32/rtld_start.S#1 add .. //depot/projects/avr32/src/sys/avr32/avr32/support.S#8 edit .. //depot/projects/avr32/src/sys/avr32/include/floatingpoint.h#1 add .. //depot/projects/avr32/src/usr.bin/Makefile#3 edit .. //depot/projects/avr32/src/usr.bin/xlint/lint1/param.h#2 edit Differences ... ==== //depot/projects/avr32/src/sys/avr32/avr32/support.S#8 (text+ko) ==== @@ -49,6 +49,7 @@ /* * memcpy/bcopy and bzero use byte access, this is slow and needs rewriting * later on + * NOTE: This need more work, memmove is wrong (need to check for overlapping) */ /** * memcpy(to, from, len) @@ -56,6 +57,7 @@ * r11: from * r10: len */ +ENTRY(memmove) ENTRY(memcpy) /* Swap to and from parameters and continue to copy */ mov r8, r12 ==== //depot/projects/avr32/src/usr.bin/Makefile#3 (text+ko) ==== @@ -233,7 +233,7 @@ ${_ypmatch} \ ${_ypwhich} -.if ${MACHINE_ARCH} != "arm" +.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "avr32" _truss= truss .endif ==== //depot/projects/avr32/src/usr.bin/xlint/lint1/param.h#2 (text+ko) ==== @@ -98,6 +98,9 @@ #elif __mips__ #define PTRDIFF_IS_LONG 0 #define SIZEOF_IS_ULONG 0 +#elif __avr32__ +#define PTRDIFF_IS_LONG 0 +#define SIZEOF_IS_ULONG 0 #else #error unknown machine type #endif