As far as I understand using the ORG directive in assembly (NASM assembly in particular)
and setting the location counter in a linker script to some value perform the same function. However I am wondering that if I use both the org directive and the location counter which will have precedence.
For e.g if I have an assembly code beginning with ORG 0x10000
and a linker script beginning with
SECTIONS {
. = 0xC0000000
which address will the code be linked to ?