Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2024-03

MachO $indirect symbols

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Adriaan van Os

When compiling for aarch64 with fpc 3.3.1 on macOS 14.2, I notice some new entries in the Mach-O symbol table of the produced executable, e.g. apart from

SegmentName = __DATA_CONST
SectionName = __const
SymbolName = _VMT_$SYSTEM_$$_TOBJECT
n_type = 15

there is now also an entry

SegmentName = __DATA_CONST
SectionName = __const
SymbolName = _VMT_$SYSTEM_$$_TOBJECT$indirect
n_type = 15

etcetera. I don't know if the new entries are specific for aarch64, for fpc 3.3.1 or for the linker and assembler used. Also the segment name seems to have changed from __DATA to __DATA_CONST.

Just wondering what's behind this.

Regards,

Adriaan van Os

Reply by email