diff options
author | Tristan Gingold <gingold@adacore.com> | 2008-11-12 10:27:57 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2008-11-12 10:27:57 +0000 |
commit | 09c6f846b63041b8161c0d4339ac1ddef11ea290 (patch) | |
tree | 3e183a9f1084cfe680a9986746a8dd1f452bf483 /bfd/bfd.c | |
parent | bfa1b75cccb82b0fe1dfb70783fcd4226e5ebcd3 (diff) | |
download | gdb-09c6f846b63041b8161c0d4339ac1ddef11ea290.zip gdb-09c6f846b63041b8161c0d4339ac1ddef11ea290.tar.gz gdb-09c6f846b63041b8161c0d4339ac1ddef11ea290.tar.bz2 |
2008-11-12 Tristan Gingold <gingold@adacore.com>
* bfd.c (bfd_get_sign_extend_vma): Return 0 for mach-o.
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r-- | bfd/bfd.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; } |