OSDN Git Service

add .zerofill to mach-o GAS.
authoriains <iains>
Wed, 4 Jan 2012 10:59:53 +0000 (10:59 +0000)
committeriains <iains>
Wed, 4 Jan 2012 10:59:53 +0000 (10:59 +0000)
commit194c4fdc7c5bb3e0ecfc9083e4783460d51ba81c
treef7953ef224b95cb2a77197035b6adaf432fcbfb0
parentadd542051cf8662432574fe57c4eb84dc8694945
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]