Skip to content

Comments

aarch64: Fix assembly directive in crtbegin.c.#2

Open
hakanrw wants to merge 1 commit intoPortableCC:masterfrom
hakanrw:aarch64-fixes
Open

aarch64: Fix assembly directive in crtbegin.c.#2
hakanrw wants to merge 1 commit intoPortableCC:masterfrom
hakanrw:aarch64-fixes

Conversation

@hakanrw
Copy link

@hakanrw hakanrw commented Feb 21, 2026

This PR fixes the issue which causes AArch64 programs linked with PCC CSU to segfault during startup.

ELF AArch64 psABI requires dtor/ctor list items to be 8-byte in size. Fixes the assembly directive to correct the item length.

…tor/dtor list.

Signed-off-by: hakanrw <hakancandar@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant