------- Additional Comments From amodra at bigpond dot net dot au  2007-09-08 
03:02 -------
Alignment padding should not be written for .bss, but it is because the output
.bss has SEC_HAS_CONTENTS set.  See ldwite.c:build_link_order <case
lang_padding_statement_enum>.  SEC_HAS_CONTENTS is set because
arch_x86_64_kernel_built-in.o .bss_page_aligned is SHT_PROGBITS.  This is wrong.
 A bss style section should be SHT_NOBITS.  However, linking a SHT_PROGBITS
section into .bss should simply make .bss SHT_PROGBITS.  It doesn't, because
.bss has its ELF section type set via bfd_elf_special_section to SHT_NOBITS too
early.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5006

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to