diff options
author | Alan Modra <amodra@gmail.com> | 2001-08-20 03:09:07 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-08-20 03:09:07 +0000 |
commit | 2af022575a4da4889f2a6fbe02f254964dd8bbfa (patch) | |
tree | 35ea67122a1e1b36045022165feb3fe14ceb6876 /ld/ldlang.c | |
parent | bba1a0c06251b064c5be78ff3e82b568e6ce0037 (diff) | |
download | gdb-2af022575a4da4889f2a6fbe02f254964dd8bbfa.zip gdb-2af022575a4da4889f2a6fbe02f254964dd8bbfa.tar.gz gdb-2af022575a4da4889f2a6fbe02f254964dd8bbfa.tar.bz2 |
* ldlang.c (insert_pad): Fix typos in last patch.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index 03a79b8..30de02b 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -2637,9 +2637,9 @@ insert_pad (ptr, fill, alignment_needed, output_section, dot) lang_statement_union_type *pad; pad = ((lang_statement_union_type *) - ((char *) ptr - offsetof (lang_statement_union_type *, header.next))); + ((char *) ptr - offsetof (lang_statement_union_type, header.next))); if (ptr != &statement_list.head - && pad->header.type == lang_padding_statement_enum) + && pad->header.type == lang_padding_statement_enum && pad->padding_statement.output_section == output_section) { /* Use the existing pad statement. The above test on output |