OSDN Git Service
Jason Molenda [Wed, 22 Sep 1999 03:36:42 +0000 (03:36 +0000)]
removed in the 1999-09-21 snapshot.
Jason Molenda [Wed, 22 Sep 1999 03:28:34 +0000 (03:28 +0000)]
import gdb-1999-09-21
Jason Molenda [Wed, 22 Sep 1999 03:25:04 +0000 (03:25 +0000)]
Initial revision
Jeff Law [Mon, 20 Sep 1999 09:57:19 +0000 (09:57 +0000)]
* hppa.h (pa_opcodes): Fix minor thinkos introduced while cleaning
up the new fstw & bve instructions.
Alan Modra [Mon, 20 Sep 1999 08:45:53 +0000 (08:45 +0000)]
Delete bogus R_PCLONG. Tidy R_*.
Ian Lance Taylor [Sun, 19 Sep 1999 22:43:16 +0000 (22:43 +0000)]
fix comment; from Fred Fish <fnf@ninemoons.com>
Jeff Law [Sun, 19 Sep 1999 20:17:48 +0000 (20:17 +0000)]
* hppa-dis.c: (print_insn_hppa): Correct 'cJ', 'cc'.
Jeff Law [Sun, 19 Sep 1999 20:14:30 +0000 (20:14 +0000)]
* hppa-dis.c (extract_22): New function.
Jeff Law [Sun, 19 Sep 1999 20:10:45 +0000 (20:10 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'J', 'K', and 'cc'.
Jeff Law [Sun, 19 Sep 1999 20:05:00 +0000 (20:05 +0000)]
* hppa.h (pa_opcodes): Add remaining PA2.0 integer load/store
instructions.
Jeff Law [Sun, 19 Sep 1999 19:52:39 +0000 (19:52 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'fe' and 'cJ'.
Jeff Law [Sun, 19 Sep 1999 19:43:06 +0000 (19:43 +0000)]
* hppa.h (pa_opcodes): Add remaining PA2.0 FP load/store instructions.
Jeff Law [Sun, 19 Sep 1999 19:29:37 +0000 (19:29 +0000)]
* hppa-dis.c (print_insn_hppa): Handle '#', 'd', and 'cq'.
Jeff Law [Sun, 19 Sep 1999 19:19:50 +0000 (19:19 +0000)]
* hppa.h (pa_opcodes): Add long offset double word load/store
instructions.
Jeff Law [Sun, 19 Sep 1999 18:54:23 +0000 (18:54 +0000)]
* hppa.h (pa_opcodes): Add FLAG_STRICT variants of FP loads and
stores.
Jeff Law [Sun, 19 Sep 1999 18:50:17 +0000 (18:50 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'm', 'h', '='.
Jeff Law [Sun, 19 Sep 1999 18:44:13 +0000 (18:44 +0000)]
* hppa.h (pa_opcodes): Handle PA2.0 fcnv, fcmp and ftest insns.
Jeff Law [Sun, 19 Sep 1999 18:22:20 +0000 (18:22 +0000)]
* som.c (NO_PCREL_MODES): Define if the system does not define
R_SHORT_PCREL_MODE.
(hppa_som_gen_reloc_type): Handle both short and long pcrel branches.
(som_write_fixups): Eliminate redundant pcrel mode relocs. Handle
R_LONG_PCREL_MODE and R_SHORT_PCREL_MODE
* libhppa.h (dis_assemble_22): New function.
(bfd_hppa_insn2fmt): Handle long branch.
* libhppa.h (bfd_hppa_insn2fmt): Decode and handle formats found
in PA2.0.
Jeff Law [Sun, 19 Sep 1999 18:11:48 +0000 (18:11 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'X' operand.
Jeff Law [Sun, 19 Sep 1999 18:10:28 +0000 (18:10 +0000)]
* hppa.h (pa_opcodes): Finish support for PA2.0 "b" instructions.
Jeff Law [Sun, 19 Sep 1999 17:39:17 +0000 (17:39 +0000)]
* hppa.h (pa_opcodes): Handle PA2.0 "bve" instructions.
Jeff Law [Sun, 19 Sep 1999 17:36:54 +0000 (17:36 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'B' operand.
Jeff Law [Sun, 19 Sep 1999 17:16:08 +0000 (17:16 +0000)]
* hppa.h (pa_opcodes): Add new syntax "be" instructions.
Jeff Law [Sun, 19 Sep 1999 17:12:55 +0000 (17:12 +0000)]
* hppa.h (pa_opcodes): Note use of 'M' and 'L'.
Jeff Law [Sun, 19 Sep 1999 17:06:11 +0000 (17:06 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'M' and 'L' operands.
Jeff Law [Sun, 19 Sep 1999 16:59:47 +0000 (16:59 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'l' operand.
Jeff Law [Sun, 19 Sep 1999 16:55:09 +0000 (16:55 +0000)]
* hppa.h (pa_opcodes): Add support for "b,l".
Jeff Law [Sun, 19 Sep 1999 16:44:16 +0000 (16:44 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'g' operand.
Jeff Law [Sun, 19 Sep 1999 16:41:51 +0000 (16:41 +0000)]
* hppa.h (pa_opcodes): Add support for "b,gate".
Jeff Law [Sat, 18 Sep 1999 19:11:39 +0000 (19:11 +0000)]
* hppa-dis.c (print_insn_hppa): Output a space after 'X' completer.
Jeff Law [Sat, 18 Sep 1999 18:19:56 +0000 (18:19 +0000)]
* hppa-dis.c: (print_insn_hppa): Do output a space before a 'v'
operand.
Jeff Law [Sat, 18 Sep 1999 18:09:38 +0000 (18:09 +0000)]
* hppa-dis.c: (print_insn_hppa): Handle 'fX'.
Jeff Law [Sat, 18 Sep 1999 18:08:34 +0000 (18:08 +0000)]
* hppa.h (pa_opcodes): Use 'fX' for first register operand
in xmpyu.
Jeff Law [Sat, 18 Sep 1999 17:57:08 +0000 (17:57 +0000)]
* hppa-dis.c: (print_insn_hppa): Add missing break after
FP register case.
Jeff Law [Sat, 18 Sep 1999 17:49:43 +0000 (17:49 +0000)]
* hppa.h (pa_opcodes): Fix mask for probe and probei.
Jeff Law [Sat, 18 Sep 1999 17:43:47 +0000 (17:43 +0000)]
* hppa.h (pa_opcodes): Fix mask for depwi.
Jeff Law [Sat, 18 Sep 1999 17:38:51 +0000 (17:38 +0000)]
* hppa-dis.c: Finish constifying various completers, register
names, etc etc.
Alan Modra [Sat, 18 Sep 1999 00:44:44 +0000 (00:44 +0000)]
Support 8 and 16-bit relocs for i386coff. Enable i386 gas testsuite tests
previously disabled for lack of such support. For *-*-linux*libc1 targets,
XFAIL a ld testsuite that fails due to a bug in the dynamic linker prior to
glibc-2.1.
Nick Clifton [Fri, 17 Sep 1999 11:04:47 +0000 (11:04 +0000)]
Undeo previous delta. Set gc_mark instead.
Jeff Law [Thu, 16 Sep 1999 21:01:08 +0000 (21:01 +0000)]
* elf-hppa.h (elf_hppa_final_write_processing): Turn on TRAPNIL.
Jeff Law [Thu, 16 Sep 1999 20:39:10 +0000 (20:39 +0000)]
* elf-hppa.h (elf_hppa_final_link): If unable to find __gp in the
symbol table, then just compute a suitable value (but do not
create a __gp symbol).
Catherine Moore [Thu, 16 Sep 1999 18:25:09 +0000 (18:25 +0000)]
(elf_cpu32_plt0_entry): Use a1 instead of a0.
(elf_cpu32_plt_entry): Likewise.
----------------------------------------------------------------------
Jeff Law [Thu, 16 Sep 1999 16:51:34 +0000 (16:51 +0000)]
* elf-hppa.h (elf_hppa_relocate_section): Allow undefined
symbols when building shared libraries.
(elf_hppa_final_link_relocate): Correct handling of PCREL
relocations against undefined symbols.
Nick Clifton [Thu, 16 Sep 1999 15:32:40 +0000 (15:32 +0000)]
Mark interworking sections as linker created to prevent garbage collection.
Jeff Law [Wed, 15 Sep 1999 08:51:45 +0000 (08:51 +0000)]
* elf-hppa.h (elf_hppa_final_link): Revamp __gp handling.
(elf_hppa_final_link_relocate): Consistently create an absolute
address, then subtract out the value of __gp.
Michael Meissner [Tue, 14 Sep 1999 23:29:35 +0000 (23:29 +0000)]
Fix problem with going to automake 2.14
Nick Clifton [Tue, 14 Sep 1999 10:34:02 +0000 (10:34 +0000)]
Change ELF_MAXPAGESIZE to 0x1
Jeff Law [Tue, 14 Sep 1999 03:44:43 +0000 (03:44 +0000)]
* elf-hppa.h (elf_hppa_record_segment_addrs): New function.
(elf_hppa_final_link): Initialize text_segment_base and
data_segment_base.
(elf_hppa_final_link_relocate): Handle SEGREL relocations.
Jeff Law [Tue, 14 Sep 1999 02:03:58 +0000 (02:03 +0000)]
* elf-hppa.h (elf_hppa_final_link): Remove unused variables.
(elf_hppa_final_link_relocate): Likewise.
(elf_hppa_relocate_insn): Likewise.
(elf_hppa_relocate_section): Initialize HOWTO.
Ian Lance Taylor [Mon, 13 Sep 1999 23:55:22 +0000 (23:55 +0000)]
1999-09-13 Donn Terry <donn@interix.com>
* coffcode.h (styp_to_sec_flags): Further refinement of COMDAT
handling to support both GNU and MS objects.
Ian Lance Taylor [Mon, 13 Sep 1999 23:42:43 +0000 (23:42 +0000)]
1999-09-13 Donn Terry <donn@interix.com>
* coffcode.h (coff_write_object_contents): Don't check reloc_count
when determining whether to set F_RELFLG.
Jason Molenda [Mon, 13 Sep 1999 21:40:00 +0000 (21:40 +0000)]
import gdb-1999-09-13 snapshot
Jason Molenda [Mon, 13 Sep 1999 21:40:00 +0000 (21:40 +0000)]
Initial revision
Nick Clifton [Mon, 13 Sep 1999 09:59:02 +0000 (09:59 +0000)]
Apply Philip Blundell's patch to prevent range checks on weak symbols.
Alan Modra [Mon, 13 Sep 1999 06:45:13 +0000 (06:45 +0000)]
Hackery to handle ix86 "jmp constant" as a pc-relative jump to the given
absolute address.
Jeff Law [Mon, 13 Sep 1999 05:51:32 +0000 (05:51 +0000)]
* elf-hppa.h (elf_hppa_final_link_relocate): Handle SECREL32.
Stub SEGREL32. Return an error for any relocation not handled.
Ian Lance Taylor [Sun, 12 Sep 1999 16:28:20 +0000 (16:28 +0000)]
* cofflink.c (coff_link_add_symbols): Look for special MSVC string
constant symbols, and avoid multiple definition errors on them.
Ian Lance Taylor [Sun, 12 Sep 1999 14:27:21 +0000 (14:27 +0000)]
1999-09-12 Donn Terry <donn@interix.com>
* libbfd.c (bfd_log2): Rewrite to avoid infinite loop if most
significant bit is set.
Ian Lance Taylor [Sun, 12 Sep 1999 00:45:26 +0000 (00:45 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* libpei.h (_bfd_pei_final_link_postscript): Declare.
(coff_final_link_postscript): Define.
* peigen.c (_bfd_pei_swap_aouthdr_out): Don't set value for data
directory entries here.
(_bfd_pei_final_link_postscript): New function.
Ian Lance Taylor [Sun, 12 Sep 1999 00:32:32 +0000 (00:32 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* peigen.c (_bfd_pei_swap_scnhdr_out): Remove code which sets
section flags based on the section name.
Ian Lance Taylor [Sun, 12 Sep 1999 00:30:27 +0000 (00:30 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* peicode.h (coff_swap_scnhdr_in): If COFF_IMAGE_WITH_PE, the
get the overflow of the s_nlnno field from the s_nreloc field.
* peigen.c (_bfd_pei_swap_scnhdr_out): If doing a final link, swap
the s_nlnno overflow of the .text section into the s_nreloc
field.
Ian Lance Taylor [Sun, 12 Sep 1999 00:22:01 +0000 (00:22 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* peigen.c (add_data_entry): Declare.
(pei_swap_aouthdr_out): Get image size right. Set linker version
more intuitively.
(pei_swap_scnhdr_out): Test for UNINIT section, not .bss.
(pe_print_idata): Code cleanup, print more info, get rid of (now)
extraneous ImageBase.
(pe_print_edata): Likewise.
(pe_print_pdata): Likewise. Print exception entries.
(pe_print_reloc): Likewise. Print MIPS_JMPADDR.
(tbl): Make const, add "UNKNOWN".
(_bfd_pe_print_private_bfd_data_common): Print timestamp.
(_bfd_pe_bfd_copy_private_bfd_data_common): Don't copy deleted
section data directory.
(_bfd_pe_bfd_copy_private_section_data): Copy pe_flags.
Ian Lance Taylor [Sun, 12 Sep 1999 00:02:11 +0000 (00:02 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* libpei.h (_bfd_pe_bfd_get_symbol_info): Declare.
* peigen.c (_bfd_pe_bfd_get_symbol_info): New function.
* peicode.h (coff_get_symbol_info): Define.
Ian Lance Taylor [Sat, 11 Sep 1999 23:46:09 +0000 (23:46 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* config.bfd (i[3456]86-*-interix*): Set targ_cflags to
-DSTRICT_PE_FORMAT.
* coffcode.h (styp_to_sec_flags): Check STRICT_PE_FORMAT rather
than __INTERIX.
(coff_classify_symbol): Re-revert 1999-08-08 patch if
STRICT_PE_FORMAT.
Ian Lance Taylor [Sat, 11 Sep 1999 23:38:11 +0000 (23:38 +0000)]
add some comments about peigen.c
Ian Lance Taylor [Sat, 11 Sep 1999 23:37:28 +0000 (23:37 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* libpei.h: New file, broken out of peicode.h.
* peigen.c: New file, broken out of peicode.h.
* peicode.h: A bunch of code moved out to libpei.h and peigen.c.
* configure.in: Add peigen.lo to list of files required for each
PE target.
* Makefile.am: Rebuild dependencies.
(BFD32_BACKENDS): Add peigen.lo.
(BFD32_BACKENDS_CFILES): Add peigen.c.
(SOURCE_HFILES): Add libpei.h.
* configure, Makefile.in: Rebuild.
Ian Lance Taylor [Sat, 11 Sep 1999 22:52:20 +0000 (22:52 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* peicode.h (coff_swap_scnhdr_in): Don't check for a special
section name of _BSS; check IMAGE_SCN_CNT_UNINITIALIZED_DATA
instead. Don't clear the s_paddr field for an uninitialized data
section.
Ian Lance Taylor [Sat, 11 Sep 1999 22:46:37 +0000 (22:46 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* coffcode.h (coff_mkobject_hook): Set timestamp field in
coff_data_type to f_timdat.
* peicode.h (pe_mkobject_hook): Likewise.
Ian Lance Taylor [Sat, 11 Sep 1999 22:41:54 +0000 (22:41 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* peicode.h (coff_swap_filehdr_in): Check the NT executable magic
number if COFF_IMAGE_WITH_PE.
Ian Lance Taylor [Sat, 11 Sep 1999 22:33:45 +0000 (22:33 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* coffcode.h (coff_mkobject_hook): If COFF_WITH_PE, set HAS_DEBUG
to the reverse of IMAGE_FILE_DEBUG_STRIPPED.
(coff_write_object_contents): Set IMAGE_FILE_DEBUG_STRIPPED if
there is no SEC_DEBUGGING section.
* peicode.h (pe_mkobject_hook): Set HAS_DEBUG to the reverse of
IMAGE_FILE_DEBUG_STRIPPED.
Ian Lance Taylor [Sat, 11 Sep 1999 22:17:33 +0000 (22:17 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* pe-i386.c (COFF_LONG_FILENAMES): Define.
(COFF_SECTION_ALIGNMENT_ENTRIES): Define.
* pei-i386.c (COFF_LONG_FILENAMES): Define.
(COFF_SECTION_ALIGNMENT_ENTRIES): Define.
Ian Lance Taylor [Sat, 11 Sep 1999 22:10:33 +0000 (22:10 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* coffswap.h (IMAGE_BASE): Don't define.
* pei-arm.c (IMAGE_BASE): Don't define.
* pei-i386.c (IMAGE_BASE): Don't define.
* pei-mcore.c (IMAGE_BASE): Don't define.
* pei-ppc.c (IMAGE_BASE): Don't define.
Ian Lance Taylor [Sat, 11 Sep 1999 22:04:16 +0000 (22:04 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* cofflink.c (_bfd_coff_link_input_bfd): When writing out a
symbol, switch on the class when determining whether to modify the
value. For PE, don't modify the value of a C_FCN symbol not named
.bf.
Ian Lance Taylor [Sat, 11 Sep 1999 21:51:55 +0000 (21:51 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* libbfd-in.h (_bfd_abort): Declare.
(abort): Define.
* bfd.c (_bfd_abort): New function.
* libbfd.h: Rebuild.
Ian Lance Taylor [Sat, 11 Sep 1999 21:39:03 +0000 (21:39 +0000)]
* coff-ppc.c (COFF_SECTION_ALIGNMENT_ENTRIES): Define.
1999-09-11 Donn Terry <donn@interix.com>
* coffcode.h (coff_set_alignment_hook): Delete POWERPC_LE_PE
special handling.
Ian Lance Taylor [Sat, 11 Sep 1999 21:27:15 +0000 (21:27 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* cofflink.c (_bfd_coff_link_input_bfd): If a symbol is stripped,
don't write out the associated line numbers.
Ian Lance Taylor [Sat, 11 Sep 1999 21:15:16 +0000 (21:15 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* cofflink.c (_bfd_coff_write_global_sym): Handle section symbol
aux entries.
Ian Lance Taylor [Sat, 11 Sep 1999 21:04:09 +0000 (21:04 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* coffcode.h (coff_slurp_symbol_table): If PE, set BSF_DEBUGGING
for C_FCN/C_EFCN symbols, and set BSF_DEBUGGING_RELOC for such
symbols named .bf.
Ian Lance Taylor [Sat, 11 Sep 1999 20:14:57 +0000 (20:14 +0000)]
* elfcode.h (write_relocs): Handle an absolute symbol in REL
relocs as we do for RELA relocs.
Ian Lance Taylor [Sat, 11 Sep 1999 15:26:22 +0000 (15:26 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* cofflink.c (coff_link_add_symbols): Don't warn about symbol type
changes when the base type is unknown.
Ian Lance Taylor [Sat, 11 Sep 1999 15:16:14 +0000 (15:16 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* coffgen.c (coff_print_symbol): Fix printing of aux record for
function symbols.
Ian Lance Taylor [Sat, 11 Sep 1999 14:41:11 +0000 (14:41 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* syms.c (BSF_DEBUGGING_RELOC): Define.
* coffgen.c (fixup_symbol_value): Relocate a symbol which has
BSF_DEBUGGING_RELOC set.
* bfd-in2.h: Rebuild.
Ian Lance Taylor [Fri, 10 Sep 1999 23:25:51 +0000 (23:25 +0000)]
* ecoff.c (bfd_debug_section): Update initialization for new
comdat_info field.
(_bfd_ecoff_styp_to_sec_flags): Add section parameter.
* libecoff.h (_bfd_ecoff_styp_to_sec_flags): Update declaration.
1999-09-10 H.J. Lu <hjl@gnu.org>
* coff-alpha.c (alpha_ecoff_backend_data): Initialize the new
_bfd_filnmlen field.
* coff-mips.c (mips_ecoff_backend_data): Likewise.
Jeff Law [Fri, 10 Sep 1999 15:46:37 +0000 (15:46 +0000)]
* elf-hppa.h (elf_hppa_final_link_relocate): Create .opd entries
for FPTR relocs involving local symbols.
Jeff Law [Fri, 10 Sep 1999 14:05:36 +0000 (14:05 +0000)]
* elf-hppa.h (elf_hppa_final_link_relocate): Get the right
value for the stub address in a call through a stub.
Install the value for a local symbol directly into the DLT
instead of generating a reloc. Correctly handle FPTR64 relocs.
Jeff Law [Fri, 10 Sep 1999 06:38:05 +0000 (06:38 +0000)]
* elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): New function.
(elf_hppa_remark_useless_dynamic_symbols): Similarly.
(elf_hppa_final_link): Call them.
Ian Lance Taylor [Fri, 10 Sep 1999 04:22:23 +0000 (04:22 +0000)]
* elflink.h (elf_fix_symbol_flags): Move weakdef handling here...
(elf_adjust_dynamic_symbol): ...from here.
Jeff Law [Thu, 9 Sep 1999 14:52:15 +0000 (14:52 +0000)]
Update some comments.
Jeff Law [Thu, 9 Sep 1999 14:51:33 +0000 (14:51 +0000)]
* elf-hppa.h (elf_hppa_howto_table); There is no DIR64WR, DIR64DR
relocation, remove them. SECREL64->LTOFF16WF.
(elf_hppa_final_link_relocate): Handle LTOFF* relocations. Handle
DIR* relocations.
(elf_hppa_relocate_insn): Similarly.
Jeff Law [Thu, 9 Sep 1999 14:20:18 +0000 (14:20 +0000)]
* elf-hppa.h (elf_hppa_final_link_relocate): Handle PLTOFF* relocs.
(elf_hppa_relocate_insn): Similarly.
Jeff Law [Thu, 9 Sep 1999 14:10:24 +0000 (14:10 +0000)]
* elf-hppa.h (elf_hppa_final_link_relocate): Handle DPREL* and
GPREL* relocations.
(elf_hppa_relocate_insn): Similarly.
Jeff Law [Thu, 9 Sep 1999 13:55:46 +0000 (13:55 +0000)]
* elf-hppa.h (elf_hppa_link_final_relocate): Fix typos.
Handle LTOFF_TP* relocs.
(elf_hppa_relocate_insn): Similarly.
Jeff Law [Thu, 9 Sep 1999 13:32:38 +0000 (13:32 +0000)]
* elf-hppa.h (elf_hppa_final_link_relocate): Handle PCREL* relocs.
Consistently deal with addends. Handle DLTIND14F and DLTREL14F.
(elf_hppa_relocate_insn): Handle PCREL* relocs.
Jeff Law [Thu, 9 Sep 1999 13:01:11 +0000 (13:01 +0000)]
* elf-hppa.h (elf_hppa_final_link_relocate): Handle LT_OFF_FPTR*,
DIR32, DIR64 and FPTR64 relocations.
(elf_hppa_relocate_insn): Similarly.
Jeff Law [Thu, 9 Sep 1999 12:01:24 +0000 (12:01 +0000)]
Wed Sep 8 17:56:11 1999 Jeffrey A Law (law@cygnus.com)
* elf-hppa.h (elf_hppa_final_link): Set the value of __gp to the
address of the .PARISC.global section.
(elf_hppa_relocate_section): Lookup and pass the PA64 hash
table entry elf_hppa_final_link_relocate. Do not give a warning
for a reloc against an external symbol if it has a PA64 hash
table entry.
(elf_hppa_final_link_relocate): Significantly rework. Handle
DLTIND relocations. Compute the final value of the relocation
before passing the value of elf_hppa_relocate_insn.
(elf_hppa_relocate_insn): Revamp to handle just bit tiwiddling
relocation support. Handle DLTIND relocation requests just like
DLTREL relocation requests. Simplify branch handling.
1999-09-08 Ulrich Drepper <drepper@cygnus.com>
* elf-hppa.h (elf_hppa_relocate_section): Catch problems with
non-allocated section as done in i386 version.
(elf_hppa_final_link_relocate): Uncomment R_PARISC_14F in switch
statement since this is no know relocation.
Stan Shebs [Thu, 9 Sep 1999 00:02:17 +0000 (00:02 +0000)]
import gdb-1999-09-08 snapshot
Stan Shebs [Thu, 9 Sep 1999 00:01:39 +0000 (00:01 +0000)]
Initial revision
Jeff Law [Wed, 8 Sep 1999 01:00:12 +0000 (01:00 +0000)]
* elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14F
relocs.
(elf_hppa_relocate_insn): Similarly.
Jeff Law [Wed, 8 Sep 1999 00:50:50 +0000 (00:50 +0000)]
* elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14WR and
DLTREL14WD relocs.
(elf_hppa_relocate_insn): Similarly.
Jeff Law [Wed, 8 Sep 1999 00:09:52 +0000 (00:09 +0000)]
* elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14R and
DLTREL21L relocs. Pass the output bfd to elf_hppa_relocate_insn.
Pass the relocate type rather than the insn format to
elf_hppa_relocate_insn.
(elf_hppa_relocate_insn): Make switch dependent on relocation type
rather than the opcode. Handle DLTREL21L and DLTREL14R relocs.