2008-11-12 Tristan Gingold <gingold@adacore.com>

* bfd.c (bfd_get_sign_extend_vma): Return 0 for mach-o.
This commit is contained in:
Tristan Gingold 2008-11-12 10:27:57 +00:00
parent bfa1b75ccc
commit 09c6f846b6
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-11-12 Tristan Gingold <gingold@adacore.com>
* bfd.c (bfd_get_sign_extend_vma): Return 0 for mach-o.
2008-11-11 Alan Modra <amodra@bigpond.net.au>
* elf.c (assign_file_positions_for_non_load_sections): Consolidate

View File

@ -1001,6 +1001,9 @@ bfd_get_sign_extend_vma (bfd *abfd)
|| strcmp (name, "pei-arm-wince-little") == 0)
return 1;
if (CONST_STRNEQ (name, "mach-o"))
return 0;
bfd_set_error (bfd_error_wrong_format);
return -1;
}