This is the mail archive of the
crossgcc@cygnus.com
mailing list for the crossgcc project.
Question/Problem about binutils
- To: crossgcc@cygnus.com
- Subject: Question/Problem about binutils
- From: David Müller (ELSOFT AG) <d.mueller@elsoft.ch>
- Date: Wed, 21 Jul 1999 08:54:31 +0200
- Organization: ELSOFT AG
- Reply-To: crossgcc@cygnus.com
Hello
Perhaps this is not the correct list to pose this,
but i didn't find anything better ;-)
I'm using binutils-2.9.1.0.19a / egcs-1.1.2 as a
Linux -> PPC (MPC8xx) cross develop environment.
1.
In the ppc-opc.c file, there are definitions for
the simplified mnemonics like "mfimmr, mfcmpa, ...".
But there are no definitions for the counterparts like
"mtimmr, mtcmpa, ...", at least not in binutils-2.9.1.0.19a
and earlier.
Is there a "good" reason for this??
2.
To link my project, i have written the following linker
script.
ROMSTART = 0xFFF00000 ;
MEMORY {
ROM : ORIGIN = ROMSTART, LENGTH = 128K /*1M*/
}
SECTIONS {
.text ROMSTART : AT (0x0) {
__s_text = ABSOLUTE(.) ;
*(.text);
__e_text = ABSOLUTE(.) ;
} > ROM
[rest deleted]
ld reports the error "nonconstant expression for origin" in the
"ROM" definition, but has no problems with "ROMSTART" in
the ".text" section definition.
Is this a bug in ld or am i missing something??
TIA
Dave
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.