Re: [BUG] Padding inserted by linker breaks magicvar linker array

2019-11-04 Thread Ahmad Fatoum
On 11/4/19 8:42 AM, Ahmad Fatoum wrote: > [1]: master at time of writing is 27ee6010 "console_simple: fix linking error > when > ARCH_HAS_CTRLC enabled". To reproduce the issue I've added a single > dummy initcall. > I can provide defconfig if requested. I missed mentioning that I am b

[BUG] Padding inserted by linker breaks magicvar linker array

2019-11-03 Thread Ahmad Fatoum
Hi, I run into a crash with barebox master[1] when running the magicvar command. The culprit seems to be 8 bytes of padding inserted between __barebox_magicvar_start and OPTARG, the first array element: 0x00061918__barebox_magicvar_start = . *(SORT_BY_