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]

Specifiying memory layout


I'm linking an executable for an embedded system with 1 MB of memory 
starting at 0x02000000. I understand the following is the one line of 
a linker script that would have the desired effect.

MEMORY {	ram : ORIGIN = 0x02000000, LENGTH = 1024k }

Can I use this line on it's own as a one line linker script? Should I 
tack this line onto the end of gcc's armelf.x and use the resulting 
linker script?

If I can avoid using a linker script at all, that'd be good too! Can I 
specify these parameters on the command line?

Please cc me in your reply. Thanks,
Shaun


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]