This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
bogus "ignoring changed section type" warning
- From: "Jan Beulich" <JBeulich at novell dot com>
- To: <binutils at sourceware dot org>
- Date: Thu, 06 Aug 2009 15:35:58 +0100
- Subject: bogus "ignoring changed section type" warning
Isn't this warning rather odd for code like this:
.section .init.rodata,"a"
.section .init.rodata,"a",@progbits
especially since with just the first directive, the section ends up being
progbits anyway (due to elf_fake_sections() deriving the type from the
section flags)? Wouldn't it hence make sense to guess an unspecified
section type from the flags right away, or alternatively allow modifying
SHT_NULL (in obj_elf_change_section()) by a later, more explicit
directive?
Thanks, Jan