This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ELF program header in baremetal
- From: Nick Clifton <nickc at redhat dot com>
- To: Alexander Fedotov <alfedotov at gmail dot com>, binutils at sourceware dot org, gdb at sourceware dot org
- Date: Mon, 11 Nov 2019 14:58:26 +0000
- Subject: Re: ELF program header in baremetal
- References: <CAN8C2CrxTvj4mgiTQjEiYo9icdRJvk8kCWa=n0fF0WnRmFUx1Q@mail.gmail.com>
Hi Alexander,
> My proposal is to set ELF_MAXPAGESIZE to smallest value for baremetal
> configuration.
Isn't this what the arm-nacl configuration target does ?
> Forcing -max-page-size to 0/1 doesn't work unfortunately. It still generates
> non-existent segments.
Have you tried using the -n or the -N linker command line options ?
Cheers
Nick