X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=ld%2Fldemul.h;h=cc81728609423f8e8958789177e1b8b757fbbdf1;hb=683f2885af8be6282b3a89b77b0bf06a616c0040;hp=c3ba033ecb241afc6114bdf5eab34bf86fd56acd;hpb=1e035701d67ed8a8bc72ec9e393f2d984090a60c;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ldemul.h b/ld/ldemul.h index c3ba033ecb..cc81728609 100644 --- a/ld/ldemul.h +++ b/ld/ldemul.h @@ -1,19 +1,24 @@ /* ld-emul.h - Linker emulation header file Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001, - 2002, 2003, 2004, 2005 + 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc. - This file is part of GLD, the Gnu Linker. + This file is part of the GNU Binutils. - GLD is free software; you can redistribute it and/or modify + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 1, or (at your option) - any later version. + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. - GLD is distributed in the hope that it will be useful, + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. */ + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ #ifndef LDEMUL_H #define LDEMUL_H @@ -35,8 +40,6 @@ extern void ldemul_after_allocation (void); extern void ldemul_before_allocation (void); -extern void ldemul_do_assignments - (void); extern void ldemul_set_output_arch (void); extern char *ldemul_choose_target @@ -56,7 +59,7 @@ extern void ldemul_set_symbols extern void ldemul_create_output_section_statements (void); extern bfd_boolean ldemul_place_orphan - (struct lang_input_statement_struct *, asection *); + (asection *); extern bfd_boolean ldemul_parse_args (int, char **); extern void ldemul_add_options @@ -79,7 +82,7 @@ extern void after_allocation_default (void); extern void before_allocation_default (void); -extern void do_assignments_default +extern void finish_default (void); extern void finish_default (void); @@ -123,9 +126,6 @@ typedef struct ld_emulation_xfer_struct { /* Run before allocating output sections. */ void (*before_allocation) (void); - /* Run to set special symbols at the same time as link script syms. */ - void (*do_assignments) (void); - /* Return the appropriate linker script. */ char * (*get_script) (int *isfile); @@ -152,7 +152,7 @@ typedef struct ld_emulation_xfer_struct { the default action should be taken. This field may be NULL, in which case the default action will always be taken. */ bfd_boolean (*place_orphan) - (struct lang_input_statement_struct *, asection *); + (asection *); /* Run after assigning parsing with the args, but before reading the script. Used to initialize symbols used in the script. */