Linker command file output section ‘.reset’ has type ‘NO PERMISSION’ which is incompatible with section ‘.reset’ in the file c:………
Any one else have this problem and know how to fix it?
Mike
Tom,
Ver 8.1
MPC 565
Linker command file.
/* linker command file for CMD-565 board, debug version - runs from */
/* external SRAM (2MByte) */
MEMORY {
rom : org = 0x00000000 len = 0x00200000 // external RAM used for debbuging
ram : org = 0x003F7000 len = 0x9000 // internal RAM
}
/* We use FORCEACTIVE so that the linker will not deadstrip
the exception table gExceptionTable. */
FORCEACTIVE { gExceptionTable }
SECTIONS {
.reset : { } > rom
.init : {} > rom
GROUP : {
.text (TEXT) : {}
.rodata (CONST) : {
*(.rdata)
*(.rodata)
}
.ctors : {}
.dtors : {}
extab : {}
extabindex : {}
.eirtable ALIGN(2048) : {}
} > rom
GROUP : {
.data : {}
.sdata : {}
.sbss : {}
.sdata2 :{}
.sbss2 : {}
.bss : {}
.PPC.EMB.sdata0 : {}
.PPC.EMB.sbss0 : {}
} > ram
}
This file came with quick start.
Used default directory
Thanks
Michael
Message Edited by J2MEJediMaster on 05-26-2006 10:09 AM
Hi,
I have the same problem !
Have you a solution ?
Hello
Seems there is an issue in the way QuickStart defines the .reset section.
Can you check the quick start source code and tell me how .reset section is defined?
Point is .reset section is not a predefined ELF section and it may be defined incorrectly.
CrasyCat
Hello
I think the issue is in the file exctable.asm. The .reset section must be defined as:
.section .reset,4,1,6
instead of
.section .reset,4,1, $40000006
I do not understand the $40000006 there
CrasyCat
Hi,
I received from the technical support an issue and in the future I think the problem will be fixed.
Thanks.