diff options
author | Aaron Durbin <adurbin@chromium.org> | 2013-04-29 13:53:41 -0500 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-05-01 03:25:51 +0200 |
commit | e1be5ae2f485989f88ae9af92a97e0577b033155 (patch) | |
tree | 6ab9aecb21564706ede3f98ba55b0b0e08f6d1b9 /src/drivers | |
parent | ac4b00e230a7f0dfa308d45a7b6034e96a243ab0 (diff) | |
download | coreboot-e1be5ae2f485989f88ae9af92a97e0577b033155.tar.xz |
rmodule: put all code/data bits in one section
While debugging a crash it was discovered that ld was inserting
address space for sections that were empty depending on section
address boundaries. This led to the assumption breaking down that
on-disk payload (code/data bits) was contiguous with the address
space. When that assumption breaks down relocation updates change
the wrong memory. Fix this by making the rmodule.ld linker script
put all code/data bits into a payload section.
Change-Id: Ib5df7941bbd64662090136e49d15a570a1c3e041
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/3149
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/drivers')
0 files changed, 0 insertions, 0 deletions