mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 00:59:15 +08:00
2000-11-06 Kazu Hirata <kazu@hxi.com>
* aout-adobe.c: Fix formatting. * aout-arm.c: Likewise. * aout-cris.c: Likewise. * aout-encap.c: Likewise. * aout-ns32k.c: Likewise. * aout-target.h: Likewise. * aout-tic30.c: Likewise.
This commit is contained in:
@ -1,3 +1,13 @@
|
|||||||
|
2000-11-06 Kazu Hirata <kazu@hxi.com>
|
||||||
|
|
||||||
|
* aout-adobe.c: Fix formatting.
|
||||||
|
* aout-arm.c: Likewise.
|
||||||
|
* aout-cris.c: Likewise.
|
||||||
|
* aout-encap.c: Likewise.
|
||||||
|
* aout-ns32k.c: Likewise.
|
||||||
|
* aout-target.h: Likewise.
|
||||||
|
* aout-tic30.c: Likewise.
|
||||||
|
|
||||||
2000-11-05 Philip Blundell <philb@gnu.org>
|
2000-11-05 Philip Blundell <philb@gnu.org>
|
||||||
|
|
||||||
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
|
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
|
||||||
|
@ -88,7 +88,6 @@ aout_adobe_swap_exec_header_out (abfd, execp, raw_bytes)
|
|||||||
PUT_WORD (abfd, execp->a_drsize, bytes->e_drsize);
|
PUT_WORD (abfd, execp->a_drsize, bytes->e_drsize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static const bfd_target *
|
static const bfd_target *
|
||||||
aout_adobe_object_p (abfd)
|
aout_adobe_object_p (abfd)
|
||||||
bfd *abfd;
|
bfd *abfd;
|
||||||
@ -127,7 +126,6 @@ aout_adobe_object_p (abfd)
|
|||||||
return aout_32_some_aout_object_p (abfd, &anexec, aout_adobe_callback);
|
return aout_32_some_aout_object_p (abfd, &anexec, aout_adobe_callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Finish up the opening of a b.out file for reading. Fill in all the
|
/* Finish up the opening of a b.out file for reading. Fill in all the
|
||||||
fields that are not handled by common code. */
|
fields that are not handled by common code. */
|
||||||
|
|
||||||
@ -268,7 +266,6 @@ aout_adobe_mkobject (abfd)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static boolean
|
static boolean
|
||||||
aout_adobe_write_object_contents (abfd)
|
aout_adobe_write_object_contents (abfd)
|
||||||
bfd *abfd;
|
bfd *abfd;
|
||||||
@ -457,9 +454,6 @@ aout_adobe_sizeof_headers (ignore_abfd, ignore)
|
|||||||
return sizeof(struct internal_exec);
|
return sizeof(struct internal_exec);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Build the transfer vector for Adobe A.Out files. */
|
/* Build the transfer vector for Adobe A.Out files. */
|
||||||
|
|
||||||
#define aout_32_close_and_cleanup aout_32_bfd_free_cached_info
|
#define aout_32_close_and_cleanup aout_32_bfd_free_cached_info
|
||||||
|
@ -18,7 +18,6 @@ You should have received a copy of the GNU General Public License
|
|||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
|
|
||||||
#define N_TXTADDR(x) \
|
#define N_TXTADDR(x) \
|
||||||
((N_MAGIC(x) == NMAGIC) ? 0x8000 : \
|
((N_MAGIC(x) == NMAGIC) ? 0x8000 : \
|
||||||
(N_MAGIC(x) != ZMAGIC) ? 0 : \
|
(N_MAGIC(x) != ZMAGIC) ? 0 : \
|
||||||
@ -397,7 +396,6 @@ MY_swap_std_reloc_out (abfd, g, natptr)
|
|||||||
r_pcrel = 1;
|
r_pcrel = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/* For a standard reloc, the addend is in the object file. */
|
/* For a standard reloc, the addend is in the object file. */
|
||||||
r_addend = g->addend + (*(g->sym_ptr_ptr))->section->output_section->vma;
|
r_addend = g->addend + (*(g->sym_ptr_ptr))->section->output_section->vma;
|
||||||
|
@ -116,7 +116,6 @@ static boolean MY(set_sizes) PARAMS ((bfd *));
|
|||||||
#include "aout32.c"
|
#include "aout32.c"
|
||||||
#include "aout-target.h"
|
#include "aout-target.h"
|
||||||
|
|
||||||
|
|
||||||
/* We need our own version to set header flags. */
|
/* We need our own version to set header flags. */
|
||||||
|
|
||||||
static boolean
|
static boolean
|
||||||
@ -144,7 +143,6 @@ MY(write_object_contents) (abfd)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* We need our own for these reasons:
|
/* We need our own for these reasons:
|
||||||
- Assert that a normal 8, 16 or 32 reloc is output.
|
- Assert that a normal 8, 16 or 32 reloc is output.
|
||||||
- Fix what seems to be a weak-bug (perhaps there for valid reasons). */
|
- Fix what seems to be a weak-bug (perhaps there for valid reasons). */
|
||||||
@ -221,7 +219,6 @@ MY(swap_ext_reloc_out) (abfd, g, natptr)
|
|||||||
PUT_WORD (abfd, r_addend, natptr->r_addend);
|
PUT_WORD (abfd, r_addend, natptr->r_addend);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* We need our own to assert that a normal 8, 16 or 32 reloc is input. */
|
/* We need our own to assert that a normal 8, 16 or 32 reloc is input. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -275,7 +272,6 @@ MY(swap_ext_reloc_in) (abfd, bytes, cache_ptr, symbols, symcount)
|
|||||||
MOVE_ADDRESS (GET_SWORD (abfd, bytes->r_addend));
|
MOVE_ADDRESS (GET_SWORD (abfd, bytes->r_addend));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* We use the same as the default, except that we also set
|
/* We use the same as the default, except that we also set
|
||||||
"obj_reloc_entry_size (abfd) = RELOC_EXT_SIZE;", to avoid changing
|
"obj_reloc_entry_size (abfd) = RELOC_EXT_SIZE;", to avoid changing
|
||||||
NAME (aout, set_arch_mach) in aoutx. */
|
NAME (aout, set_arch_mach) in aoutx. */
|
||||||
|
@ -146,7 +146,6 @@ reloc_howto_type MY(howto_table)[] =
|
|||||||
"PCREL_32", true, 0xffffffff,0xffffffff, false),
|
"PCREL_32", true, 0xffffffff,0xffffffff, false),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#define CTOR_TABLE_RELOC_HOWTO(BFD) (MY(howto_table) + 14)
|
#define CTOR_TABLE_RELOC_HOWTO(BFD) (MY(howto_table) + 14)
|
||||||
|
|
||||||
#define RELOC_STD_BITS_NS32K_TYPE_BIG 0x06
|
#define RELOC_STD_BITS_NS32K_TYPE_BIG 0x06
|
||||||
@ -259,7 +258,6 @@ MY(bfd_reloc_type_lookup)(abfd,code)
|
|||||||
#undef ENTRY
|
#undef ENTRY
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
MY_swap_std_reloc_in (abfd, bytes, cache_ptr, symbols, symcount)
|
MY_swap_std_reloc_in (abfd, bytes, cache_ptr, symbols, symcount)
|
||||||
bfd *abfd;
|
bfd *abfd;
|
||||||
|
@ -197,7 +197,6 @@ MY(object_p) (abfd)
|
|||||||
#define MY_object_p MY(object_p)
|
#define MY_object_p MY(object_p)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifndef MY_mkobject
|
#ifndef MY_mkobject
|
||||||
|
|
||||||
static boolean MY(mkobject) PARAMS ((bfd *));
|
static boolean MY(mkobject) PARAMS ((bfd *));
|
||||||
@ -230,7 +229,6 @@ MY(mkobject) (abfd)
|
|||||||
static boolean MY_bfd_copy_private_section_data
|
static boolean MY_bfd_copy_private_section_data
|
||||||
PARAMS ((bfd *, asection *, bfd *, asection *));
|
PARAMS ((bfd *, asection *, bfd *, asection *));
|
||||||
|
|
||||||
/*ARGSUSED*/
|
|
||||||
static boolean
|
static boolean
|
||||||
MY_bfd_copy_private_section_data (ibfd, isec, obfd, osec)
|
MY_bfd_copy_private_section_data (ibfd, isec, obfd, osec)
|
||||||
bfd *ibfd;
|
bfd *ibfd;
|
||||||
@ -530,7 +528,6 @@ MY_bfd_final_link (abfd, info)
|
|||||||
#define MY_bfd_link_split_section _bfd_generic_link_split_section
|
#define MY_bfd_link_split_section _bfd_generic_link_split_section
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifndef MY_bfd_copy_private_bfd_data
|
#ifndef MY_bfd_copy_private_bfd_data
|
||||||
#define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data
|
#define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data
|
||||||
#endif
|
#endif
|
||||||
|
@ -586,7 +586,6 @@ tic30_aout_object_p (abfd)
|
|||||||
section contents, and copy_private_bfd_data is not called until
|
section contents, and copy_private_bfd_data is not called until
|
||||||
after the section contents have been set. */
|
after the section contents have been set. */
|
||||||
|
|
||||||
/*ARGSUSED */
|
|
||||||
static boolean
|
static boolean
|
||||||
MY_bfd_copy_private_section_data (ibfd, isec, obfd, osec)
|
MY_bfd_copy_private_section_data (ibfd, isec, obfd, osec)
|
||||||
bfd *ibfd;
|
bfd *ibfd;
|
||||||
@ -961,7 +960,6 @@ tic30_aout_set_arch_mach (abfd, arch, machine)
|
|||||||
#define MY_bfd_link_split_section _bfd_generic_link_split_section
|
#define MY_bfd_link_split_section _bfd_generic_link_split_section
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifndef MY_bfd_copy_private_bfd_data
|
#ifndef MY_bfd_copy_private_bfd_data
|
||||||
#define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data
|
#define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user