extern search_dirs_type *search_head;
-extern void ldfile_add_arch PARAMS ((CONST char *));
+extern void ldfile_add_arch PARAMS ((const char *));
extern void ldfile_add_library_path PARAMS ((const char *, boolean cmdline));
extern void ldfile_open_command_file PARAMS ((const char *name));
extern void ldfile_open_file PARAMS ((struct lang_input_statement_struct *));
PARAMS ((const char *, struct lang_input_statement_struct *));
extern FILE *ldfile_find_command_file
PARAMS ((const char *name, const char *extend));
-extern void ldfile_set_output_arch PARAMS ((CONST char *));
+extern void ldfile_set_output_arch PARAMS ((const char *));
extern boolean ldfile_open_file_search
PARAMS ((const char *arch, struct lang_input_statement_struct *,
const char *lib, const char *suffix));
/* mri.c -- handle MRI style linker scripts
- Copyright 1991, 1992, 1993, 1994, 1996, 1997, 1998, 1999, 2000
+ Copyright 1991, 1992, 1993, 1994, 1996, 1997, 1998, 1999, 2000, 2002
Free Software Foundation, Inc.
This file is part of GLD, the Gnu Linker.
struct section_name_struct {
struct section_name_struct *next;
- CONST char *name;
- CONST char *alias;
+ const char *name;
+ const char *alias;
etree_type *vma;
etree_type *align;
etree_type *subalign;
static struct section_name_struct **
lookup (name, list)
- CONST char *name;
+ const char *name;
struct section_name_struct **list;
{
struct section_name_struct **ptr = list;
static void
mri_add_to_list (list, name, vma, zalias, align, subalign)
struct section_name_struct **list;
- CONST char *name;
+ const char *name;
etree_type *vma;
- CONST char *zalias;
+ const char *zalias;
etree_type *align;
etree_type *subalign;
{
void
mri_output_section (name, vma)
- CONST char *name;
+ const char *name;
etree_type *vma;
{
mri_add_to_list (&address, name, vma, 0, 0, 0);
void
mri_only_load (name)
- CONST char *name;
+ const char *name;
{
mri_add_to_list (&only_load, name, 0, 0, 0, 0);
}
void
mri_load (name)
- CONST char *name;
+ const char *name;
{
base = 0;
lang_add_input_file (name,
void
mri_order (name)
- CONST char *name;
+ const char *name;
{
mri_add_to_list (&order, name, 0, 0, 0, 0);
}
void
mri_alias (want, is, isn)
- CONST char *want;
- CONST char *is;
+ const char *want;
+ const char *is;
int isn;
{
if (!is)
void
mri_name (name)
- CONST char *name;
+ const char *name;
{
lang_add_output (name, 1);
}
void
mri_format (name)
- CONST char *name;
+ const char *name;
{
if (strcmp (name, "S") == 0)
lang_add_output_format ("srec", (char *) NULL, (char *) NULL, 1);
void
mri_public (name, exp)
- CONST char *name;
+ const char *name;
etree_type *exp;
{
lang_add_assignment (exp_assop ('=', name, exp));
void
mri_align (name, exp)
- CONST char *name;
+ const char *name;
etree_type *exp;
{
mri_add_to_list (&alignment, name, 0, 0, exp, 0);
void
mri_alignmod (name, exp)
- CONST char *name;
+ const char *name;
etree_type *exp;
{
mri_add_to_list (&subalignment, name, 0, 0, 0, exp);
/* pe-dll.h: Header file for routines used to build Windows DLLs.
- Copyright 1999, 2000 Free Software Foundation, Inc.
+ Copyright 1999, 2000, 2002 Free Software Foundation, Inc.
This file is part of GLD, the Gnu Linker.
extern void pe_exe_fill_sections PARAMS ((bfd *, struct bfd_link_info *));
extern void pe_walk_relocs_of_symbol PARAMS ((struct bfd_link_info * info,
- CONST char *name,
+ const char *name,
int (*cb) (arelent *, asection *)));
extern void pe_create_import_fixup PARAMS ((arelent * rel));