set vma on mach-o sections.
authorIain Sandoe <iain@codesourcery.com>
Fri, 13 Jan 2012 11:55:02 +0000 (11:55 +0000)
committerIain Sandoe <iain@codesourcery.com>
Fri, 13 Jan 2012 11:55:02 +0000 (11:55 +0000)
commitc3402d205655e74dda81fd58387a2d5fac870dea
treeb9ce4a2fc0a8c5fb2484fb16f5d3e918fc1ab561
parentee5106fedefc3b2378641dbfaac0b4c5a919584e
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