add .zerofill to mach-o GAS.
authorIain Sandoe <iain@codesourcery.com>
Wed, 4 Jan 2012 10:59:54 +0000 (10:59 +0000)
committerIain Sandoe <iain@codesourcery.com>
Wed, 4 Jan 2012 10:59:54 +0000 (10:59 +0000)
commit8cf6e084007d9558f9246e6aa61284e7b54facea
tree243866177d2e28a1a0bce4e79b9c3befd50fcef8
parent9f4a5bd19a3650f6a73d939262aee7f958754b6e
add .zerofill to mach-o GAS.

gas:

* config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
(obj_mach_o_get_section_names): New (split from obj_mach_o_section).
(obj_mach_o_make_or_get_sect): Likewise.
(obj_mach_o_section): Split out the functionality shared with zerofill.
(obj_mach_o_zerofill): New.
(obj_mach_o_common_parse): Ensure whitespace is skipped.
(mach_o_pseudo_table): Add .zerofill.

gas/testsuite:

* gas/mach-o/zerofill-1.d: New.
* gas/mach-o/zerofill-1.s: New.
gas/ChangeLog
gas/config/obj-macho.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mach-o/zerofill-1.d [new file with mode: 0644]
gas/testsuite/gas/mach-o/zerofill-1.s [new file with mode: 0644]