reverse the order of relocs in mach-o gas output.
authorIain Sandoe <iain@codesourcery.com>
Fri, 13 Jan 2012 15:19:13 +0000 (15:19 +0000)
committerIain Sandoe <iain@codesourcery.com>
Fri, 13 Jan 2012 15:19:13 +0000 (15:19 +0000)
commit34dd18bca5b8991d5e107dc1669ba6710916ce1d
treedd8c4d6ffcd6a8745710832b9abee5f444f97376
parent0ee339bc478ec8c35f4fee8998456bc33be0a3e2
reverse the order of relocs in mach-o gas output.

gas:

* config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
* config/obj-macho.h (SET_SECTION_RELOCS): Define.
(obj_mach_o_reorder_section_relocs): Declare.

gas/testsuite:

* gas/all/redef2.d: Skip for Darwin.
* gas/all/redef3.d: Likewise.
* gas/all/weakref1.d: Likewise.
* gas/macros/irp.d: Likewise.
* gas/macros/repeat.d: Likewise.
* gas/macros/rept.d: Likewise.
* gas/macros/test2.d: Likewise.
* gas/macros/vararg.d: Likewise.
* gas/mach-o/macro-irp.d: New.
* gas/mach-o/macro-repeat.d: New.
* gas/mach-o/macro-rept.d: New.
* gas/mach-o/macro-test2.d: New.
* gas/mach-o/macro-vararg.d: New.
* gas/mach-o/redef2.d: New.
* gas/mach-o/redef3.d: New.
19 files changed:
gas/ChangeLog
gas/config/obj-macho.c
gas/config/obj-macho.h
gas/testsuite/ChangeLog
gas/testsuite/gas/all/redef2.d
gas/testsuite/gas/all/redef3.d
gas/testsuite/gas/all/weakref1.d
gas/testsuite/gas/mach-o/macro-irp.d [new file with mode: 0644]
gas/testsuite/gas/mach-o/macro-repeat.d [new file with mode: 0644]
gas/testsuite/gas/mach-o/macro-rept.d [new file with mode: 0644]
gas/testsuite/gas/mach-o/macro-test2.d [new file with mode: 0644]
gas/testsuite/gas/mach-o/macro-vararg.d [new file with mode: 0644]
gas/testsuite/gas/mach-o/redef2.d [new file with mode: 0644]
gas/testsuite/gas/mach-o/redef3.d [new file with mode: 0644]
gas/testsuite/gas/macros/irp.d
gas/testsuite/gas/macros/repeat.d
gas/testsuite/gas/macros/rept.d
gas/testsuite/gas/macros/test2.d
gas/testsuite/gas/macros/vararg.d