From ecbc46a158460ebf157f74b3d387b51561386cc9 Mon Sep 17 00:00:00 2001 From: Greg Ungerer Date: Thu, 14 Sep 2006 00:28:26 +1000 Subject: [PATCH] --- yaml --- r: 36563 b: refs/heads/master c: acc46c0144b6d1cf0d77bb8b4d1b7dcd5dc28d71 h: refs/heads/master i: 36561: 09a07606da0b9a1cf3ef32a5345ed29d0535c128 36559: 9b7a2a688a7a74eb1eb4525b2bcea22f3fccc71d v: v3 --- [refs] | 2 +- trunk/include/asm-arm/flat.h | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 trunk/include/asm-arm/flat.h diff --git a/[refs] b/[refs] index 4871fc3c3154..d178bff2c8cb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6a39dd6222dda5ee2414a1b42e8e62118742a49e +refs/heads/master: acc46c0144b6d1cf0d77bb8b4d1b7dcd5dc28d71 diff --git a/trunk/include/asm-arm/flat.h b/trunk/include/asm-arm/flat.h new file mode 100644 index 000000000000..966946478589 --- /dev/null +++ b/trunk/include/asm-arm/flat.h @@ -0,0 +1,16 @@ +/* + * include/asm-arm/flat.h -- uClinux flat-format executables + */ + +#ifndef __ARM_FLAT_H__ +#define __ARM_FLAT_H__ + +#define flat_stack_align(sp) /* nothing needed */ +#define flat_argvp_envp_on_stack() 1 +#define flat_old_ram_flag(flags) (flags) +#define flat_reloc_valid(reloc, size) ((reloc) <= (size)) +#define flat_get_addr_from_rp(rp, relval, flags) get_unaligned(rp) +#define flat_put_addr_at_rp(rp, val, relval) put_unaligned(val,rp) +#define flat_get_relocate_addr(rel) (rel) + +#endif /* __ARM_FLAT_H__ */