Comment 4 for bug 1608882

Revision history for this message
JiriJ (jirij-0) wrote :

Dear Thomas,

I have got the same results as you had.

C test code (a new separated C module created and added to my build) is as you pasted above, the compiler options are identical to the defined ones in my previous post. Additionally my section ".external_device" has now following dummy (but still meaningful) definition in the linker description file:

MEMORY
{
    EXT_DEV_MEM (RW) : org = 0x68000000, len = 0x00000070
}
SECTIONS
{
    .external_device (NOLOAD) :
    {
        . = ALIGN(2); /* 16-bit variables aligned without any padding */
        external_device_start = .;
        *(.EXT_DEV_SECTION)
    } > EXT_DEV_MEM
    external_device_size = SIZEOF(.external_device);

}

Oops, I must investigate our project in more detail - sorry, I cannot easily share this source code (although that would be really helpful for deeper analysis).

Thanks for your support up to now, I will be back with news (hopefully) soon...

Best regards,
Jiri