mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-17 16:09:47 +00:00
2011-05-25 Tristan Gingold <gingold@adacore.com>
* configure.in (bfd_elf32_ia64_big_vec, bfd_elf32_ia64_hpux_big_vec) (bfd_elf64_ia64_big_vec, bfd_elf64_ia64_hpux_big_vec) (bfd_elf64_ia64_little_vec, bfd_elf64_ia64_vms_vec): Add elfxx-ia64.lo * Makefile.am (BFD64_BACKENDS): Add elfxx-ia64.lo (BFD64_BACKENDS_CFILES): Add elfxx-ia64.c (elf32-ia64.c): Created from elfnn-ia64.c (elf64-ia64.c): Likewise. * elfxx-ia64.h: New file. * elfxx-ia64.c: Split with elfnn-ia64.c. Keep only the following functions.Includes elfxx-ia64.h. (elfNN_ia64_reloc): Renames to ia64_elf_reloc. Adjust error message. (IA64_HOWTO): Adjust. (lookup_howto): Renames to ia64_elf_lookup_howto. Make it public. (elfNN_ia64_reloc_type_lookup): Renames to ia64_elf_reloc_type_lookup. Make it public. Adjust calls. (elfNN_ia64_reloc_name_lookup): Renames to ia64_elf_reloc_name_lookup. Make it public. (elfNN_ia64_relax_br): Renames to ia64_elf_relax_br. Make it public. (elfNN_ia64_relax_brl): Renames to ia64_elf_relax_brl. Make it public. (elfNN_ia64_relax_ldxmov): Renames to ia64_elf_relax_ldxmov. Move it and make it public. Move prototype to elfxx-ia64.h (elfNN_ia64_install_value): Renames to ia64_elf_install_value. Move prototype to elfxx-ia64.h * elfnn-ia64.c: New file, split from elfxx-ia64.c. (elfNN_ia64_info_to_howto): Adjust calls. (elfNN_ia64_relax_section): Adjust calls. (count_dyn_reloc): Fix typo. (elfNN_ia64_relocate_section): Adjust calls. (elfNN_ia64_finish_dynamic_symbol): Likewise. (bfd_elfNN_bfd_reloc_type_lookup) (bfd_elfNN_bfd_reloc_name_lookup): Adjust macros.
This commit is contained in:
parent
652c71b432
commit
cbe79dfe9a
@ -1,3 +1,40 @@
|
||||
2011-05-25 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* configure.in (bfd_elf32_ia64_big_vec, bfd_elf32_ia64_hpux_big_vec)
|
||||
(bfd_elf64_ia64_big_vec, bfd_elf64_ia64_hpux_big_vec)
|
||||
(bfd_elf64_ia64_little_vec, bfd_elf64_ia64_vms_vec): Add elfxx-ia64.lo
|
||||
* Makefile.am (BFD64_BACKENDS): Add elfxx-ia64.lo
|
||||
(BFD64_BACKENDS_CFILES): Add elfxx-ia64.c
|
||||
(elf32-ia64.c): Created from elfnn-ia64.c
|
||||
(elf64-ia64.c): Likewise.
|
||||
* elfxx-ia64.h: New file.
|
||||
* elfxx-ia64.c: Split with elfnn-ia64.c. Keep only the following
|
||||
functions.Includes elfxx-ia64.h.
|
||||
(elfNN_ia64_reloc): Renames to ia64_elf_reloc. Adjust error message.
|
||||
(IA64_HOWTO): Adjust.
|
||||
(lookup_howto): Renames to ia64_elf_lookup_howto. Make it public.
|
||||
(elfNN_ia64_reloc_type_lookup): Renames to
|
||||
ia64_elf_reloc_type_lookup. Make it public. Adjust calls.
|
||||
(elfNN_ia64_reloc_name_lookup): Renames to
|
||||
ia64_elf_reloc_name_lookup. Make it public.
|
||||
(elfNN_ia64_relax_br): Renames to ia64_elf_relax_br. Make it public.
|
||||
(elfNN_ia64_relax_brl): Renames to ia64_elf_relax_brl. Make it
|
||||
public.
|
||||
(elfNN_ia64_relax_ldxmov): Renames to ia64_elf_relax_ldxmov.
|
||||
Move it and make it public. Move prototype to elfxx-ia64.h
|
||||
(elfNN_ia64_install_value): Renames to ia64_elf_install_value.
|
||||
Move prototype to elfxx-ia64.h
|
||||
* elfnn-ia64.c: New file, split from elfxx-ia64.c.
|
||||
(elfNN_ia64_info_to_howto): Adjust calls.
|
||||
(elfNN_ia64_relax_section): Adjust calls.
|
||||
(count_dyn_reloc): Fix typo.
|
||||
(elfNN_ia64_relocate_section): Adjust calls.
|
||||
(elfNN_ia64_finish_dynamic_symbol): Likewise.
|
||||
(bfd_elfNN_bfd_reloc_type_lookup)
|
||||
(bfd_elfNN_bfd_reloc_name_lookup): Adjust macros.
|
||||
* configure: Regenerate.
|
||||
* Makefile.in: Regenerate.
|
||||
|
||||
2011-05-23 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* elf32-rx.c (rx_elf_object_p): When reading an RX object in, undo
|
||||
|
@ -605,6 +605,7 @@ BFD64_BACKENDS = \
|
||||
elf64-x86-64.lo \
|
||||
elf64.lo \
|
||||
elfn32-mips.lo \
|
||||
elfxx-ia64.lo \
|
||||
mach-o-x86-64.lo \
|
||||
mmo.lo \
|
||||
nlm32-alpha.lo \
|
||||
@ -637,6 +638,7 @@ BFD64_BACKENDS_CFILES = \
|
||||
elf64-x86-64.c \
|
||||
elf64.c \
|
||||
elfn32-mips.c \
|
||||
elfxx-ia64.c \
|
||||
mach-o-x86-64.c \
|
||||
mmo.c \
|
||||
nlm32-alpha.c \
|
||||
@ -845,14 +847,14 @@ elf64-target.h : elfxx-target.h
|
||||
sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
|
||||
mv -f elf64-target.new elf64-target.h
|
||||
|
||||
elf32-ia64.c : elfxx-ia64.c
|
||||
elf32-ia64.c : elfnn-ia64.c
|
||||
rm -f elf32-ia64.c
|
||||
sed -e s/NN/32/g < $(srcdir)/elfxx-ia64.c > elf32-ia64.new
|
||||
sed -e s/NN/32/g < $(srcdir)/elfnn-ia64.c > elf32-ia64.new
|
||||
mv -f elf32-ia64.new elf32-ia64.c
|
||||
|
||||
elf64-ia64.c : elfxx-ia64.c
|
||||
elf64-ia64.c : elfnn-ia64.c
|
||||
rm -f elf64-ia64.c
|
||||
sed -e s/NN/64/g < $(srcdir)/elfxx-ia64.c > elf64-ia64.new
|
||||
sed -e s/NN/64/g < $(srcdir)/elfnn-ia64.c > elf64-ia64.new
|
||||
mv -f elf64-ia64.new elf64-ia64.c
|
||||
|
||||
peigen.c : peXXigen.c
|
||||
|
@ -906,6 +906,7 @@ BFD64_BACKENDS = \
|
||||
elf64-x86-64.lo \
|
||||
elf64.lo \
|
||||
elfn32-mips.lo \
|
||||
elfxx-ia64.lo \
|
||||
mach-o-x86-64.lo \
|
||||
mmo.lo \
|
||||
nlm32-alpha.lo \
|
||||
@ -938,6 +939,7 @@ BFD64_BACKENDS_CFILES = \
|
||||
elf64-x86-64.c \
|
||||
elf64.c \
|
||||
elfn32-mips.c \
|
||||
elfxx-ia64.c \
|
||||
mach-o-x86-64.c \
|
||||
mmo.c \
|
||||
nlm32-alpha.c \
|
||||
@ -1389,6 +1391,7 @@ distclean-compile:
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elflink.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elfn32-mips.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elfxx-ia64.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elfxx-mips.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elfxx-sparc.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/epoc-pe-arm.Plo@am__quote@
|
||||
@ -1895,14 +1898,14 @@ elf64-target.h : elfxx-target.h
|
||||
sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
|
||||
mv -f elf64-target.new elf64-target.h
|
||||
|
||||
elf32-ia64.c : elfxx-ia64.c
|
||||
elf32-ia64.c : elfnn-ia64.c
|
||||
rm -f elf32-ia64.c
|
||||
sed -e s/NN/32/g < $(srcdir)/elfxx-ia64.c > elf32-ia64.new
|
||||
sed -e s/NN/32/g < $(srcdir)/elfnn-ia64.c > elf32-ia64.new
|
||||
mv -f elf32-ia64.new elf32-ia64.c
|
||||
|
||||
elf64-ia64.c : elfxx-ia64.c
|
||||
elf64-ia64.c : elfnn-ia64.c
|
||||
rm -f elf64-ia64.c
|
||||
sed -e s/NN/64/g < $(srcdir)/elfxx-ia64.c > elf64-ia64.new
|
||||
sed -e s/NN/64/g < $(srcdir)/elfnn-ia64.c > elf64-ia64.new
|
||||
mv -f elf64-ia64.new elf64-ia64.c
|
||||
|
||||
peigen.c : peXXigen.c
|
||||
|
12
bfd/configure
vendored
12
bfd/configure
vendored
@ -15215,8 +15215,8 @@ do
|
||||
bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_i860_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_i960_vec) tb="$tb elf32-i960.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_ia64_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf";;
|
||||
bfd_elf32_ia64_big_vec) tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf";;
|
||||
bfd_elf32_ip2k_vec) tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_iq2000_vec) tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_lm32_vec) tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
|
||||
@ -15314,10 +15314,10 @@ do
|
||||
bfd_elf64_bigmips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
|
||||
bfd_elf64_hppa_linux_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_hppa_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_ia64_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_ia64_vms_vec) tb="$tb elf64-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_ia64_big_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_ia64_vms_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_littlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
|
||||
bfd_elf64_mmix_vec) tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
|
||||
|
@ -714,8 +714,8 @@ do
|
||||
bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_i860_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_i960_vec) tb="$tb elf32-i960.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_ia64_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf";;
|
||||
bfd_elf32_ia64_big_vec) tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf";;
|
||||
bfd_elf32_ip2k_vec) tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_iq2000_vec) tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_lm32_vec) tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
|
||||
@ -813,10 +813,10 @@ do
|
||||
bfd_elf64_bigmips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
|
||||
bfd_elf64_hppa_linux_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_hppa_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_ia64_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_ia64_vms_vec) tb="$tb elf64-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_ia64_big_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_ia64_vms_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
|
||||
bfd_elf64_littlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
|
||||
bfd_elf64_mmix_vec) tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
|
||||
|
5463
bfd/elfnn-ia64.c
Normal file
5463
bfd/elfnn-ia64.c
Normal file
File diff suppressed because it is too large
Load Diff
5484
bfd/elfxx-ia64.c
5484
bfd/elfxx-ia64.c
File diff suppressed because it is too large
Load Diff
34
bfd/elfxx-ia64.h
Normal file
34
bfd/elfxx-ia64.h
Normal file
@ -0,0 +1,34 @@
|
||||
/* IA-64 support for 64-bit ELF
|
||||
Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
|
||||
2008, 2009, 2010 Free Software Foundation, Inc.
|
||||
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
|
||||
|
||||
This file is part of BFD, the Binary File Descriptor library.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
reloc_howto_type *ia64_elf_reloc_type_lookup (bfd *, bfd_reloc_code_real_type);
|
||||
|
||||
reloc_howto_type *ia64_elf_reloc_name_lookup (bfd *, const char *);
|
||||
|
||||
reloc_howto_type *ia64_elf_lookup_howto (unsigned int rtype);
|
||||
|
||||
bfd_boolean ia64_elf_relax_br (bfd_byte *contents, bfd_vma off);
|
||||
void ia64_elf_relax_brl (bfd_byte *contents, bfd_vma off);
|
||||
void ia64_elf_relax_ldxmov (bfd_byte *contents, bfd_vma off);
|
||||
|
||||
bfd_reloc_status_type ia64_elf_install_value (bfd_byte *hit_addr, bfd_vma v,
|
||||
unsigned int r_type);
|
Loading…
x
Reference in New Issue
Block a user