set vma on mach-o sections.
commit4578862bf475545bfa10c129535e80e05e91ec0e
authoriains <iains>
Fri, 13 Jan 2012 11:55:01 +0000 (13 11:55 +0000)
committeriains <iains>
Fri, 13 Jan 2012 11:55:01 +0000 (13 11:55 +0000)
tree2295adc2f4c623260373214783f0329d006bb0b5
parent1b4c5d2b86e9172099b34447037d7df00d7aa8b1
set vma on mach-o sections.

gas:

* config/obj-macho.c (obj_mach_o_set_vma_data): New type.
(obj_mach_o_set_section_vma): New.
(obj_mach_o_post_relax_hook): New.
* config/obj-macho.h (md_post_relax_hook): Define.
(obj_mach_o_post_relax_hook): Declare.

gas/testsuite:

* gas/mach-o/dysymtab-2.d: Update to include the set VMA.
* gas/mach-o/symbols-1-64.d: Likewise.
* gas/mach-o/symbols-1.d: Likewise.
* gas/mach-o/symbols-6.d: Likewise.
* gas/mach-o/zerofill-1.d: Likewise.
* gas/mach-o/zerofill-2.d: Likewise.
gas/ChangeLog
gas/config/obj-macho.c
gas/config/obj-macho.h
gas/testsuite/ChangeLog
gas/testsuite/gas/mach-o/dysymtab-2.d
gas/testsuite/gas/mach-o/symbols-1-64.d
gas/testsuite/gas/mach-o/symbols-1.d
gas/testsuite/gas/mach-o/symbols-6.d
gas/testsuite/gas/mach-o/zerofill-1.d
gas/testsuite/gas/mach-o/zerofill-2.d