This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Scan for Mach-O start address in LC_MAIN and properly check bfd_mach_o_scan_start_address's return value
- From: Alan Modra <amodra at gmail dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: David Albert <davidbalbert at gmail dot com>, binutils at sourceware dot org
- Date: Mon, 4 Feb 2013 22:52:23 +1030
- Subject: Re: [PATCH] Scan for Mach-O start address in LC_MAIN and properly check bfd_mach_o_scan_start_address's return value
- References: <CAKYxTUYkjYQyPzOvTXQNJEyH10YJxy=H1YppPCDuVz=AT1Ln3g@mail.gmail.com> <A9B199BF-C931-4707-8DFF-080A75A41520@adacore.com>
On Thu, Jan 31, 2013 at 10:55:23AM +0100, Tristan Gingold wrote:
> * mach-o.c (bfd_mach_o_scan): Call bfd_mach_o_flatten_sections
> earlier. Fix status checking of bfd_mach_o_scan_start_address.
> (bfd_mach_o_scan_start_address): Handle LC_MAIN.
Results in 388 regressions for --target=i386-darwin.
+FAIL: ar symbol table
+FAIL: ar thin archive
+FAIL: ar thin archive with nested archive
+FAIL: nm (no arguments)
+FAIL: nm -g
+FAIL: nm -P
+FAIL: objcopy --reverse-bytes
+FAIL: objcopy -O srec
+ERROR: objdump can not recognize bintest.o
+ERROR: objdump can not recognize bintest.o
[snip rest]
--
Alan Modra
Australia Development Lab, IBM