When two linker script symbols are subtracted, the result should be absolute.
This is the behavior of binutils' ld.
Differential D41477
[LLD] [ELF] Result of subtracting two symbols should be absolute erickreyes on Dec 20 2017, 7:49 PM. Authored by
Details
When two linker script symbols are subtracted, the result should be absolute. This is the behavior of binutils' ld.
Diff Detail
Event Timeline
|
Please add a comment saying that subtracting two symbol values should logically should yield an absolute value and that's actually what the bfd linker produces.