aboutsummaryrefslogtreecommitdiff
path: root/ld/ldexp.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2023-08-02 09:23:36 +0100
committerNick Clifton <nickc@redhat.com>2023-08-02 09:23:36 +0100
commit675b9d612cc59446e84e2c6d89b45500cb603a8d (patch)
treead4ae6b4b1f1f81aceb945f15c5c12ea2b379689 /ld/ldexp.h
parent69c37f53e20dc3e0b3c179b511ff786db6ae114e (diff)
downloadbinutils-675b9d612cc59446e84e2c6d89b45500cb603a8d.zip
binutils-675b9d612cc59446e84e2c6d89b45500cb603a8d.tar.gz
binutils-675b9d612cc59446e84e2c6d89b45500cb603a8d.tar.bz2
2.41 Release sourcesbinutils-2_41-release
Diffstat (limited to 'ld/ldexp.h')
-rw-r--r--ld/ldexp.h20
1 files changed, 5 insertions, 15 deletions
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