From f2b324f1f929d4d72dcb7b390e56ac58d82e3b27 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Tue, 3 Jan 2012 12:03:10 +0000 Subject: [PATCH] correct typo in previous commit. bfd: * mach-o.c (bfd_mach_o_mangle_symbols): Correct typo. --- bfd/ChangeLog | 4 ++++ bfd/mach-o.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + * mach-o.c (bfd_mach_o_mangle_symbols): Correct typo. + +2012-01-03 Iain Sandoe + * 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; } -- 2.7.4