OSDN Git Service
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.
Doug Evans [Sun, 29 Aug 1999 20:45:22 +0000 (20:45 +0000)]
* config/tc-m32r.c (md_parse_option): Delete unrecognized option
error message (done elsewhere).
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:52:32 +0000 (07:52 +0000)]
* config/tc-hppa.c (pa_ip): 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 11:00:36 +0000 (11:00 +0000)]
* gas/hppa/basic/basic.exp: Add new tests shift2.s,
shift3.s, extract2.s, extract3.s, deposit2.s, and deposit3.s.
* gas/hppa/basic/shift2.s, shift3.s, extract2.s,
extract3.s, deposit2.s, deposit3.s: New.
Jeff Law [Sat, 28 Aug 1999 10:59:37 +0000 (10:59 +0000)]
* config/tc-hppa.c (pa_ip): Add args q, %, and |.
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:32:43 +0000 (10:32 +0000)]
* gas/hppa/basic/add.s,addi.s,dcor.s,shladd.s,sub.s,subi.s,unit.s:
Add new syntax versions of instructions to tests.
* gas/hppa/basic/add2.s,dcor2.s,perf.s,purge2.s,shladd2.s,sub2.s,
system2.s, unit2.s: New tests.
* hppa/basic/basic.exp: Add new tests.
Jeff Law [Sat, 28 Aug 1999 10:18:12 +0000 (10:18 +0000)]
* config/tc-hppa.c (pa_ip): Absorb white space in instructions
between args.
Add new completers. Fix bug in 64 bit condition handling.
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: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.
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.
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.
Ian Lance Taylor [Mon, 9 Aug 1999 20:22:04 +0000 (20:22 +0000)]
rebuild with patched automake
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.