This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: patch for COFF .section
- To: binutils at sourceware dot cygnus dot com
- Subject: Re: patch for COFF .section
- From: "Mark E." <snowball3 at bigfoot dot com>
- Date: Fri, 30 Jun 2000 00:56:17 -0400
Thanks for checking it in.
I've studied the !BFD_ASSEMBLER version of obj_coff_section and it also
doesn't warn in not warning about changing attributes after they've already
been set, but with a twist. !bfd gas for DJGPP takes this:
.section .foo,"x"
.section .foo,"b"
.section .foo,"w"
and sets the section attributes for code, data, and bss.
The problem with fixing this is you can't tell the difference between a
section that was just created by subseg_new and an existing section that
happens to have the default flags.
Mark