aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-06-02 23:54:37 +0000
committerIan Lance Taylor <ian@airs.com>1994-06-02 23:54:37 +0000
commit2f4b5b5302cf51fb206f45dd75928781159c1a44 (patch)
tree8e404d576b10e2548af98784512f90ddbb058973 /ld
parentcd779d0139238c88c1bfbabea5fabaa087905aec (diff)
downloadgdb-2f4b5b5302cf51fb206f45dd75928781159c1a44.zip
gdb-2f4b5b5302cf51fb206f45dd75928781159c1a44.tar.gz
gdb-2f4b5b5302cf51fb206f45dd75928781159c1a44.tar.bz2
Correct handling of .sa file.
Diffstat (limited to 'ld')
-rw-r--r--ld/emultempl/sunos.em7
1 files changed, 5 insertions, 2 deletions
diff --git a/ld/emultempl/sunos.em b/ld/emultempl/sunos.em
index 55bcd6c..c6c1605 100644
--- a/ld/emultempl/sunos.em
+++ b/ld/emultempl/sunos.em
@@ -221,15 +221,18 @@ gld${EMULATION_NAME}_find_so (inp)
sa->the_bfd = NULL;
sa->asymbols = NULL;
sa->symbol_count = 0;
- sa->next = inp->next;
+ sa->next = NULL;
sa->next_real_file = inp->next_real_file;
sa->is_archive = false;
sa->search_dirs_flag = false;
sa->just_syms_flag = false;
sa->loaded = false;
+ sa->real = true;
+ sa->complained = false;
+ /* Put the new statement next on the list of statements and next
+ on the list of input files. */
inp->header.next = (lang_statement_union_type *) sa;
- inp->next = (lang_statement_union_type *) sa;
inp->next_real_file = (lang_statement_union_type *) sa;
}
}