From 0c9ef0f001e727226aae6a0dd3963dd81998e2e8 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 15 Dec 2011 10:56:48 +0000 Subject: bfd/ 2011-12-15 Iain Sandoe * mach-o-target.c (bfd_mach_o_bfd_set_private_flags): Use bfd_mach_o_bfd_set_private_flags. * mach-o.c (bfd_mach_o_bfd_set_private_flags): New. * mach-o.h (bfd_mach_o_bfd_set_private_flags): Declare. gas/ 2011-12-15 Iain Sandoe * config/obj-macho.c (obj_mach_o_subsections_by_symbols): New global. (obj_mach_o_file_properties): New enum. (obj_mach_o_subsections_via_symbols): Generalize name to... ... (obj_mach_o_fileprop) and use to set subsections_via_symbols. gas/testsuite/ 2011-12-15 Iain Sandoe * gas/mach-o/subsect-via-symbols-0.d: New. * gas/mach-o/subsect-via-symbols-1.d: New. * gas/mach-o/subsect-via-symbols.s: New. --- gas/testsuite/ChangeLog | 6 ++++++ gas/testsuite/gas/mach-o/subsect-via-symbols-0.d | 6 ++++++ gas/testsuite/gas/mach-o/subsect-via-symbols-1.d | 6 ++++++ gas/testsuite/gas/mach-o/subsect-via-symbols.s | 3 +++ 4 files changed, 21 insertions(+) create mode 100644 gas/testsuite/gas/mach-o/subsect-via-symbols-0.d create mode 100644 gas/testsuite/gas/mach-o/subsect-via-symbols-1.d create mode 100644 gas/testsuite/gas/mach-o/subsect-via-symbols.s (limited to 'gas/testsuite') diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 5fa4335..c9efc90 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2011-12-15 Iain Sandoe + + * gas/mach-o/subsect-via-symbols-0.d: New. + * gas/mach-o/subsect-via-symbols-1.d: New. + * gas/mach-o/subsect-via-symbols.s: New. + 2011-12-15 Nick Clifton * gas/frv/immediates.s: New test file - checks assembly of diff --git a/gas/testsuite/gas/mach-o/subsect-via-symbols-0.d b/gas/testsuite/gas/mach-o/subsect-via-symbols-0.d new file mode 100644 index 0000000..4dd2739 --- /dev/null +++ b/gas/testsuite/gas/mach-o/subsect-via-symbols-0.d @@ -0,0 +1,6 @@ +#objdump: -P header +#source: empty.s +.*: +file format mach-o.* +#... +.*flags +: 00000000 \(-\) +#pass diff --git a/gas/testsuite/gas/mach-o/subsect-via-symbols-1.d b/gas/testsuite/gas/mach-o/subsect-via-symbols-1.d new file mode 100644 index 0000000..163a9c2 --- /dev/null +++ b/gas/testsuite/gas/mach-o/subsect-via-symbols-1.d @@ -0,0 +1,6 @@ +#objdump: -P header +#source: subsect-via-symbols.s +.*: +file format mach-o.* +#... +.*flags +: 00002000 \(subsections_via_symbols\) +#pass diff --git a/gas/testsuite/gas/mach-o/subsect-via-symbols.s b/gas/testsuite/gas/mach-o/subsect-via-symbols.s new file mode 100644 index 0000000..b244150 --- /dev/null +++ b/gas/testsuite/gas/mach-o/subsect-via-symbols.s @@ -0,0 +1,3 @@ +# just set subsections by symbols + .subsections_via_symbols + -- cgit v1.1