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]
Other format: [Raw text]

arm-elf-ld cannot handle symbols?



As part of my research I have to allocate common variables (from bss) on 
specific addresses. I have tried to do this by using a linkscrip (-T 
option) in which each of the symbols were been set to their adresses
such as:

vect2 =  0X6027740 ;
vect3 =  0X6027100 ;
matr1 =  0X6009c40 ;
matr2 =  0X6000000 ;
matr3 =  0X6013880 ;

According weith the GNU documentation that should be valid syntax for a 
script, but the loader complains of the syntax.

What am I missing? Considering I can only allocate at link time (the source 
code cannot be modified) is there any other way to do it?



Renato Levy
Principal Scientist
Intelligent Automation, Inc.
7519 Standish Place, ste 200
Rockville, MD 20855
phone: (301)222-0441
fax: (301) 222-0466
WWW: http://www.i-a-i.com



------
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]