This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
look at your linker script and make sure that read-only data is being written into (and referenced from ROM.) I use the following snippet in my linker script: .rodata : { _rodata_start = . ; *(.rodata) *(.rodata.*) *(.gnu.linkonce.r*) *(.rodata1) . = ALIGN (4); _erodata = . ; } > rom this creates a new section called .rodata and puts all read-only data segments into it. -- Aaron J. Grier | Frye Electronics, Tigard, OR | aaron@frye.com "Calling anything from the x86 world a 'masterpiece' seems, to me, like putting a gold star on the best-looking fingerpainting in the special-needs Kindergarten class." -- Wakko Warner ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |