OSDN Git Service
Nick Clifton [Tue, 7 Sep 1999 17:26:21 +0000 (17:26 +0000)]
Add patterns with correct names for mulu and muls instructions (mulu.w and muls.w)
Ian Lance Taylor [Tue, 7 Sep 1999 04:28:27 +0000 (04:28 +0000)]
* coffcode.h (bfd_coff_backend_data): Add _bfd_filnmlen field.
(bfd_coff_filnmlen): Define.
(bfd_coff_std_swap_table): Initialize new field.
* coffgen.c (coff_fix_symbol_name): Use bfd_coff_filnmlen rather
than FILNMLEN.
(coff_write_symbols): Likewise.
(coff_get_normalized_symtab): Likewise.
* coff-sh.c (bfd_coff_small_swap_table): Initialize new field.
* libcoff.h: Rebuild.
Ian Lance Taylor [Tue, 7 Sep 1999 04:14:35 +0000 (04:14 +0000)]
reformat for 80 column screen
Ian Lance Taylor [Tue, 7 Sep 1999 04:06:50 +0000 (04:06 +0000)]
1999-09-06 Donn Terry <donn@interix.com>
* coffcode.h (sort_by_secaddr): New static function if
COFF_IMAGE_WITH_PE.
(coff_compute_section_file_positions): If COFF_IMAGE_WITH_PE, sort
sections by VMA when assigning target_index values. Always set
virt_size.
Ian Lance Taylor [Tue, 7 Sep 1999 03:42:53 +0000 (03:42 +0000)]
remove unneeded ifdefs
Ian Lance Taylor [Tue, 7 Sep 1999 03:40:32 +0000 (03:40 +0000)]
1999-09-06 Donn Terry <donn@interix.com>
* libcoff-in.h (struct pei_section_tdata): Add pe_flags field.
* coffcode.h (coff_set_alignment_hook): Set pe_flags field if
COFF_WITH_PE.
* libcoff.h: Rebuild.
Ian Lance Taylor [Tue, 7 Sep 1999 03:28:54 +0000 (03:28 +0000)]
1999-09-06 Donn Terry <donn@interix.com>
* internal.h (DTYPE): Define.
* pe.h (struct external_PEI_filehdr): Rename from
external_PE_filehdr. Define even if COFF_IMAGE_WITH_PE is not
defined.
Ian Lance Taylor [Tue, 7 Sep 1999 03:00:32 +0000 (03:00 +0000)]
1999-09-06 Donn Terry <donn@interix.com>
* coffcode.h (coff_set_custom_section_alignment): Add const to
declaration to match definition.
(coff_write_object_contents): Don't set F_AR32W(R)? if
COFF_WITH_PE.
Ian Lance Taylor [Tue, 7 Sep 1999 02:59:17 +0000 (02:59 +0000)]
* coff-i386.c (in_reloc_p): Add declaration.
(i386coff_vec): Simplify initialization of
application_section_flags.
Ian Lance Taylor [Tue, 7 Sep 1999 02:58:00 +0000 (02:58 +0000)]
add comment
Ian Lance Taylor [Tue, 7 Sep 1999 02:11:54 +0000 (02:11 +0000)]
1999-09-06 Donn Terry <donn@interix.com>
* coffcode.h (sec_to_styp_flags): Write separate COFF_WITH_PE
version. Move COFF_WITH_PE specific code to new version.
(stype_to_sec_flags): Likewise. Add section parameter.
* coffgen.c (make_a_section_from_file): Set target_index before
calling styp_to_sec_flags. Pass section to styp_to_sec_flags.
* libcoff.h: Rebuild.
Ian Lance Taylor [Mon, 6 Sep 1999 18:44:56 +0000 (18:44 +0000)]
1999-09-06 Donn Terry <donn@interix.com>
* syms.c (stt): Add some PE/PEI section names.
(bfd_decode_symclass): Return 'w', not 'U', for a weak undefined
symbol.
(bfd_symbol_info): Check for 'w'.
Ian Lance Taylor [Mon, 6 Sep 1999 18:34:29 +0000 (18:34 +0000)]
1999-09-06 Donn Terry <donn@interix.com>
* section.c (struct bfd_comdat_info): Define.
(asection): Add comdat field.
(STD_SECTION): Initialize comdat field.
(bfd_make_section_anyway): Likewise.
* bfd-in2.h: Rebuild.
Andreas Schwab [Mon, 6 Sep 1999 10:56:08 +0000 (10:56 +0000)]
* elflink.h (elf_link_add_object_symbols): Copy NON_GOT_REF flag
to version symbols.
Jeff Law [Mon, 6 Sep 1999 10:42:11 +0000 (10:42 +0000)]
* hppa.h: Add strict variants of PA1.0/PA1.1 loads and stores.
Add a few PA2.0 loads and store variants.
Nick Clifton [Mon, 6 Sep 1999 08:57:49 +0000 (08:57 +0000)]
use bfd memory allcation routines
Ian Lance Taylor [Sat, 4 Sep 1999 17:17:37 +0000 (17:17 +0000)]
1999-09-04 Steve Chamberlain <sac@pobox.com>
* dis-asm.h (print_insn_pj): Declare.
Ian Lance Taylor [Sat, 4 Sep 1999 17:16:21 +0000 (17:16 +0000)]
1999-09-04 Steve Chamberlain <sac@pobox.com>
* pj.h: New file.
Ian Lance Taylor [Sat, 4 Sep 1999 17:15:44 +0000 (17:15 +0000)]
1999-09-04 Steve Chamberlain <sac@pobox.com>
* pj.h: New file.
* common.h (EM_PJ): Define.
Ian Lance Taylor [Sat, 4 Sep 1999 17:14:37 +0000 (17:14 +0000)]
1999-09-04 Steve Chamberlain <sac@pobox.com>
* pj-opc.c: New file.
* pj-dis.c: New file.
* disassemble.c (disassembler): Handle bfd_arch_pj.
* configure.in: Handle bfd_pj_arch.
* Makefile.am: Rebuild dependencies.
(CFILES): Add pj-dis.c and pj-opc.c.
(ALL_MACHINES): Add pj-dis.lo and pj-opc.lo.
* configure, Makefile.in: Rebuild.
Ian Lance Taylor [Sat, 4 Sep 1999 17:07:46 +0000 (17:07 +0000)]
1999-09-04 Steve Chamberlain <sac@pobox.com>
* cpu-pj.c: New file.
* elf32-pj.c: New file.
* config.bfd (pj*): New cpu.
(pj-*-*, pjl-*-*): New targets.
* configure.in (bfd_elf32_pj_vec): New target vector.
(bfd_elf32_pjl_vec): New target vector.
* archures.c (bfd_arch_pj): Define.
* elf.c (prep_headers): Handle bfd_arch_pj.
* reloc.c: Define BFD_RELOC_PJ_* relocations.
* targets.c (bfd_elf32_pj_vec, bfd_elf32_pjl_vec): Declare and add
to target vector list.
* Makefile.am: Rebuild dependencies.
(ALL_MACHINES): Add cpu-pj.lo.
(ALL_MACHINES_CFILES): Add cpu-pj.c.
(BFD32_BACKENDS): Add elf32-pj.lo.
(BFD32_BACKENDS_CFILES): Add elf32-pj.c.
* configure, Makefile.in, bfd-in2.h, libbfd.h: Rebuild.
Ian Lance Taylor [Sat, 4 Sep 1999 16:52:13 +0000 (16:52 +0000)]
1999-09-04 Steve Chamberlain <sac@pobox.com>
* config.sub: Add support for configuring for pj.
Ian Lance Taylor [Sat, 4 Sep 1999 16:26:08 +0000 (16:26 +0000)]
* elf-bfd.h (ELF_LINK_NON_GOT_REF): Define.
* elflink.h (elf_adjust_dynamic_symbol): Copy REF_REGULAR_NONWEAK
and NON_GOT_REF from weak defined symbol to real symbol.
* elf32-i386.c (elf_i386_check_relocs): Set NON_GOT_REF.
(elf_i386_adjust_dynamic_symbol): If NON_GOT_REF is not set, don't
create a COPY reloc.
* elf32-sparc.c (elf32_sparc_check_relocs): Set NON_GOT_REF.
(elf32_sparc_adjust_dynamic_symbol): If NON_GOT_REF is not set,
don't create a COPY reloc.
Ian Lance Taylor [Sat, 4 Sep 1999 15:49:35 +0000 (15:49 +0000)]
1999-09-04 H.J. Lu <hjl@gnu.org>
* i386-dis.c (print_insn_i386): Set bytes_per_line to 7.
Ian Lance Taylor [Fri, 3 Sep 1999 18:34:45 +0000 (18:34 +0000)]
rebuild
Ian Lance Taylor [Fri, 3 Sep 1999 18:34:02 +0000 (18:34 +0000)]
* elflink.h (elf_bfd_final_link): When counting relocations, don't
count those in sections we are not including in the link.
Jeff Law [Fri, 3 Sep 1999 02:23:08 +0000 (02:23 +0000)]
* hppa.h: Add HPUX specific symbol type definitions.
Jeff Law [Thu, 2 Sep 1999 23:44:54 +0000 (23:44 +0000)]
* elflink.h (elf_link_add_object_symbols): Work around bogus SH_LINK
field in hpux11 shared libraries.
Jeff Law [Thu, 2 Sep 1999 20:17:33 +0000 (20:17 +0000)]
* hppa.h: Add HPUX specific dynamic and program header table
specific definitions.
Nick Clifton [Thu, 2 Sep 1999 17:56:51 +0000 (17:56 +0000)]
Fix memory leak.
Jeff Law [Wed, 1 Sep 1999 20:06:15 +0000 (20:06 +0000)]
Fix minor typos introduced while cleaning up the previous patch.
Jeff Law [Wed, 1 Sep 1999 19:42:17 +0000 (19:42 +0000)]
* elf-hppa.h (elf_hppa_add_symbol_hook): New function.
(elf_hppa_final_link, elf_hppa_relocate_section): Likewise.
(elf_hppa_final_link_relocate, elf_hppa_relocate_insn): Likewise.
Nick Clifton [Tue, 31 Aug 1999 16:57:03 +0000 (16:57 +0000)]
oops - omitted from previous delta
Nick Clifton [Tue, 31 Aug 1999 16:56:26 +0000 (16:56 +0000)]
Patch from Scott Bambrough <scottb@netwinder.org> to define NT_TASKSTRUCT.
Ian Lance Taylor [Tue, 31 Aug 1999 15:11:50 +0000 (15:11 +0000)]
fix FSF address
Nick Clifton [Tue, 31 Aug 1999 14:07:27 +0000 (14:07 +0000)]
When possible, keep the original type of the symbol.
Nick Clifton [Tue, 31 Aug 1999 09:47:21 +0000 (09:47 +0000)]
Add support for configuring for fr30.
Richard Henderson [Tue, 31 Aug 1999 02:01:22 +0000 (02:01 +0000)]
* alpha-opc.c (fetch, fetch_m, ecb, wh64): RA must be R31.
Jason Molenda [Tue, 31 Aug 1999 01:14:27 +0000 (01:14 +0000)]
import gdb-1999-08-30 snapshot
Jason Molenda [Tue, 31 Aug 1999 01:08:26 +0000 (01:08 +0000)]
Initial revision
Jeff Law [Mon, 30 Aug 1999 21:57:08 +0000 (21:57 +0000)]
Check in correct version of previous patch.
Jeff Law [Mon, 30 Aug 1999 21:30:36 +0000 (21:30 +0000)]
* elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Allow both
R_PARISC_DIR32 and R_PARISC_DIR64 regardless of how the
tools were configured.
* elf32-hppa.h (_bfd_elf32_hppa_gen_reloc_type): Declare.
Alan Modra [Sun, 29 Aug 1999 23:44:27 +0000 (23:44 +0000)]
Allow spaces in i386 FP reg names, eg. %st ( 1 ).
Doug Evans [Sun, 29 Aug 1999 21:16:25 +0000 (21:16 +0000)]
* fr30-asm.c,fr30-desc.h,fr30-dis.c,fr30-ibld.c,fr30-opc.c: Rebuild.
* m32r-asm.c,m32r-desc.h,m32r-dis.c,m32r-ibld.c,m32r-opc.c: Rebuild.
* m32r-opinst.c: Rebuild.
Jeff Law [Sun, 29 Aug 1999 07:53:24 +0000 (07:53 +0000)]
* hppa-dis.c (print_insn_hppa): Replace 'f' by 'v'. Prefix float
register args by 'f'.
Jeff Law [Sun, 29 Aug 1999 07:51:43 +0000 (07:51 +0000)]
* hppa.h (pa_opcodes): Replace 'f' by 'v'. Prefix float register args
by 'f'.
Jeff Law [Sat, 28 Aug 1999 10:59:07 +0000 (10:59 +0000)]
* hppa-dis.c (print_insn_hppa): Add args q, %, !, and |.
Jeff Law [Sat, 28 Aug 1999 10:58:26 +0000 (10:58 +0000)]
* hppa.h (pa_opcodes): Add extrd, extrw, depd, depdi, depw, depwi.
Add supporting args.
Jeff Law [Sat, 28 Aug 1999 10:17:07 +0000 (10:17 +0000)]
* hppa-dis.c (MASK_10, read_write_names, add_compl_names,
extract_10U_store): New.
(print_insn_hppa): Add new completers.
Jeff Law [Sat, 28 Aug 1999 10:16:15 +0000 (10:16 +0000)]
* hppa.h: Document new completers and args.
* hppa.h (pa_opcodes): Add 64 bit patterns and pa2.0 syntax for uxor,
uaddcm, dcor, addi, add, sub, subi, shladd, rfi, and probe. Add pa2.0
extensions for ssm, rsm, pdtlb, pitlb. Add performance instructions
pmenb and pmdis.
Jeff Law [Sat, 28 Aug 1999 09:28:31 +0000 (09:28 +0000)]
Fix minor bug in last change.
Jeff Law [Sat, 28 Aug 1999 08:47:50 +0000 (08:47 +0000)]
* hppa-dis.c (signed_unsigned_names,mix_half_names,
saturation_names): New.
(print_insn_hppa): Add completer codes 'a', 'ch', 'cH', 'cS', and 'c*'.
Jeff Law [Sat, 28 Aug 1999 08:46:57 +0000 (08:46 +0000)]
* hppa.h (pa_opcodes): Add pa2.0 instructions hadd, hshl,
hshr, hsub, mixh, mixw, permh.
Jeff Law [Sat, 28 Aug 1999 08:17:36 +0000 (08:17 +0000)]
* hppa-dis.c (print_insn_hppa): Place completers behind prefix 'c'.
Jeff Law [Sat, 28 Aug 1999 08:16:55 +0000 (08:16 +0000)]
* hppa.h (pa_opcodes): Change completers in instructions to
use 'c' prefix.
Jeff Law [Sat, 28 Aug 1999 08:00:27 +0000 (08:00 +0000)]
Add missing '!' change.
Jeff Law [Sat, 28 Aug 1999 06:45:18 +0000 (06:45 +0000)]
* hppa-dis.c (print_insn_hppa): Add cases for '.', '~'. '$'. and '!'
Jeff Law [Sat, 28 Aug 1999 06:41:11 +0000 (06:41 +0000)]
* hppa.h (pa_opcodes): Add popbts, new forms of bb, havg,
hshladd, hshradd, shrpd, and shrpw instructions. Update arg comments.
Jeff Law [Sat, 28 Aug 1999 06:29:15 +0000 (06:29 +0000)]
* hppa-dis.c (print_insn_hppa): Look at next arg instead of bits
to decide to print a space.
Jeff Law [Sat, 28 Aug 1999 06:27:12 +0000 (06:27 +0000)]
* hppa.h (pa_opcodes): Change fmpyfadd, fmpynfadd, fneg,
fnegabs to use 'I' instead of 'F'.
Nick Clifton [Fri, 27 Aug 1999 10:42:58 +0000 (10:42 +0000)]
Do not build ld for native AIX platforms.
Mark Mitchell [Fri, 27 Aug 1999 00:08:50 +0000 (00:08 +0000)]
* elf32-mips.c (_bfd_mips_elf_check_relocs): Don't allocate local
GOT entries for GOT16 relocations; they're not required.
Nick Clifton [Tue, 24 Aug 1999 15:16:53 +0000 (15:16 +0000)]
Path from Roland McGrath <roland@baalperazim.frob.com>
Added arm-netbsd target.
Jeff Law [Tue, 24 Aug 1999 06:26:39 +0000 (06:26 +0000)]
* som.c (som_slurp_symbol_table): Fix typo in comment.
Jason Molenda [Mon, 23 Aug 1999 23:15:40 +0000 (23:15 +0000)]
Files removed as of the 1999-08-23 snapshot.
Jason Molenda [Mon, 23 Aug 1999 22:40:00 +0000 (22:40 +0000)]
import gdb-1999-08-23 snapshot
Jason Molenda [Mon, 23 Aug 1999 22:37:07 +0000 (22:37 +0000)]
Initial revision
Alan Modra [Sat, 21 Aug 1999 12:40:39 +0000 (12:40 +0000)]
Add AMD athlon support to x86 assembler and disassembler.
Jeff Law [Fri, 20 Aug 1999 23:03:04 +0000 (23:03 +0000)]
* elf-hppa.h (elf_hppa_fake_sections): Compute section indices
here instead of using elf_section_data...
Nick Clifton [Fri, 20 Aug 1999 07:56:08 +0000 (07:56 +0000)]
fix bug in previous delta
Nick Clifton [Thu, 19 Aug 1999 13:04:45 +0000 (13:04 +0000)]
Add code to emit relocs into a base file.
Nick Clifton [Thu, 19 Aug 1999 10:12:28 +0000 (10:12 +0000)]
Fix partial REL relocs.
Doug Evans [Thu, 19 Aug 1999 05:45:30 +0000 (05:45 +0000)]
* cgen.h (CGEN_INSN_MACH_HAS_P): New macro.
Ian Lance Taylor [Thu, 19 Aug 1999 00:55:50 +0000 (00:55 +0000)]
1999-08-18 Donn Terry <donn@interix.com>
* cofflink.c: Move definitions of N_TMASK, et. al., out of
_bfd_coff_link_input_bfd into top level.
Ian Lance Taylor [Wed, 18 Aug 1999 06:00:13 +0000 (06:00 +0000)]
1999-08-18 Donn Terry <donn@interix.com>
* coff-i386.c (coff_i386_reloc): Handle R_IMAGEBASE.
(RTYPE2HOWTO): Return NULL if reloc type is out of range.
(coff_i386_rtype_to_howto): Likewise.
* coffcode.h (coff_slurp_symbol_table): Change a -2 to N_DEBUG.
Completely ignore symbols which are all zero.
(dummy_reloc16_estimate): Add return 0.
* cofflink.c (_bfd_coff_link_input_bfd): Rename inner scope
variable copy to name_copy to avoid shadowing outer scope
variable.
* libcoff-in.h (coff_data_type): Change raw_syment_count field
from unsigned int to unsigned long. Add timestamp field.
* libcoff.h: Rebuild.
Also comment changes.
Ian Lance Taylor [Wed, 18 Aug 1999 05:59:47 +0000 (05:59 +0000)]
comment changes from Donn Terry, and indentation changes
Ian Lance Taylor [Wed, 18 Aug 1999 05:58:46 +0000 (05:58 +0000)]
add comment from Donn Terry
Ian Lance Taylor [Tue, 17 Aug 1999 07:53:37 +0000 (07:53 +0000)]
1999-08-17 H.J. Lu <hjl@gnu.org>
* elf32-hppa.c (bfd_elf32_bfd_is_local_label_name): Fix typo in
macro definition.
Ian Lance Taylor [Tue, 17 Aug 1999 07:50:30 +0000 (07:50 +0000)]
* elf32-mips.c (_bfd_mips_elf_add_symbol_hook): Set BSF_DYNAMIC
for special section symbols.
* elflink.h (elf_merge_symbol): If we have no old BFD, check
BSF_DYNAMIC on the section symbol to see whether the old BFD is
dynamic.
Jason Molenda [Mon, 16 Aug 1999 20:02:19 +0000 (20:02 +0000)]
These files removed in the 1999-08-16 snapshot.
Jason Molenda [Mon, 16 Aug 1999 19:57:19 +0000 (19:57 +0000)]
import gdb-1999-08-16 snapshot
Jason Molenda [Mon, 16 Aug 1999 19:57:19 +0000 (19:57 +0000)]
Initial revision
Mark Mitchell [Sun, 15 Aug 1999 22:56:21 +0000 (22:56 +0000)]
* elf32-mips.c (mips_elf_calculate_relocation): Fix unfortunate
coincidence of variable names between old and new code.
Nick Clifton [Thu, 12 Aug 1999 08:37:15 +0000 (08:37 +0000)]
Fix interworking problems.
Jeff Law [Wed, 11 Aug 1999 18:15:39 +0000 (18:15 +0000)]
Fix typo.
Nick Clifton [Wed, 11 Aug 1999 10:56:35 +0000 (10:56 +0000)]
Check for overflow on R_ARM_PC24 relocs.
Jeff Law [Wed, 11 Aug 1999 09:30:20 +0000 (09:30 +0000)]
* elf-hppa.h (elf_hppa_fake_sections): New function.
* elf32-hppa.c (elf_backend_fake_sections): Define.
Nick Clifton [Wed, 11 Aug 1999 08:57:44 +0000 (08:57 +0000)]
remove bigus code.
Jeff Law [Tue, 10 Aug 1999 19:19:22 +0000 (19:19 +0000)]
* elf-hppa.h (elf_hppa_final_write_processing): Update for
recent changes to the arch_info structure.
Jeff Law [Tue, 10 Aug 1999 18:51:53 +0000 (18:51 +0000)]
* elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle
R_HPPA_SEGBASE and R_HPPA_SEGREL32.
* cpu-hppa.c (bfd_hppa20w_arch): New entry in architecture info
list.
Ian Lance Taylor [Tue, 10 Aug 1999 15:02:41 +0000 (15:02 +0000)]
From Wally Iimura <iimura@microunity.com>:
* dis-buf.c (buffer_read_memory): Rewrite expression to avoid
overflow at end of address space.
(generic_print_address): Use sprintf_vma.
Mark Mitchell [Tue, 10 Aug 1999 06:43:11 +0000 (06:43 +0000)]
* elf32-mips.c (_bfd_mips_elf_size_dynamic_sections): Always
output DT_MIPS_GOTSYM.
(_bfd_mips_elf_finish_dynamic_sections): Use the same value as
DT_MIPS_SYMTABNO if there are no global GOT symbols.
Mark Mitchell [Tue, 10 Aug 1999 06:27:48 +0000 (06:27 +0000)]
* elf32-mips.c (mips_elf_create_dynamic_relocation): Change
prototype. Handle local symbols. Add commentary.
(mips_elf_calculate_relocation): Adjust accordingly.
(_bfd_mips_elf_check_relocs): Handle local symbols in R_MIPS_32
relocations.
Mark Mitchell [Tue, 10 Aug 1999 06:22:57 +0000 (06:22 +0000)]
* elflink.h (elf_bfd_final_link): Tweak last change.
Mark Mitchell [Tue, 10 Aug 1999 03:36:28 +0000 (03:36 +0000)]
* elflink.h (elf_link_size_reloc_section): Use the counts in the
elf-section data to allocate just the right amount of relocation
space. Don't allocate the hash space twice.
(elf_bfd_final_link): Calculate the amount of space to allocate in
each relocation section.
Ian Lance Taylor [Tue, 10 Aug 1999 03:33:09 +0000 (03:33 +0000)]
* Makefile.in (LDFLAGS): Define.
Jeff Law [Mon, 9 Aug 1999 23:47:04 +0000 (23:47 +0000)]
* elf-hppa.h (_bfd_elf_hppa_gen_reloc_type, case 32): When in
64bit mode, generate a section relative relocation for a 32bit
wide relocation.
(elf_hppa_is_local_label_name): New function.
* elf32-hppa.c (elf_hppa_is_local_label_name): Deleted. To be
shared between 32bit and 64bit port.
Mark Mitchell [Mon, 9 Aug 1999 22:45:39 +0000 (22:45 +0000)]
* elf32-mips.c (elf_mips_howto_table): Fix src_mask for
R_MIPS_GOT16 and R_MIPS_CALL16.
(mips_elf_got16_entry): Use mips_elf_high to calculate the value
to use wheen looking for a preexisting GOT entry.
Jason Molenda [Mon, 9 Aug 1999 21:36:23 +0000 (21:36 +0000)]
import gdb-1999-08-09 snapshot
Jason Molenda [Mon, 9 Aug 1999 21:34:20 +0000 (21:34 +0000)]
Initial revision