Changeset View
Changeset View
Standalone View
Standalone View
lib/csu/aarch64/crt.h
- This file was added.
/* $FreeBSD$ */ | |||||
emaste: Perhaps put a comment here that arm64 does not use `.ctors`/`.dtors` or such? To explain why… | |||||
Not Done Inline ActionsHuh, why doesn't arm64 use them?! I've been porting ldc, the LLVM D Compiler, to FreeBSD/aarch64 — and wondering why the hell aren't ctors/dtros running… val_packett.cool: Huh, why doesn't arm64 use them?!
I've been [[ https://github.com/ldc… | |||||
Done Inline ActionsOn arm64 we use .init_array for constructors as it's defined in the ABI. andrew: On arm64 we use `.init_array` for constructors as it's defined in the ABI. |
Perhaps put a comment here that arm64 does not use .ctors/.dtors or such? To explain why there's a seemingly-useless header.