tock / libtock-rs

Rust userland library for Tock
Apache License 2.0
163 stars 109 forks source link

build/make: set the page size #503

Closed bradjc closed 1 year ago

bradjc commented 1 year ago

Without setting this, lld seems to assume 0x10000 sized pages and tries to align the output segments to 0x10000. This often causes elfs with large padding regions before the first segment we actually want to load on the board.

See https://github.com/tock/elf2tab/pull/75 for further discussion.

bradjc commented 1 year ago

Moved.

I think when you spend too much time thinking about linkers it starts to change you and you start to think that others might also want to think about linkers but in reality they don't and I agree it's better to just fix this option for everyone and no one will ever notice or care.