1
0
mirror of https://github.com/cahirwpz/amigaos-cross-toolchain synced 2025-11-22 03:27:45 +00:00
Files
amigaos-cross-toolchain/patches/binutils-2.9.1/bfd/aoutx.h.diff
Krystian Bacławski a6972d1f47 Remove unused code.
2015-04-21 08:39:08 +02:00

22 lines
878 B
Diff

--- binutils-2.9.1/bfd/aoutx.h 1998-05-01 17:48:01.000000000 +0200
+++ binutils-2.9.1/bfd/aoutx.h 2012-08-04 12:43:35.000000000 +0200
@@ -135,7 +135,8 @@
static boolean aout_get_external_symbols PARAMS ((bfd *));
static boolean translate_from_native_sym_flags
PARAMS ((bfd *, aout_symbol_type *));
-static boolean translate_to_native_sym_flags
+/*Amiga hack - used in amigaos.c, must be global */
+/*static*/ boolean translate_to_native_sym_flags
PARAMS ((bfd *, asymbol *, struct external_nlist *));
static void adjust_o_magic PARAMS ((bfd *, struct internal_exec *));
static void adjust_z_magic PARAMS ((bfd *, struct internal_exec *));
@@ -1576,7 +1577,7 @@
/* Set the fields of SYM_POINTER according to CACHE_PTR. */
-static boolean
+/*static*/ boolean
translate_to_native_sym_flags (abfd, cache_ptr, sym_pointer)
bfd *abfd;
asymbol *cache_ptr;