diff options
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/mach-o/sections-1.d | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/mach-o/sections-2.d | 14 |
3 files changed, 20 insertions, 5 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 723b8c486f..80f9a73302 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2011-12-29 Iain Sandoe <idsandoe@googlemail.com> + + * gas/mach-o/sections-1.d: Amend to recognize that bss is not emitted + by default. + * gas/mach-o/sections-2.d: New. + 2011-12-19 Iain Sandoe <idsandoe@googlemail.com> * gas/mach-o/err-sections-1.s: New. diff --git a/gas/testsuite/gas/mach-o/sections-1.d b/gas/testsuite/gas/mach-o/sections-1.d index a70af9b9df..5b8a8fa8c3 100644 --- a/gas/testsuite/gas/mach-o/sections-1.d +++ b/gas/testsuite/gas/mach-o/sections-1.d @@ -11,11 +11,6 @@ align: 0 nreloc: 0 reloff: (00000000)?00000000 flags: 00000000 \(type: regular attr: -\) reserved1: 0x0 reserved2: 0x0 reserved3: 0x0 - Section: __bss __DATA \(bfdname: .bss\) - addr: (00000000)?00000000 size: (00000000)?00000000 offset: (00000000)?00000000 - align: 0 nreloc: 0 reloff: (00000000)?00000000 - flags: 00000001 \(type: zerofill attr: -\) - reserved1: 0x0 reserved2: 0x0 reserved3: 0x0 Section: __textcoal_nt __TEXT \(bfdname: __TEXT.__textcoal_nt\) addr: (00000000)?00000000 size: (00000000)?00000000 offset: (00000000)?00000000 align: 0 nreloc: 0 reloff: (00000000)?00000000 diff --git a/gas/testsuite/gas/mach-o/sections-2.d b/gas/testsuite/gas/mach-o/sections-2.d new file mode 100644 index 0000000000..9d24f9ae1a --- /dev/null +++ b/gas/testsuite/gas/mach-o/sections-2.d @@ -0,0 +1,14 @@ +#objdump: -h +#source: empty.s +# we should only see a text section by default. +.*: +file format mach-o.* +#... +Idx Name.* + 0 .text.* +.* +#failif + 1 .data.* +.* + 2 .bss.* +.* + |