aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/mach-o.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7406ddd..f0df80c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,9 @@
2012-01-03 Iain Sandoe <idsandoe@googlemail.com>
+ * mach-o.c (bfd_mach_o_mangle_symbols): Correct typo.
+
+2012-01-03 Iain Sandoe <idsandoe@googlemail.com>
+
* mach-o.c (bfd_mach_o_write_symtab): Fill in the string table index
as the value of an indirect symbol. Keep the string table index in
non-indirect syms for reference.
diff --git a/bfd/mach-o.c b/bfd/mach-o.c
index b2c4dff..d534448 100644
--- a/bfd/mach-o.c
+++ b/bfd/mach-o.c
@@ -1789,7 +1789,7 @@ bfd_mach_o_mangle_symbols (bfd *abfd, bfd_mach_o_data_struct *mdata)
/* Unless we're looking at an indirect sym, note the input ordering.
We use this to keep local symbols ordered as per the input. */
- if (IS_MACHO_INDIRECT (s->n_type))
+ if (! IS_MACHO_INDIRECT (s->n_type))
s->symbol.udata.i = i;
}