[PATCH] Scan for Mach-O start address in LC_MAIN and properly check bfd_mach_o_scan_start_address's return value
Alan Modra
amodra@gmail.com
Mon Feb 4 12:22:00 GMT 2013
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
More information about the Binutils
mailing list