<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">I have a question regarding map files.
<br>
My host is 64-bit fedora-linux and target is 32-bit powerpc-rtems4.11 (icecube bsp) Eclipse Luna CDT.
<br>
Passing flags -Wl,-Map,output file.map to linker generates a map file with 64-bit addresses.<br>
See map file snippet below from ticker example.  <br>
<br>
Is there a way to force 32-bit ?<br>
<br>
Memory Configuration<br>
<br>
Name             Origin             Length             Attributes<br>
RAM              0x0000000000000000 0x0000000007fff000<br>
ROM              0x00000000ffe00000 0x0000000000200000<br>
REGS             0x00000000f0000000 0x0000000000010000<br>
DPRAM            0x0000000000000000 0x0000000000000000<br>
UNEXPECTED_SECTIONS 0x00000000ffffffff 0x0000000000000000<br>
*default*        0x0000000000000000 0xffffffffffffffff<br>
<br>
Linker script and memory map<br>
<br>
LOAD /home/darb/development/rtems/4.11/lib/gcc/powerpc-rtems4.11/4.9.2/m603e/ecrti.o<br>
LOAD /home/darb/development/icecube/powerpc-rtems4.11/icecube/lib/rtems_crti.o<br>
LOAD /home/darb/development/rtems/4.11/lib/gcc/powerpc-rtems4.11/4.9.2/m603e/crtbegin.o<br>
LOAD /home/darb/development/icecube/powerpc-rtems4.11/icecube/lib/start.o<br>
LOAD ./init.o<br>
LOAD /home/darb/development/rtems/4.11/lib/gcc/powerpc-rtems4.11/4.9.2/m603e/libgcc.a<br>
START GROUP<br>
LOAD /home/darb/development/icecube/powerpc-rtems4.11/icecube/lib/librtemsbsp.a<br>
LOAD /home/darb/development/icecube/powerpc-rtems4.11/icecube/lib/librtemscpu.a<br>
LOAD /home/darb/development/rtems/4.11/lib/gcc/powerpc-rtems4.11/4.9.2/../../../../powerpc-rtems4.11/lib/m603e/libc.a<br>
LOAD /home/darb/development/rtems/4.11/lib/gcc/powerpc-rtems4.11/4.9.2/m603e/libgcc.a<br>
END GROUP<br>
                0x0000000000000000                bsp_ram_start = ORIGIN (RAM)<br>
                0x0000000007fff000                bsp_ram_end = (ORIGIN (RAM) + 0x7fff000)<br>
                0x0000000007fff000                bsp_ram_size = 0x7fff000<br>
                0x00000000ffe00000                bsp_rom_start = ORIGIN (ROM)<br>
                0x0000000100000000                bsp_rom_end = (ORIGIN (ROM) + 0x200000)<br>
                0x0000000000200000                bsp_rom_size = 0x200000<br>
                0x0000000000000000                bsp_dpram_start = ORIGIN (DPRAM)<br>
                0x0000000000000000                bsp_dpram_end = (ORIGIN (DPRAM) + 0x0)<br>
                0x0000000000000000                bsp_dpram_size = 0x0<br>
                0x0000000000000020                bsp_section_align = 0x20<br>
                0x0000000000000000                RamBase = bsp_ram_start<br>
                0x0000000007fff000                RamSize = bsp_ram_size<br>
                0x0000000000000000                HeapSize = DEFINED (HeapSize)?HeapSize:0x0<br>
<br>
.regs           0x00000000f0000000        0x0<br>
                0x00000000f0000000                MBAR = .<br>
                0x00000000f0000000                mpc5200 = .<br>
<br>
.vectors        0x0000000000000100     0x1f00<br>
 *(.vectors)<br>
 .vectors       0x0000000000000100     0x1f00 /home/darb/development/icecube/powerpc-rtems4.11/icecube/lib/start.o<br>
<br>
.text           0x0000000000010000    0x23dc0<br>
                0x0000000000010000                bsp_section_text_start = .<br>
 *(.entry)<br>
 .entry         0x0000000000010000      0x458 /home/darb/development/icecube/powerpc-rtems4.11/icecube/lib/start.o<br>
                0x0000000000010000                start<br>
<br>
<br>
<br>
<br>
</div>
<br><br><span style="font-family:Arial; Font-size:10.0pt"> <hr width="100%"> This email has been scanned for email related threats and delivered safely by Mimecast.<br> For more information please visit <a href="http://www.mimecast.com">http://www.mimecast.com</a> <hr width="100%"> </span></body>
</html>