Compling the following snippet in purecap ABI fails with "expected relocatable expression" error.
The issue occurs on the dev branch.
extern char end[];
unsigned long foo = (unsigned long)&end;
This seems to fail because the assembler finds a fixup "end & -1" which it refuses to resolve because of the bitwise AND with the non-constant left-hand-side operand.
Compling the following snippet in purecap ABI fails with "expected relocatable expression" error. The issue occurs on the dev branch.
This seems to fail because the assembler finds a fixup "end & -1" which it refuses to resolve because of the bitwise AND with the non-constant left-hand-side operand.