Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.arch.embedded > #20026
| From | al.basili@gmail.com (alb) |
|---|---|
| Newsgroups | comp.arch.embedded |
| Subject | Re: data memory mapping microblaze |
| Date | 2015-02-09 17:36 +0000 |
| Message-ID | <cjs9gpFgpecU1@mid.individual.net> (permalink) |
| References | <cjlovpFpj39U1@mid.individual.net> <8eOdnfeQCc9_JUvJnZ2dnUU7-amdnZ2d@giganews.com> <cjq3atFu1psU1@mid.individual.net> <362dneezH9FOnUXJnZ2dnUU7-fudnZ2d@giganews.com> |
Hi Tim, Tim Wescott <tim@seemywebsite.com> wrote: [] > This is a question for someone who's much more of a linker wonk than I am. > > Have you tried Googling on "ld" and "Harvard architecture"? > I did and I got some interesting hits on the AVR which is also Harvard: [http://www.nongnu.org/avr-libc/user-manual/mem_sections.html#harvard_arch] > Because of the Harvard architecture of the AVR devices, you must > manually add 0x800000 to the address you pass to the linker as the > start of the section. Otherwise, the linker thinks you want to put the > .noinit section into the .text section instead of .data/.bss and will > complain. I'm not sure if this is all about it. Another hit on a mailing list [1] reported the option -no-check-sections which allows to have .data and .text starting both at 0x0, but it would be too dangerous to silent this error and find yourself with two data sections overlapping. There's another hit here [2] which might also be interesting but is more about having to do with putting .data section into flash. And after some more search I believe this [3] does shed some light...not sure if enough! Al [1] http://sourceware.org/ml/binutils/2001-04/msg00366.html [2] http://www.embeddedrelated.com/groups/lpc2000/show/54079.php [3] http://www.atmel.com/webdoc/AVRLibcReferenceManual/pgmspace_1pgmspace_introduction.html
Back to comp.arch.embedded | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: data memory mapping microblaze al.basili@gmail.com (alb) - 2015-02-08 21:38 +0000
Re: data memory mapping microblaze Tim Wescott <tim@seemywebsite.com> - 2015-02-08 18:35 -0600
Re: data memory mapping microblaze al.basili@gmail.com (alb) - 2015-02-09 17:36 +0000
Re: data memory mapping microblaze Tim Wescott <seemywebsite@myfooter.really> - 2015-02-09 13:42 -0600
csiph-web