Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make big endian archs work #883

Merged
merged 3 commits into from
Oct 23, 2023
Merged

Commits on Oct 17, 2023

  1. iff: AVM_ABORT() on invalid file

    As a temporary fix just abort on an invalid iff. As a long term approach
    an error code should be returned.
    
    Signed-off-by: Davide Bettio <[email protected]>
    bettio committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    dc38d48 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2023

  1. Fix support for big endian CPUs

    Use `__BYTE_ORDER__` == `__ORDER_BIG_ENDIAN__`, instead of `#ifdef`.
    Also add missing 64 bit macros.
    
    Signed-off-by: Davide Bettio <[email protected]>
    bettio committed Oct 22, 2023
    Configuration menu
    Copy the full SHA
    d3a3975 View commit details
    Browse the repository at this point in the history
  2. CI: build and test on a big endian arch

    Use s390x as big endian arch, since it is the easiest to use for testing
    purposes.
    
    Signed-off-by: Davide Bettio <[email protected]>
    bettio committed Oct 22, 2023
    Configuration menu
    Copy the full SHA
    c8d3f8b View commit details
    Browse the repository at this point in the history