Don't abort for invalid input, print an error message instead.
[deliverable/binutils-gdb.git] / bfd / xcoff-target.h
index a103ac9c8a697abaea2d6e14e6001562dd90bbd5..22bd80807892aa2e6c0dff37afbf04e867ae0338 100644 (file)
@@ -57,7 +57,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #undef CORE_FILE_P
 #define CORE_FILE_P rs6000coff_core_p
 extern const bfd_target * rs6000coff_core_p ();
-extern boolean rs6000coff_get_section_contents ();
 extern boolean rs6000coff_core_file_matches_executable_p ();
 
 #undef coff_core_file_matches_executable_p
@@ -71,9 +70,6 @@ extern char *rs6000coff_core_file_failing_command PARAMS ((bfd *abfd));
 extern int rs6000coff_core_file_failing_signal PARAMS ((bfd *abfd));
 #undef coff_core_file_failing_signal
 #define coff_core_file_failing_signal rs6000coff_core_file_failing_signal
-
-#undef coff_get_section_contents
-#define        coff_get_section_contents       rs6000coff_get_section_contents
 #endif /* AIX_CORE */
 
 #ifdef LYNX_CORE
@@ -150,12 +146,12 @@ extern unsigned int _bfd_xcoff_swap_aux_out PARAMS ((bfd *, PTR, int, int, int,
 
 #include "coffcode.h"
 
-/* The transfer vector that leads the outside world to all of the above. */
+/* The transfer vector that leads the outside world to all of the above.  */
 
 const bfd_target TARGET_SYM =
 {
   TARGET_NAME,
-  bfd_target_coff_flavour,
+  bfd_target_xcoff_flavour,
   BFD_ENDIAN_BIG,              /* data byte order is big */
   BFD_ENDIAN_BIG,              /* header byte order is big */
 
@@ -193,6 +189,6 @@ const bfd_target TARGET_SYM =
      BFD_JUMP_TABLE_DYNAMIC (_bfd_xcoff),
 
   NULL,
-  
+
   COFF_SWAP_TABLE
 };
This page took 0.023648 seconds and 4 git commands to generate.