summaryrefslogtreecommitdiff
path: root/tools/u_boot_pylib/command.py
diff options
context:
space:
mode:
authorSam Edwards <cfsworks@gmail.com>2025-03-15 15:18:03 -0700
committerTom Rini <trini@konsulko.com>2025-04-02 14:33:50 -0600
commit16448c443c8cacba7dacb3e919c0b414f70b8a7c (patch)
treea265b54845972bc74d8ee6bf9056c8ed667973f4 /tools/u_boot_pylib/command.py
parentdeba40dd0ba452a3f15a359894e6b50494870d0e (diff)
arm: Discard unwanted sections in linker script
There are a handful of sections that are not useful in the U-Boot output binary. At present, the linker script moves these to the end of the binary, after the _image_binary_end marker symbol, so that they don't get loaded. The linker script syntax supports discarding sections that shouldn't be included in the output. Switch to this instead, to make the intention clearer and reduce the ELF sections that have to be handled later in the build. This is also consistent with the other architectures' linker scripts. Signed-off-by: Sam Edwards <CFSworks@gmail.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'tools/u_boot_pylib/command.py')
0 files changed, 0 insertions, 0 deletions