Skip to content

Wrong alignment for m68k pointer types #117252

Open
@antoyo

Description

@antoyo

I'm working on making the libcore tests pass for m68k on rustc_codegen_gcc.

It looks like LLVM rust uses the SysV ABI for m68k, but it says the alignment for pointer types is 2, while this doc says it should be 4.

Also, this test fails.

It also says the alignment of usize/isize is 2.

cc @glaubitz

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-layoutArea: Memory layout of typesC-bugCategory: This is a bug.O-motorola68kTarget: Rust from the parallel universe where the Amiga won.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions