aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-11-24 11:43:11 +0000
committerNick Clifton <nickc@redhat.com>1999-11-24 11:43:11 +0000
commit50e05050cddfd84925e0dc7a09228cb15035f4fa (patch)
treedd61066c6e1c65314bc80ee999bccd1f923450c3 /ld/ldlang.c
parent33275c22c0eebec8e2658eead8e6dda4fee33a50 (diff)
downloadgdb-50e05050cddfd84925e0dc7a09228cb15035f4fa.zip
gdb-50e05050cddfd84925e0dc7a09228cb15035f4fa.tar.gz
gdb-50e05050cddfd84925e0dc7a09228cb15035f4fa.tar.bz2
Fix bug in previous delta
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index ad890d1..e203b47 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -2609,7 +2609,7 @@ size_input_section (this_ptr, output_section_statement, fill, dot, relax)
}
#define IGNORE_SECTION(bfd, s) \
- (((bfd_get_section_flags (bfd, s) & (SEC_ALLOC | SEC_LOAD)) == 0) \
+ (((bfd_get_section_flags (bfd, s) & (SEC_ALLOC | SEC_LOAD)) != (SEC_ALLOC | SEC_LOAD)) \
|| bfd_section_size (bfd, s) == 0)
/* Check to see if any allocated sections overlap with other allocated