This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |