aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIain Sandoe <iain@codesourcery.com>2012-01-03 12:03:10 +0000
committerIain Sandoe <iain@codesourcery.com>2012-01-03 12:03:10 +0000
commitf2b324f1f929d4d72dcb7b390e56ac58d82e3b27 (patch)
treee1436e0d1ca5725c2e410fa30f79a828c58f199b /bfd
parent7f3072381b852817638295d676689b211af03c50 (diff)
downloadgdb-f2b324f1f929d4d72dcb7b390e56ac58d82e3b27.zip
gdb-f2b324f1f929d4d72dcb7b390e56ac58d82e3b27.tar.gz
gdb-f2b324f1f929d4d72dcb7b390e56ac58d82e3b27.tar.bz2
correct typo in previous commit.
bfd: * mach-o.c (bfd_mach_o_mangle_symbols): Correct typo.
Diffstat (limited to 'bfd')
-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;
}