From 675b9d612cc59446e84e2c6d89b45500cb603a8d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 2 Aug 2023 09:23:36 +0100 Subject: 2.41 Release sources --- ld/ldexp.h | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'ld/ldexp.h') diff --git a/ld/ldexp.h b/ld/ldexp.h index 7c30275..70908c1 100644 --- a/ld/ldexp.h +++ b/ld/ldexp.h @@ -133,8 +133,6 @@ enum relro_enum { exp_seg_relro_end, }; -struct lang_output_section_statement_struct; - typedef struct { enum phase_enum phase; @@ -178,17 +176,10 @@ struct ldexp_control { etree_value_type result; bfd_vma dot; - /* Current dot and section passed to ldexp folder. SECTION will be - bfd_abs_section for expressions outside of an output section - statement. */ + /* Current dot and section passed to ldexp folder. */ bfd_vma *dotp; asection *section; - /* Last output section statement. For expressions within an output - section statement, this will be the current output section - statement being processed. */ - struct lang_output_section_statement_struct *last_os; - /* State machine and results for DATASEG. */ seg_align_type dataseg; }; @@ -220,10 +211,9 @@ etree_type *exp_bigintop etree_type *exp_relop (asection *, bfd_vma); void exp_fold_tree - (etree_type *, struct lang_output_section_statement_struct *, - asection *, bfd_vma *); + (etree_type *, asection *, bfd_vma *); void exp_fold_tree_no_dot - (etree_type *, struct lang_output_section_statement_struct *); + (etree_type *); etree_type *exp_binop (int, etree_type *, etree_type *); etree_type *exp_trinop @@ -243,9 +233,9 @@ etree_type *exp_assert void exp_print_tree (etree_type *); bfd_vma exp_get_vma - (etree_type *, struct lang_output_section_statement_struct *, bfd_vma, char *); + (etree_type *, bfd_vma, char *); int exp_get_power - (etree_type *, struct lang_output_section_statement_struct *, char *); + (etree_type *, char *); fill_type *exp_get_fill (etree_type *, fill_type *, char *); bfd_vma exp_get_abs_int -- cgit v1.1