bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/19278] load segment created outside memory section specified i


From: address@hidden
Subject: [Bug gold/19278] load segment created outside memory section specified in linker script
Date: Tue, 16 Jan 2018 21:32:34 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19278

Stefan Brüns <address@hidden> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |address@hidden
                   |                            |e

--- Comment #1 from Stefan Brüns <address@hidden> ---
The mapfile contains the following:

Memory map
 ** file header
                0x07fff000       0x34
 ** segment headers
                0x07fff034       0xa0
.text           0x08000000     0x1b78 load address 0x8000000 

i.e. it seems like it prepends the file and segment headers.

This probably is also the reason for the "address of section '<foo>' moves
backward" error message, e.g.:

gold: error: address of section '.rodata' moves backward from 0x8001b9c to
0x8001b78
.note.gnu.build-id
                0x08001b78       0x24
 ** note header
                0x08001b78       0x10
 ** zero fill   0x08001b88       0x14
.rodata         0x08001b78      0x144

Note, the build-id is an orphan section here.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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