Go to the documentation of this file.
5 #ifndef __H8300_FLAT_H__
6 #define __H8300_FLAT_H__
8 #define flat_argvp_envp_on_stack() 1
9 #define flat_old_ram_flag(flags) 1
10 #define flat_reloc_valid(reloc, size) ((reloc) <= (size))
11 #define flat_set_persistent(relval, p) 0
20 #define flat_get_relocate_addr(rel) (rel)
21 #define flat_get_addr_from_rp(rp, relval, flags, persistent) \
22 (get_unaligned(rp) & ((flags & FLAT_FLAG_GOTPIC) ? 0xffffffff: 0x00ffffff))
23 #define flat_put_addr_at_rp(rp, addr, rel) \
24 put_unaligned (((*(char *)(rp)) << 24) | ((addr) & 0x00ffffff), rp)