From 1b493742004fd74ebe85a9f93bf28aebe8e858c8 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Mon, 23 Feb 2004 10:10:02 +0000 Subject: * ldlang.h (struct lang_output_section_state): Change processed field's type. * ldexp.c (check, invalid): Remove. (fold_name): Move valid_p assignments. Create undefined symbol when needed. Directly exampine section's processd flag. * ldlang.c (lang_output_section_statement_lookup): Adjust processed field init. (lang_size_sections_1): Allow LOADADDR when determining section's VMA. Adjust error message. Fold data statement's expr. (lang_size_sections): Correctly increment lang_statement_iteration. * ld-scripts/provide.exp: New. * ld-scripts/provide-{1,2,3}.{s,t,d}.exp: New. * ldexp.c (fold_tree): Follow indirect symbols. --- ld/ldlang.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ld/ldlang.h') diff --git a/ld/ldlang.h b/ld/ldlang.h index 867eb14..d518398 100644 --- a/ld/ldlang.h +++ b/ld/ldlang.h @@ -134,7 +134,7 @@ typedef struct lang_output_section_statement_struct union lang_statement_union *next; const char *name; - bfd_boolean processed; + int processed; asection *bfd_section; flagword flags; /* Or together of all input sections. */ -- cgit v1.1