X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Femultempl%2Fvxworks.em;fp=ld%2Femultempl%2Fvxworks.em;h=3748ddb37c2bc4016abf6489834c3cdecc92757e;hp=f6ad0b657d5272e42e1bbeb45dc109534165a34b;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/ld/emultempl/vxworks.em b/ld/emultempl/vxworks.em index f6ad0b6..3748ddb 100644 --- a/ld/emultempl/vxworks.em +++ b/ld/emultempl/vxworks.em @@ -1,5 +1,5 @@ # This shell script emits a C file. -*- C -*- -# Copyright 2007 Free Software Foundation, Inc. +# Copyright 2006, 2007, 2008 Free Software Foundation, Inc. # # This file is part of the GNU Binutils. # @@ -41,14 +41,14 @@ vxworks_after_open (void) if (force_dynamic && link_info.input_bfds - && output_bfd->xvec->flavour == bfd_target_elf_flavour + && bfd_get_flavour (link_info.output_bfd) == bfd_target_elf_flavour && !_bfd_elf_link_create_dynamic_sections (link_info.input_bfds, &link_info)) einfo ("%X%P: Cannot create dynamic sections %E\n"); if (!force_dynamic && !link_info.shared - && output_bfd->xvec->flavour == bfd_target_elf_flavour + && bfd_get_flavour (link_info.output_bfd) == bfd_target_elf_flavour && elf_hash_table (&link_info)->dynamic_sections_created) einfo ("%X%P: Dynamic sections created in non-dynamic link\n"); } @@ -67,7 +67,7 @@ PARSE_AND_LIST_LONGOPTS=$PARSE_AND_LIST_LONGOPTS' PARSE_AND_LIST_OPTIONS=$PARSE_AND_LIST_OPTIONS' fprintf (file, _("\ - --force-dynamic Always create dynamic sections\n")); + --force-dynamic Always create dynamic sections\n")); ' PARSE_AND_LIST_ARGS_CASES=$PARSE_AND_LIST_ARGS_CASES'