Skip to content

Aarch64 armasm weirdness on AREA directive #37

Closed
@Stammark

Description

@Stammark

I'm raising this as an issue because I don't have the knowledge around the impact of this wrt the object file produced or the MSVC linker yet, but my current observation is that using:

AREA CODE, READONLY
in file psm/src/arch/aarch64_armasm.asm results in STATUS_ACCESS_VIOLATION errors at runtime when a function in that file is called.

whereas I don't get that error if I give a dummy area name, like:

AREA xx, CODE, READONLY

I've raised this below for the MS Visual Studio people because my guess is that the assembler should be reporting an error if no AREA name is given.
https://developercommunity.visualstudio.com/content/problem/1088946/armasm64-not-erroring-when-given-no-area-name-give.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions