(elf_link_add_object_symbols): Set the error code to bfd_error_wrong_format when
[binutils.git] / ld / mri.h
blobb430d20a056df3e9c7d63399e1eeabd89b8116af
1 /* mri.h -- header file for MRI scripting functions
2 Copyright 1993, 1995, 1996, 2003 Free Software Foundation, Inc.
4 This file is part of GLD, the Gnu Linker.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
20 #ifndef MRI_H
21 #define MRI_H
23 extern unsigned int symbol_truncate;
25 extern void mri_output_section (const char *, etree_type *);
26 extern void mri_only_load (const char *);
27 extern void mri_base (etree_type *);
28 extern void mri_load (const char *);
29 extern void mri_order (const char *);
30 extern void mri_alias (const char *, const char *, int);
31 extern void mri_name (const char *);
32 extern void mri_format (const char *);
33 extern void mri_public (const char *, etree_type *);
34 extern void mri_align (const char *, etree_type *);
35 extern void mri_alignmod (const char *, etree_type *);
36 extern void mri_truncate (unsigned int);
37 extern void mri_draw_tree (void);
39 #endif