mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-05 22:24:47 +08:00
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>
This commit is contained in:
@@ -53,7 +53,7 @@ SECTIONS
|
||||
/*
|
||||
* Construction data for parameters.
|
||||
*/
|
||||
__param ALIGN(4): {
|
||||
__param ALIGN(8): {
|
||||
__param_start = .;
|
||||
KEEP(*(__param*))
|
||||
__param_end = .;
|
||||
|
||||
Reference in New Issue
Block a user