Minor feature for ld
Pete Gonzalez
pgonzalez@bluel.com
Tue Sep 3 13:17:00 GMT 2002
At 02:28 PM 9/3/2002, DJ Delorie wrote:
> > You can still do this... you need to define types for the variables in
> > a header, and declare them as "extern", then define them to the right
> > address in a linker script. No need to use sections at all.
>
>You don't even need a linker script. You can do it in assembler, and
>compile+link like any other source file:
>
> .global REG_BG2CNT
>REG_BG2GNT = 0x400000C
Excellent, this is exactly what I was looking for.
Cheers,
-Pete
More information about the Binutils
mailing list