This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Question/Problem about binutils
- To: binutils@sourceware.cygnus.com
- Subject: Question/Problem about binutils
- From: David Müller (ELSOFT AG) <d.mueller@elsoft.ch>
- Date: Thu, 22 Jul 1999 08:54:09 +0200
- Organization: ELSOFT AG
Hello
I'm sorry, if anyone has to read this for the
second time. ;-)
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