From fd1a1565a2e5d935444c22c33ebe8af89689cc14 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Mon, 15 Jun 2009 13:24:03 -0400 Subject: [PATCH] Correct a copy-and-paste mistake in relocs_equal. Signed-off-by: Anders Kaseorg --- objmanip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objmanip.c b/objmanip.c index da023e1..729db5b 100644 --- a/objmanip.c +++ b/objmanip.c @@ -1272,7 +1272,7 @@ bool relocs_equal(struct supersect *old_src_ss, struct supersect *new_src_ss, fetch_supersect(newsbfd, new_sect)->type == SS_TYPE_TEXT) return false; - if (!bfd_is_und_section(new_sect) && new_offset != 0 && + if (!bfd_is_und_section(old_sect) && new_offset != 0 && fetch_supersect(oldsbfd, old_sect)->type == SS_TYPE_TEXT) return false; -- 2.11.4.GIT