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:50:00 +0000 (08:50 +0000)]
* gas/hppa/basic/basic.exp:
* gas/hppa/basic/media.s: Add test cases for new instructions.
Jeff Law [Sat, 28 Aug 1999 08:48:40 +0000 (08:48 +0000)]
* config/tc-hppa.c (pa_ip): Add completer codes 'a', 'ch', 'cH',
'cS', and 'c*'.
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:16:30 +0000 (08:16 +0000)]
* config/tc-hppa.c (pa_ip): Place completers behind prefix 'c'.
Nick Clifton [Sat, 28 Aug 1999 08:13:43 +0000 (08:13 +0000)]
Applied patch from Stephane Carrez <stcarrez@worldnet.fr> to fix pointer size assumption.
Jeff Law [Sat, 28 Aug 1999 08:02:52 +0000 (08:02 +0000)]
Fix minor goofs in previous delta.
Jeff Law [Sat, 28 Aug 1999 08:00:27 +0000 (08:00 +0000)]
Add missing '!' change.
Jeff Law [Sat, 28 Aug 1999 07:23:42 +0000 (07:23 +0000)]
* config/tc-hppa.c (pa_ip): Do not allow '*' in 32bit completers.
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:44:31 +0000 (06:44 +0000)]
* gas/hppa/basic/basic.exp (do_branch2,do_media): New.
* gas/hppa/basic/branch2.s: New.
* gas/hppa/basic/media.s: New.
Jeff Law [Sat, 28 Aug 1999 06:42:06 +0000 (06:42 +0000)]
* config/tc-hppa.c (pa_ip): 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:28:21 +0000 (06:28 +0000)]
* config/tc-hppa.c (pa_ip): Add case for 'I'.
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'.
Jeff Law [Sat, 28 Aug 1999 06:26:22 +0000 (06:26 +0000)]
* binutils-all/hppa/freg.s: New file.
* binutils-all/hppa/objdump.exp: Add freg.s test.
Jeff Law [Sat, 28 Aug 1999 06:18:40 +0000 (06:18 +0000)]
* gas/testsuite/gas/hppa/basic/basic.exp (do_fp_comp2): New.
* gas/testsuite/gas/hppa/basic/fp_comp2.s: New.
Nick Clifton [Fri, 27 Aug 1999 10:42:58 +0000 (10:42 +0000)]
Do not build ld for native AIX platforms.
Nick Clifton [Fri, 27 Aug 1999 10:34:58 +0000 (10:34 +0000)]
Patch from Jim Wilson - more bug fixes for line table decoding.
Nick Clifton [Fri, 27 Aug 1999 09:03:18 +0000 (09:03 +0000)]
Apply Jim Wilson's patch to track current frag for line number changes.
Nick Clifton [Fri, 27 Aug 1999 08:45:02 +0000 (08:45 +0000)]
(display_debug_lines, case DW_LNS_const_add_pc): Multiply adv by info.li_min_insn_length.
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.
Richard Henderson [Thu, 26 Aug 1999 18:25:20 +0000 (18:25 +0000)]
* readelf.c (get_sparc64_dynamic_type): New function.
(get_dynamic_type): Use it.
Nick Clifton [Thu, 26 Aug 1999 12:13:01 +0000 (12:13 +0000)]
This makes the line number info for the end of a function match what the
standard specifies. The current code could confuse a debugger.
Nick Clifton [Thu, 26 Aug 1999 11:11:43 +0000 (11:11 +0000)]
Applied patch from Jim Wilson to fix several bugs in line table generation.
Nick Clifton [Thu, 26 Aug 1999 10:53:40 +0000 (10:53 +0000)]
(display_debug_lines, case default): Change second line setting adv to use = not +=
Nick Clifton [Wed, 25 Aug 1999 13:46:28 +0000 (13:46 +0000)]
Patch from Philip Blundell <pb@nexus.co.uk>: Define __end__
Nick Clifton [Tue, 24 Aug 1999 15:17:23 +0000 (15:17 +0000)]
Patch from Roland McGrath <roland@baalperazim.frob.com>
Add arm-netbsd target.
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
Nick Clifton [Mon, 23 Aug 1999 09:13:56 +0000 (09:13 +0000)]
Implement --base-file command line switch.
Nick Clifton [Mon, 23 Aug 1999 09:07:45 +0000 (09:07 +0000)]
Add ability for individual targets to have their own command line switches by
defining PARSE_AND_LIST_ARGS.
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...
Alan Modra [Fri, 20 Aug 1999 11:59:19 +0000 (11:59 +0000)]
*gas/config/tc-i386.c: Fix errors in displacement size when
automatically inferring an address prefex.
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:11:30 +0000 (13:11 +0000)]
extend comment.
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.
Andreas Schwab [Thu, 19 Aug 1999 07:34:07 +0000 (07:34 +0000)]
* configure.host: Use ${CC} instead of gcc for finding compiler
related files.
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.
Nick Clifton [Wed, 18 Aug 1999 14:52:59 +0000 (14:52 +0000)]
only emit -mthumb-interowrk directive if really necessary.
Nick Clifton [Wed, 18 Aug 1999 09:12:11 +0000 (09:12 +0000)]
If an offset is invalid, display it.
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 18:26:49 +0000 (18:26 +0000)]
* config/tc-ppc.c (md_assemble): Trim @ha constant to 16 bits, to
handle 0xffffNNNN constants correctly.
Ian Lance Taylor [Tue, 17 Aug 1999 07:59:00 +0000 (07:59 +0000)]
1999-08-17 H.J. Lu <hjl@gnu.org>
* gas/elf/elf.exp: Expected to fail on alpha*-*-*.
Ian Lance Taylor [Tue, 17 Aug 1999 07:56:29 +0000 (07:56 +0000)]
1999-08-17 H.J. Lu <hjl@gnu.org>
* ld-cdtest/cdtest-foo.cc (Foo::init_foo): Use "%ld" for sizeof.
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:18 +0000 (19:57 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
Jason Molenda [Mon, 16 Aug 1999 19:57:18 +0000 (19:57 +0000)]
import gdb-1999-08-16 snapshot
Jason Molenda [Mon, 16 Aug 1999 19:54:17 +0000 (19:54 +0000)]
import gdb-1999-08-16 snapshot
Nick Clifton [Mon, 16 Aug 1999 17:47:29 +0000 (17:47 +0000)]
Look for register conflicts on stores as well as loads.
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 [Fri, 13 Aug 1999 08:38:20 +0000 (08:38 +0000)]
Only pass positive values to validate_offset_imm()
Nick Clifton [Thu, 12 Aug 1999 10:32:42 +0000 (10:32 +0000)]
Tidy up formatting.
Fix Thubm weak function support.
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.
Alan Modra [Wed, 11 Aug 1999 14:10:07 +0000 (14:10 +0000)]
config/tc-i386.c: Remove dead code
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:41:28 +0000 (09:41 +0000)]
* config/tc-hppa.c (pa_build_unwind_subspace): Use sane section
flags for the unwind subspace.
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 09:21:38 +0000 (09:21 +0000)]
Fix typo in defintion of OUTPUT_FORMAT.
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 19:09:43 +0000 (19:09 +0000)]
Fix typos in last change.
Jeff Law [Tue, 10 Aug 1999 19:02:30 +0000 (19:02 +0000)]
* config/tc-hppa.c (UNWIND_SECTION_NAME): Define for ELF.
(pa_build_unwind_subspace): Remove #if 0 wrapper. Select a
suitable relocation based on the size of the target's pointer.
Always Use subsegment zero for the unwinders.
(pa_level): Handle "2.0w".
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.
Ian Lance Taylor [Tue, 10 Aug 1999 03:07:46 +0000 (03:07 +0000)]
1999-08-09 Mark Elbrecht <snowball3@bigfoot.com>
* scripttempl/i386go32.sc: Handle g++ exception sections.
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
Ian Lance Taylor [Mon, 9 Aug 1999 20:22:04 +0000 (20:22 +0000)]
rebuild with patched automake
Jason Molenda [Mon, 9 Aug 1999 19:26:28 +0000 (19:26 +0000)]
1999-08-09 Jason Molenda (jsm@bugshack.cygnus.com)
* README-gdb, gdb/testsuite/gdb.c++/ref-types2.cc,
gdb/testsuite/gdb.c++/ref-types2.exp, readline/MANIFEST.doc,
readline/doc/inc-hist.texi: Removed in the 1999-08-02 snapshot.
Joern Rennecke [Mon, 9 Aug 1999 19:04:27 +0000 (19:04 +0000)]
* config/tc-d30v.c (write_2_short): Don't group repeat instructions
with the following instruction unless this was specified.
Nick Clifton [Mon, 9 Aug 1999 17:16:23 +0000 (17:16 +0000)]
Hans-Peter Nilsson <hp@bitrange.com>
* readelf.c (process_abbrev_section): Handle standard-conforming
single zero at the end of the section.
Ian Lance Taylor [Mon, 9 Aug 1999 15:07:32 +0000 (15:07 +0000)]
1999-08-09 Jakub Jelinek <jj@ultra.linux.cz>
* elf64-sparc.c (sparc64_elf_relocate_section): Back out part of
the Sep. 4th, 1998 change. glibc 2.0.x dynamic linker had bug,
not binutils.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
Ian Lance Taylor [Mon, 9 Aug 1999 14:49:32 +0000 (14:49 +0000)]
1999-08-09 Jakub Jelinek <jj@ultra.linux.cz>
* ld-elfvers/vers.exp: Run tests on sparc*-*-linux*.
* ld-shared/shared.exp: Likewise.
Ian Lance Taylor [Mon, 9 Aug 1999 06:14:09 +0000 (06:14 +0000)]
From Wally Iimura <iimura@microunity.com>:
* ldlang.c (lang_size_sections): When checking whether an address
is within a region, don't get confused by wrapping around at the
end of the address space.
Ian Lance Taylor [Mon, 9 Aug 1999 05:42:31 +0000 (05:42 +0000)]
1999-08-09 Geoff Keating <geoffk@cygnus.com>
* elflink.h (elf_link_output_extsym): Don't output a weak
reference to an undefined symbol just because it was defined weak
in a shared object.
Ian Lance Taylor [Mon, 9 Aug 1999 05:23:29 +0000 (05:23 +0000)]
* objdump.c (exit_status): New static variable.
(nonfatal): New static function.
(disassemble_data): Set exit_status on error.
(read_section_stabs): Likewise.
(display_bfd): Likewise. Call nonfatal rather than bfd_nonfatal.
(display_file): Call nonfatal rather than bfd_nonfatal.
(display_target_list, display_info_table): Likewise.
(main): Return exit_status rather than 0.
Ian Lance Taylor [Mon, 9 Aug 1999 04:42:15 +0000 (04:42 +0000)]
* config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4 for
certain sections, to match BFD changes.
Ian Lance Taylor [Mon, 9 Aug 1999 04:41:00 +0000 (04:41 +0000)]
* gas/i386/float.s, gas/i386/float.l: Modify to work correctly
when gas uses 2**4 alignment for .text.
* gas/i386/general.s, gas/i386/general.l: Likewise.
* gas/i386/katmai.s, gas/i386/katmai.d: Likewise.
* gas/i386/modrm.s, gas/i386/modrm.l: Likewise.
* gas/i386/prefix.s, gas/i386/prefix.d: Likewise.