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.
Jeff Law [Sat, 4 Sep 1999 02:20:41 +0000 (02:20 +0000)]
* emulparams/elf64hppa.sh (MAXPAGESIZE): Define.
(OTHER_READONLY_SECTIONS, DATA_PLT): Likewise.
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:35:35 +0000 (20:35 +0000)]
* emulparams/elf64hppa.sh: New file.
* configure.tgt (hppa*w-*-*): Use elf64hppa emulation.
* Makefile.am (ALL_64_EMULATIONS): Add eelf64hppa.o
(eelf64hppa.c): Add dependencies.
* Makefile.in: Rebuilt.
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.
Alan Modra [Thu, 2 Sep 1999 15:12:01 +0000 (15:12 +0000)]
Enable --emulation={i386coff,i386elf} for i386 gas.
Nick Clifton [Thu, 2 Sep 1999 10:39:18 +0000 (10:39 +0000)]
Do not dump literal pool when a .section .line directive is encountered.
Nick Clifton [Thu, 2 Sep 1999 10:11:11 +0000 (10:11 +0000)]
Add test for strongarm to ScottB's patch.
Catherine Moore [Wed, 1 Sep 1999 21:17:36 +0000 (21:17 +0000)]
* gas/vtable/vtable.exp: Added [istarget "arm*-*-*"] to run dump
test "entry0" instead of "entry1". ARM targets use REL relocs,
and should use the test entry0.
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 [Wed, 1 Sep 1999 16:18:50 +0000 (16:18 +0000)]
fix typo.
Nick Clifton [Wed, 1 Sep 1999 15:32:46 +0000 (15:32 +0000)]
slight code improvement over previous delta
Alan Modra [Wed, 1 Sep 1999 14:57:03 +0000 (14:57 +0000)]
Coff fix for i386 gas testsuite
Nick Clifton [Wed, 1 Sep 1999 10:57:19 +0000 (10:57 +0000)]
Do not align sectins when producing ELF format objects.
Nick Clifton [Wed, 1 Sep 1999 09:28:07 +0000 (09:28 +0000)]
Document new command line switches.
Nick Clifton [Tue, 31 Aug 1999 16:57:37 +0000 (16:57 +0000)]
ooops - omitted from previous delta
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.
Nick Clifton [Tue, 31 Aug 1999 16:54:56 +0000 (16:54 +0000)]
Apply patch from Scott Bambrough to display the contents of a NOTES segment
in a core file.
Ian Lance Taylor [Tue, 31 Aug 1999 15:34:29 +0000 (15:34 +0000)]
* binutils.texi (Bug Reporting): Clarify that large files should
not be sent to bug-gnu-utils.
Ian Lance Taylor [Tue, 31 Aug 1999 15:12:20 +0000 (15:12 +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:06:22 +0000 (01:06 +0000)]
import gdb-1999-08-30 snapshot
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.
Jeff Law [Mon, 30 Aug 1999 21:15:01 +0000 (21:15 +0000)]
* gas/hppa/unsorted/*.s: Use .code instead of .SPACE/.SUBSPA for
sectioning.
* gas/hppa/unsorted/unsorted.exp: Disable tests not appropriate for
PA64.
Jeff Law [Mon, 30 Aug 1999 21:00:59 +0000 (21:00 +0000)]
* gas/hppa/reloc/*.s: Use .code instead of .SPACE/.SUBSPA for
sectioning.
* gas/hppa/parse/parse.exp: Disable tests not appropriate for PA64.
Revamp address expressions slightly to handle an arbitrary sized
address.
Jeff Law [Mon, 30 Aug 1999 20:09:00 +0000 (20:09 +0000)]
* gas/hppa/parse/*.s: Use .code instead of .SPACE/.SUBSPA for
sectioning.
* gas/hppa/parse/parse.exp: Disable tests not appropriate for PA64.
Jeff Law [Mon, 30 Aug 1999 18:20:18 +0000 (18:20 +0000)]
* gas/hppa/basic/*.s: Use .code instead of .SPACE/.SUBSPA for
sectioning.
Alan Modra [Mon, 30 Aug 1999 14:09:43 +0000 (14:09 +0000)]
New i386 tests for naked register syntax, ie. "eax" instead of "%eax"
Alan Modra [Mon, 30 Aug 1999 13:12:54 +0000 (13:12 +0000)]
i386 gas code cleanups: combine i386_is_reg and parse_register.
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.
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.