mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
rename WORDS_BIGENDIAN to HOST_WORDS_BIGENDIAN
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
f0667e6607
commit
e2542fe2bc
36 changed files with 82 additions and 82 deletions
4
loader.c
4
loader.c
|
@ -324,7 +324,7 @@ int load_elf(const char *filename, int64_t address_offset,
|
|||
e_ident[2] != ELFMAG2 ||
|
||||
e_ident[3] != ELFMAG3)
|
||||
goto fail;
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
#ifdef HOST_WORDS_BIGENDIAN
|
||||
data_order = ELFDATA2MSB;
|
||||
#else
|
||||
data_order = ELFDATA2LSB;
|
||||
|
@ -358,7 +358,7 @@ int load_elf(const char *filename, int64_t address_offset,
|
|||
|
||||
static void bswap_uboot_header(uboot_image_header_t *hdr)
|
||||
{
|
||||
#ifndef WORDS_BIGENDIAN
|
||||
#ifndef HOST_WORDS_BIGENDIAN
|
||||
bswap32s(&hdr->ih_magic);
|
||||
bswap32s(&hdr->ih_hcrc);
|
||||
bswap32s(&hdr->ih_time);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue