Browse Source

Linux: align pointers on 64bit

__param_start and __param end need to be 8 byte aligned on
64bit machines. Changed linker script to 8 byte align __param
section.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
sbg
Mark Charlebois 10 years ago
parent
commit
8b985331a4
  1. 2
      linux-configs/linuxtest/scripts/ld.script

2
linux-configs/linuxtest/scripts/ld.script

@ -53,7 +53,7 @@ SECTIONS @@ -53,7 +53,7 @@ SECTIONS
/*
* Construction data for parameters.
*/
__param ALIGN(4): {
__param ALIGN(8): {
__param_start = .;
KEEP(*(__param*))
__param_end = .;

Loading…
Cancel
Save