projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR ld/5025
[deliverable/binutils-gdb.git]
/
ld
/
emultempl
/
elf32.em
diff --git
a/ld/emultempl/elf32.em
b/ld/emultempl/elf32.em
index 88381407cc340db214da954dfb4efe9905152c34..775458c61812924393e4ed83121a2a89ffeeb440 100644
(file)
--- a/
ld/emultempl/elf32.em
+++ b/
ld/emultempl/elf32.em
@@
-936,10
+936,11
@@
gld${EMULATION_NAME}_write_build_id_section (bfd *abfd)
Elf_External_Note *e_note;
asec = info->sec;
Elf_External_Note *e_note;
asec = info->sec;
- if (
asec->output_section == NULL
)
+ if (
bfd_is_abs_section (asec->output_section)
)
{
{
- einfo (_("%P: .note.gnu.build-id section missing"));
- return FALSE;
+ einfo (_("%P: warning: .note.gnu.build-id section discarded,"
+ " --build-id ignored.\n"));
+ return TRUE;
}
i_shdr = &elf_section_data (asec->output_section)->this_hdr;
}
i_shdr = &elf_section_data (asec->output_section)->this_hdr;
This page took
0.044682 seconds
and
4
git commands to generate.