[COMMITTED,trunk+binutils-2_20-branch] Extend COFF .section directive syntax to specify alignment.
Dave Korn
dave.korn.cygwin@googlemail.com
Wed Jan 27 22:11:00 GMT 2010
On 17/01/2010 18:37, Dave Korn wrote:
> gas/ChangeLog:
>
> * NEWS: Mention new feature.
> * config/obj-coff.c (obj_coff_section): Accept digits and use
> to override default section alignment power if specified.
> * doc/as.texinfo (.section directive): Update documentation.
>
> gas/testsuite/ChangeLog:
>
> * gas/pe/section-align-1.s: New test source file.
> * gas/pe/section-align-1.d: Likewise control script.
> * gas/pe/section-align-2.s: Likewise ...
> * gas/pe/section-align-2.d: ... and likewise.
> * gas/pe/pe.exp: Invoke new testcases.
>
> Tested on i686-pc-cygwin and cross to x86_64-w64-mingw32 with no regressions
> and the new tests passing.
Brought up to date, rebuilt and retested on the above targets; fixed one
minor portability issue; tweaked NEWS entries slightly for clarity re:
trunk-vs-branch; applied to mainline and branch. Thanks for bearing with me, all.
cheers,
DaveK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coff-section-directive-alignment-applied.diff
Type: text/x-c
Size: 8750 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100127/50b62c6a/attachment.bin>
More information about the Binutils
mailing list