Unify our assembler macros.

Our <machine/asm.h> files were modified from upstream, to the extent
that no architecture was actually using the upstream ENTRY or END macros,
assuming that architecture even had such a macro upstream. This patch moves
everyone to the same macros, with just a few tweaks remaining in the
<machine/asm.h> files, which no one should now use directly.

I've removed most of the unused cruft from the <machine/asm.h> files, though
there's still rather a lot in the mips/mips64 ones.

Bug: 12229603
Change-Id: I2fff287dc571ac1087abe9070362fb9420d85d6d
This commit is contained in:
Elliott Hughes
2014-02-19 16:53:20 -08:00
parent 22c6b7ffd3
commit 851e68a240
94 changed files with 298 additions and 963 deletions

View File

@@ -26,8 +26,8 @@
* SUCH DAMAGE.
*/
#include <machine/asm.h>
#include "private/libc_events.h"
#include <private/bionic_asm.h>
#include <private/libc_events.h>
.syntax unified

View File

@@ -26,8 +26,8 @@
* SUCH DAMAGE.
*/
#include <machine/asm.h>
#include "private/libc_events.h"
#include <private/bionic_asm.h>
#include <private/libc_events.h>
.syntax unified

View File

@@ -55,8 +55,8 @@
// Prototype: void *memcpy (void *dst, const void *src, size_t count).
#include <machine/asm.h>
#include "private/libc_events.h"
#include <private/bionic_asm.h>
#include <private/libc_events.h>
.text
.syntax unified

View File

@@ -27,8 +27,8 @@
*/
#include <machine/cpu-features.h>
#include <machine/asm.h>
#include "private/libc_events.h"
#include <private/bionic_asm.h>
#include <private/libc_events.h>
/*
* Optimized memset() for ARM.

View File

@@ -53,7 +53,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <machine/asm.h>
#include <private/bionic_asm.h>
.syntax unified

View File

@@ -27,7 +27,7 @@
*/
#include <machine/cpu-features.h>
#include <machine/asm.h>
#include <private/bionic_asm.h>
#ifdef __ARMEB__
#define S2LOMEM lsl

View File

@@ -53,7 +53,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <machine/asm.h>
#include <private/bionic_asm.h>
.syntax unified

View File

@@ -53,7 +53,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <machine/asm.h>
#include <private/bionic_asm.h>
.syntax unified