]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Clean up our ARM assembly:
authorandrew <andrew@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 14 Dec 2014 16:28:53 +0000 (16:28 +0000)
committerandrew <andrew@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 14 Dec 2014 16:28:53 +0000 (16:28 +0000)
commit2578a5e8022e32c5c4d981c5c1123043cbd1c406
tree9b4054152142c6af30b2bb73b6c1b80cf305d9f7
parent91268976cbc675d41d12a5e0198dc91d2bb1b308
Clean up our ARM assembly:

MFC 275256:

Switch to the ARM unified assembly language as the clang integrated as only
supports it. Binutils supports it when the ".syntax unified" directive
is set.

Sponsored by:   ABT Systems Ltd

MFC 275264:

Update _ENTRY to use _EENTRY to reduce the common code.

MFC 275321:

Remove extra labels, ENTRY_NP already provides them.

Sponsored by:   ABT Systems Ltd

MFC 275322:

Correctly a few incorrect uses of ENTRY/EENTRY and END/EEND

Sponsored by:   ABT Systems Ltd

MFC 275416:

Fix the name of the coprocessor to include the "p" prefix, the clang
integrated assembler expects this.

Sponsored by:   ABT Systems Ltd

MFC 275418:

Switch to unified syntax so these can be built with clang 3.5.

Sponsored by:   ABT Systems Ltd

MFC 275519:

Add missing END macros to some of the xscale functions.

Sponsored by:   ABT Systems Ltd

MFC 275520:

Use the unified syntax in a few more assembly files

Sponsored by:   ABT Systems Ltd

MFC 275521:

Set the alignment to 4-bytes after a string as clang 3.5 can switch to
thumb mode if this is incorrect.

Sponsored by:   ABT Systems Ltd

MFC 275522:

Place the literal pool after a RET otherwise clang 3.5 tries to put it too
far away from a ldr psuedo instruction. With this clang will place the
literal value here where it's close enough to be loaded.

Sponsored by:   ABT Systems Ltd

MFC 275523:

Switch to an armv6k cpu, without this clang 3.5 complains "bx lr" is
unsupported as it needs a newer cpu.

Sponsored by:   ABT Systems Ltd

MFC 275524:

Switch to a .cpu directive. These will work when clang 3.5 is imported
where the .arch directive is a nop.

Sponsored by:   ABT Systems Ltd

git-svn-id: svn://svn.freebsd.org/base/stable/10@275767 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
21 files changed:
lib/libc/arm/string/ffs.S
lib/libc/arm/string/memcmp.S
lib/libc/arm/string/memcpy_arm.S
lib/libc/arm/string/memcpy_xscale.S
lib/libc/arm/string/memmove.S
lib/libc/arm/string/memset.S
lib/libc/arm/string/strlen.S
sys/arm/arm/bcopyinout_xscale.S
sys/arm/arm/blockio.S
sys/arm/arm/cpufunc_asm_arm11x6.S
sys/arm/arm/cpufunc_asm_armv5.S
sys/arm/arm/cpufunc_asm_xscale_c3.S
sys/arm/arm/fusu.S
sys/arm/arm/in_cksum_arm.S
sys/arm/arm/locore.S
sys/arm/arm/support.S
sys/arm/include/asm.h
sys/arm/ti/ti_smc.S
sys/arm/xscale/ixp425/ixp425_a4x_io.S
sys/arm/xscale/ixp425/ixp425_pci_asm.S
sys/libkern/arm/ffs.S