commit | 3f60b98298fd77dec3a9182797c9dd6d7796bcaf | [log] [tgz] |
---|---|---|
author | H.J. Lu <hjl.tools@gmail.com> | Fri Jun 02 11:54:21 2023 -0700 |
committer | H.J. Lu <hjl.tools@gmail.com> | Mon Jun 05 08:21:21 2023 -0700 |
tree | 2f728ec231ede67c9fd4bd4d6e7acece00f64868 | |
parent | baab375361c365afee2577c94cbbd3fdd443d6da [diff] |
ELF: Don't warn an empty PT_LOAD with the program headers When rewriting the program headers, don't warn an empty PT_LOAD with the program headers. bfd/ PR binutils/30508 * elf.c (rewrite_elf_program_header): Don't warn if an empty PT_LOAD contains the program headers. ld/ PR binutils/30508 * testsuite/ld-elf/pr30508.d: New file. * testsuite/ld-elf/pr30508.s: Likewise.