aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-06-28 05:28:54 +0000
committerAlan Modra <amodra@gmail.com>2003-06-28 05:28:54 +0000
commit1579bae1cd094ed9b986d2128997953600ca910d (patch)
tree17d62b19ecb6002f3c0982a8a13011ce3f83aa8a /ld/ldlang.h
parentb9ae04920ab4f0d0c10fad9dff55c4ca3e2d2251 (diff)
downloadgdb-1579bae1cd094ed9b986d2128997953600ca910d.zip
gdb-1579bae1cd094ed9b986d2128997953600ca910d.tar.gz
gdb-1579bae1cd094ed9b986d2128997953600ca910d.tar.bz2
Convert to C90
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r--ld/ldlang.h156
1 files changed, 75 insertions, 81 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h
index 3c4936b..9fc930b 100644
--- a/ld/ldlang.h
+++ b/ld/ldlang.h
@@ -376,70 +376,68 @@ extern bfd_boolean entry_from_cmdline;
extern lang_statement_list_type file_chain;
extern void lang_init
- PARAMS ((void));
+ (void);
extern struct memory_region_struct *lang_memory_region_lookup
- PARAMS ((const char *const));
+ (const char *const);
extern struct memory_region_struct *lang_memory_region_default
- PARAMS ((asection *));
+ (asection *);
extern void lang_map
- PARAMS ((void));
+ (void);
extern void lang_set_flags
- PARAMS ((lang_memory_region_type *, const char *, int));
+ (lang_memory_region_type *, const char *, int);
extern void lang_add_output
- PARAMS ((const char *, int from_script));
+ (const char *, int from_script);
extern lang_output_section_statement_type *lang_enter_output_section_statement
- PARAMS ((const char *output_section_statement_name,
- etree_type *address_exp,
- enum section_type sectype,
- bfd_vma block_value,
- etree_type *align,
- etree_type *subalign,
- etree_type *));
+ (const char *output_section_statement_name,
+ etree_type *address_exp,
+ enum section_type sectype,
+ bfd_vma block_value,
+ etree_type *align,
+ etree_type *subalign,
+ etree_type *);
extern void lang_final
- PARAMS ((void));
+ (void);
extern void lang_process
- PARAMS ((void));
+ (void);
extern void lang_section_start
- PARAMS ((const char *, union etree_union *));
+ (const char *, union etree_union *);
extern void lang_add_entry
- PARAMS ((const char *, bfd_boolean));
+ (const char *, bfd_boolean);
extern void lang_add_target
- PARAMS ((const char *));
+ (const char *);
extern void lang_add_wild
- PARAMS ((struct wildcard_spec *, struct wildcard_list *, bfd_boolean));
+ (struct wildcard_spec *, struct wildcard_list *, bfd_boolean);
extern void lang_add_map
- PARAMS ((const char *));
+ (const char *);
extern void lang_add_fill
- PARAMS ((fill_type *));
-extern lang_assignment_statement_type * lang_add_assignment
- PARAMS ((union etree_union *));
+ (fill_type *);
+extern lang_assignment_statement_type *lang_add_assignment
+ (union etree_union *);
extern void lang_add_attribute
- PARAMS ((enum statement_enum));
+ (enum statement_enum);
extern void lang_startup
- PARAMS ((const char *));
+ (const char *);
extern void lang_float
- PARAMS ((bfd_boolean));
+ (bfd_boolean);
extern void lang_leave_output_section_statement
- PARAMS ((fill_type *, const char *, struct lang_output_section_phdr_list *,
- const char *));
+ (fill_type *, const char *, struct lang_output_section_phdr_list *,
+ const char *);
extern void lang_abs_symbol_at_end_of
- PARAMS ((const char *, const char *));
+ (const char *, const char *);
extern void lang_abs_symbol_at_beginning_of
- PARAMS ((const char *, const char *));
+ (const char *, const char *);
extern void lang_statement_append
- PARAMS ((struct statement_list *, union lang_statement_union *,
- union lang_statement_union **));
+ (struct statement_list *, union lang_statement_union *,
+ union lang_statement_union **);
extern void lang_for_each_input_file
- PARAMS ((void (*dothis) (lang_input_statement_type *)));
+ (void (*dothis) (lang_input_statement_type *));
extern void lang_for_each_file
- PARAMS ((void (*dothis) (lang_input_statement_type *)));
+ (void (*dothis) (lang_input_statement_type *));
extern void lang_reset_memory_regions
- PARAMS ((void));
+ (void);
extern bfd_vma lang_do_assignments
- PARAMS ((lang_statement_union_type * s,
- lang_output_section_statement_type *output_section_statement,
- fill_type *fill,
- bfd_vma dot));
+ (lang_statement_union_type *, lang_output_section_statement_type *,
+ fill_type *, bfd_vma);
#define LANG_FOR_EACH_INPUT_STATEMENT(statement) \
lang_input_statement_type *statement; \
@@ -448,80 +446,76 @@ extern bfd_vma lang_do_assignments
statement = (lang_input_statement_type *) statement->next) \
extern void lang_process
- PARAMS ((void));
+ (void);
extern void ldlang_add_file
- PARAMS ((lang_input_statement_type *));
+ (lang_input_statement_type *);
extern lang_output_section_statement_type *lang_output_section_find
- PARAMS ((const char * const));
+ (const char * const);
extern lang_input_statement_type *lang_add_input_file
- PARAMS ((const char *name, lang_input_file_enum_type file_type,
- const char *target));
+ (const char *, lang_input_file_enum_type, const char *);
extern void lang_add_keepsyms_file
- PARAMS ((const char *filename));
+ (const char *);
extern lang_output_section_statement_type *
lang_output_section_statement_lookup
- PARAMS ((const char * const name));
+ (const char *const);
extern void ldlang_add_undef
- PARAMS ((const char *const name));
+ (const char *const);
extern void lang_add_output_format
- PARAMS ((const char *, const char *, const char *, int from_script));
+ (const char *, const char *, const char *, int);
extern void lang_list_init
- PARAMS ((lang_statement_list_type*));
+ (lang_statement_list_type *);
extern void lang_add_data
- PARAMS ((int type, union etree_union *));
+ (int type, union etree_union *);
extern void lang_add_reloc
- PARAMS ((bfd_reloc_code_real_type reloc, reloc_howto_type *howto,
- asection *section, const char *name, union etree_union *addend));
+ (bfd_reloc_code_real_type, reloc_howto_type *, asection *, const char *,
+ union etree_union *);
extern void lang_for_each_statement
- PARAMS ((void (*func) (lang_statement_union_type *)));
-extern PTR stat_alloc
- PARAMS ((size_t size));
+ (void (*) (lang_statement_union_type *));
+extern void *stat_alloc
+ (size_t);
extern void dprint_statement
- PARAMS ((lang_statement_union_type *, int));
+ (lang_statement_union_type *, int);
extern bfd_vma lang_size_sections
- PARAMS ((lang_statement_union_type *s,
- lang_output_section_statement_type *output_section_statement,
- lang_statement_union_type **prev, fill_type *fill,
- bfd_vma dot, bfd_boolean *relax, bfd_boolean check_regions));
+ (lang_statement_union_type *, lang_output_section_statement_type *,
+ lang_statement_union_type **, fill_type *, bfd_vma, bfd_boolean *,
+ bfd_boolean);
extern void lang_enter_group
- PARAMS ((void));
+ (void);
extern void lang_leave_group
- PARAMS ((void));
+ (void);
extern void lang_add_section
- PARAMS ((lang_statement_list_type *ptr, asection *section,
- lang_output_section_statement_type *output,
- lang_input_statement_type *file));
+ (lang_statement_list_type *, asection *,
+ lang_output_section_statement_type *, lang_input_statement_type *);
extern void lang_new_phdr
- PARAMS ((const char *, etree_type *, bfd_boolean, bfd_boolean, etree_type *,
- etree_type *));
+ (const char *, etree_type *, bfd_boolean, bfd_boolean, etree_type *,
+ etree_type *);
extern void lang_add_nocrossref
- PARAMS ((struct lang_nocrossref *));
+ (struct lang_nocrossref *);
extern void lang_enter_overlay
- PARAMS ((etree_type *));
+ (etree_type *);
extern void lang_enter_overlay_section
- PARAMS ((const char *));
+ (const char *);
extern void lang_leave_overlay_section
- PARAMS ((fill_type *, struct lang_output_section_phdr_list *));
+ (fill_type *, struct lang_output_section_phdr_list *);
extern void lang_leave_overlay
- PARAMS ((etree_type *, int, fill_type *, const char *,
- struct lang_output_section_phdr_list *, const char *));
+ (etree_type *, int, fill_type *, const char *,
+ struct lang_output_section_phdr_list *, const char *);
extern struct bfd_elf_version_tree *lang_elf_version_info;
extern struct bfd_elf_version_expr *lang_new_vers_pattern
- PARAMS ((struct bfd_elf_version_expr *, const char *, const char *));
+ (struct bfd_elf_version_expr *, const char *, const char *);
extern struct bfd_elf_version_tree *lang_new_vers_node
- PARAMS ((struct bfd_elf_version_expr *, struct bfd_elf_version_expr *));
+ (struct bfd_elf_version_expr *, struct bfd_elf_version_expr *);
extern struct bfd_elf_version_deps *lang_add_vers_depend
- PARAMS ((struct bfd_elf_version_deps *, const char *));
+ (struct bfd_elf_version_deps *, const char *);
extern void lang_register_vers_node
- PARAMS ((const char *, struct bfd_elf_version_tree *,
- struct bfd_elf_version_deps *));
+ (const char *, struct bfd_elf_version_tree *, struct bfd_elf_version_deps *);
bfd_boolean unique_section_p
- PARAMS ((const char *));
+ (const char *);
extern void lang_add_unique
- PARAMS ((const char *));
+ (const char *);
extern const char *lang_get_output_target
- PARAMS ((void));
+ (void);
#endif