diff options
author | Alan Modra <amodra@gmail.com> | 2000-07-11 03:42:41 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-07-11 03:42:41 +0000 |
commit | b71e277823b0b8e12b2f53f6fe77a9b401357407 (patch) | |
tree | 0cefb993b034dc906661c851e3f18ebbefb83164 /ld/mpw-elfmips.c | |
parent | 1aea3bb85170ddc918bbaa9b394be92242576391 (diff) | |
download | gdb-b71e277823b0b8e12b2f53f6fe77a9b401357407.zip gdb-b71e277823b0b8e12b2f53f6fe77a9b401357407.tar.gz gdb-b71e277823b0b8e12b2f53f6fe77a9b401357407.tar.bz2 |
Remove some forward declarations in ldemul.h and ldfile.h, and
re-arrange header include order.
Fix shadowing warnings in ldlang.h
Fix compile errors in mpw-elfmips.c
Diffstat (limited to 'ld/mpw-elfmips.c')
-rw-r--r-- | ld/mpw-elfmips.c | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/ld/mpw-elfmips.c b/ld/mpw-elfmips.c index e8ab056..3143b2e 100644 --- a/ld/mpw-elfmips.c +++ b/ld/mpw-elfmips.c @@ -1,7 +1,8 @@ /* This file is is generated by a shell script. DO NOT EDIT! */ /* 32 bit ELF emulation code for elf32ebmip - Copyright (C) 1991, 93, 94, 95, 1996, 1998 Free Software Foundation, Inc. + Copyright (C) 1991, 93, 94, 95, 96, 98, 2000 + Free Software Foundation, Inc. Written by Steve Chamberlain <sac@cygnus.com> ELF support by Ian Lance Taylor <ian@cygnus.com> @@ -32,12 +33,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "ld.h" #include "ldmain.h" -#include "ldemul.h" -#include "ldfile.h" #include "ldmisc.h" #include "ldexp.h" #include "ldlang.h" #include "ldgram.h" +#include "ldfile.h" +#include "ldemul.h" static void gldelf32ebmip_before_parse PARAMS ((void)); static boolean gldelf32ebmip_open_dynamic_archive @@ -442,12 +443,11 @@ gldelf32ebmip_before_allocation () rpath = command_line.rpath; if (rpath == NULL) rpath = (const char *) getenv ("LD_RUN_PATH"); - if (! bfd_elf32_size_dynamic_sections (output_bfd, - command_line.soname, - rpath, - command_line.export_dynamic, - &link_info, - &sinterp)) + if (! (bfd_elf32_size_dynamic_sections + (output_bfd, command_line.soname, rpath, + command_line.export_dynamic, command_line.filter_shlib, + (const char * const *) command_line.auxiliary_filters, + &link_info, &sinterp, lang_elf_version_info))) einfo (_("%P%F: failed to set dynamic section sizes: %E\n")); /* Let the user override the dynamic linker we are using. */ @@ -694,7 +694,9 @@ gldelf32ebmip_place_orphan (file, s) os = lang_output_section_statement_lookup (secname); wild_doit (&os->children, s, os, file); - lang_leave_output_section_statement ((bfd_vma) 0, "*default*"); + lang_leave_output_section_statement + ((bfd_vma) 0, "*default*", + (struct lang_output_section_phdr_list *) NULL, "*default*"); stat_ptr = &add; if (*ps == '\0' && config.build_constructors) |