help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ld - alignment between moduls within a section


From: Werner Spielmann
Subject: ld - alignment between moduls within a section
Date: 26 May 2004 05:37:18 -0700

Hello!

Linking my program with GNU ld (cross-m68k, version 2.14 20030612) I
got boundary alignments between moduls within a section used by data.

Mind the "*fill* lines also marked manually by the "!?!"-signs:

[...]

nvram           0xf0000000    0x2b020
                0xf0000000                _nvramstart_ = .
 obj_162_rom_gnu/modul1.o(COMMON)
 COMMON         0xf0000000    0x10000 obj_162_rom_gnu/modul1.o
                                  0x0 (size before relaxing)
                0xf0000000                _MyVars1
 obj_162_rom_gnu/modul2.o(COMMON)
 COMMON         0xf0010000      0xaf4 obj_162_rom_gnu/modul2.o
                                  0x0 (size before relaxing)
                0xf0010000                _MyVars2
 obj_162_rom_gnu/modul3.o(COMMON)
 *fill*         0xf0010af4        0x4 00                  <!?!?!?!
 COMMON         0xf0010af8        0x8 obj_162_rom_gnu/modul3.o
                                  0x0 (size before relaxing)
                0xf0010af8                _MyVars3

[... and so on ...]

 obj_162_rom_gnu/modul6.o(COMMON)
 COMMON         0xf0010c00        0x8 obj_162_rom_gnu/modul6.o
                                  0x0 (size before relaxing)
                0xf0010c00                _MyVars6
 obj_162_rom_gnu/modul7.o(COMMON)
 *fill*         0xf0010c08        0x8 00                <!?!?!?!
 COMMON         0xf0010c10     0x1000 obj_162_rom_gnu/modul7.o
                                  0x0 (size before relaxing)
                0xf0010c10                _MyVars7
 obj_162_rom_gnu/modul8.o(COMMON)
 COMMON         0xf0011c10        0x8 obj_162_rom_gnu/modul8.o
                                  0x0 (size before relaxing)
                0xf0011c10                _MyVars8
[...]

How can I prevent this "fill" insertion? 
No option i tried have had any success!
I don't need this 0x10-alignment, because I have to access data
disposed by another program/processor.

Thanks!
Werner


reply via email to

[Prev in Thread] Current Thread [Next in Thread]