PERFORCE change 158535 for review
Arnar Mar Sig
antab at FreeBSD.org
Sun Mar 1 08:07:53 PST 2009
http://perforce.freebsd.org/chv.cgi?CH=158535
Change 158535 by antab at 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
More information about the p4-projects
mailing list