1 /* Copyright (C) 1991 Free Software Foundation, Inc.
3 This file is part of GLD, the Gnu Linker.
5 GLD is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 1, or (at your option)
10 GLD is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with GLD; see the file COPYING. If not, write to
17 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
20 /* This bit does the tree decoration when MRI style link scripts are parsed */
23 contributed by Steve Chamberlain
35 DEFUN(mri_output_section, (name, vma),
40 lang_output_section_statement_type *os;
42 os = lang_output_section_statement_lookup(name);
44 if (os->addr_tree == (etree_type *)NULL) {
52 /* if any ABSOLUTE <name> are in the script, only load those files
55 void DEFUN(mri_only_load,(name), CONST char *name)
64 DEFUN(mri_load,(name),
68 lang_add_input_file(name, lang_input_file_is_file_enum, (char *)NULL);