Jason Molenda [Wed, 17 Nov 1999 02:34:36 +0000 (02:34 +0000)]
1999-11-16 Jason Molenda (jsm@bugshack.cygnus.com)
* gdb.base/compiler.c gdb.base/dollar.exp gdb.c++/compiler.cc: Files
removed in gdb-1999-11-16 snapshot.
Jason Molenda [Wed, 17 Nov 1999 02:31:06 +0000 (02:31 +0000)]
import gdb-1999-11-16 snapshot
Alan Modra [Tue, 16 Nov 1999 12:27:25 +0000 (12:27 +0000)]
* config/tc-i386.c (i386_immediate): Disallow O_big immediates.
(i386_displacement): Disallow O_big displacements.
Donald Lindsay [Tue, 16 Nov 1999 04:15:55 +0000 (04:15 +0000)]
tc-arm.c: minor changes and support for upcoming V5E variant.
Donald Lindsay [Tue, 16 Nov 1999 04:14:57 +0000 (04:14 +0000)]
log entry for config/tc-arm.c change
Donald Lindsay [Tue, 16 Nov 1999 03:37:02 +0000 (03:37 +0000)]
Added 'X' format to ARM code.
Gavin Romig-Koch [Mon, 15 Nov 1999 15:47:48 +0000 (15:47 +0000)]
* gas/mips/la.d: Adjust for new la macro expansion.
Change matches for explicit addresses to matches for
any address.
* gas/mips/la-xgot.d: Same.
* gas/mips/la-svr4pic.d: Same.
Gavin Romig-Koch [Mon, 15 Nov 1999 15:34:17 +0000 (15:34 +0000)]
* mips-opc.c (la): Create a version that just uses addiu directly.
(dla): Expand to daddiu if possible.
Nick Clifton [Fri, 12 Nov 1999 15:39:46 +0000 (15:39 +0000)]
fix typo.
Nick Clifton [Fri, 12 Nov 1999 11:02:56 +0000 (11:02 +0000)]
do not look beyond the end of the buffer
Nick Clifton [Thu, 11 Nov 1999 16:35:12 +0000 (16:35 +0000)]
Look for seperator after TO and FROM tokens when exploring nested structures
Michael Meissner [Thu, 11 Nov 1999 12:57:11 +0000 (12:57 +0000)]
Add sim-d10v.h
Nick Clifton [Thu, 11 Nov 1999 11:38:41 +0000 (11:38 +0000)]
Add ssnop pattern.
Ian Lance Taylor [Tue, 9 Nov 1999 19:13:21 +0000 (19:13 +0000)]
* libbfd.c (bfd_read): Check result of read against desired result
using !=, not <.
(_bfd_generic_get_section_contents): Set bfd_error if the seek is
invalid compared to the section size.
Ian Lance Taylor [Tue, 9 Nov 1999 19:11:52 +0000 (19:11 +0000)]
* ieee.c (ieee_slurp_debug): Get the length of the debug
information right if there is no data part.
Andrew Haley [Tue, 9 Nov 1999 17:14:45 +0000 (17:14 +0000)]
1999-11-08 Andrew Haley <aph@cygnus.com>
* app.c (do_scrub_chars): When in State 10, treat backslash
characters in the same way as as symbol characters.
Jason Molenda [Tue, 9 Nov 1999 01:23:30 +0000 (01:23 +0000)]
import gdb-1999-11-08 snapshot
Richard Henderson [Mon, 8 Nov 1999 00:44:52 +0000 (00:44 +0000)]
* config/tc-alpha.c (alpha_align): Check, don't assert, that
the previous label was in the current section before playing
with auto-alignment.
Nick Clifton [Sat, 6 Nov 1999 14:05:24 +0000 (14:05 +0000)]
Do not attempt to fixup relocs relative to weak symbols
Michael Meissner [Fri, 5 Nov 1999 21:50:54 +0000 (21:50 +0000)]
Add more md operators
Jeff Law [Thu, 4 Nov 1999 06:45:07 +0000 (06:45 +0000)]
Wed Nov 3 23:31:19 1999 Jeffrey A Law (law@cygnus.com)
* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
Clean up code to use EXTRA_SHLIB_EXTENSION.
1999-09-14 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Define EXTRA_SHLIB_EXTENSION to ".sl" for HP target.
* config.in: Add EXTRA_SHLIB_EXTENSION.
* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
Search for second shared lib extension only if EXTRA_SHLIB_EXTENSION
is defined.
Ian Lance Taylor [Wed, 3 Nov 1999 22:14:47 +0000 (22:14 +0000)]
* read.c (pseudo_set): Reject attempts to set the value of a
section symbol.
Ian Lance Taylor [Wed, 3 Nov 1999 22:13:33 +0000 (22:13 +0000)]
* config/obj-elf.c (obj_elf_ident): Call md_flush_pending_output
if it is defined.
* config/obj-elf.c (elf_set_index): Add ATTRIBUTE_UNUSED.
* config/obj-elf.c (elf_frob_file_after_relocs): Don't pass NULL
to bfd_set_section_contents.
Nick Clifton [Wed, 3 Nov 1999 18:19:22 +0000 (18:19 +0000)]
Change the default endianness to little.
Nick Clifton [Wed, 3 Nov 1999 18:16:52 +0000 (18:16 +0000)]
Chnage the default endianness for mcore to little
Nick Clifton [Wed, 3 Nov 1999 10:56:31 +0000 (10:56 +0000)]
clip shorts to prevent assembler warnings
Jeff Law [Tue, 2 Nov 1999 08:46:25 +0000 (08:46 +0000)]
* som.c (som_fixup_formats): Improve handling of R_AUX_UNWIND,
R_LINETAB, R_LINETAB_ESC, and R_COMMENT.
Jason Molenda [Tue, 2 Nov 1999 04:52:48 +0000 (04:52 +0000)]
These files removed in gdb-
19991101 snapshot.
Jason Molenda [Tue, 2 Nov 1999 04:44:47 +0000 (04:44 +0000)]
import gdb-1999-11-01 snapshot
Ian Lance Taylor [Mon, 1 Nov 1999 23:37:48 +0000 (23:37 +0000)]
1999-11-01 Steve Chamberlain <sac@pobox.com>
* ldlang.c (section_already_linked): Rework to use hash table.
(already_linked_newfunc): New function.
(already_linked_table_init): New function.
(already_linked_table_free): New function.
(lang_process): Initialize and free the already_linked hash table.
Gavin Romig-Koch [Mon, 1 Nov 1999 19:29:55 +0000 (19:29 +0000)]
For include/opcode:
* mips.h (OPCODE_IS_MEMBER): New.
For gas:
* config/tc-mips.c (macro_build): Use OPCODE_IS_MEMBER.
(mips_ip): Use OPCODE_IS_MEMBER.
For opcodes:
* mips-dis.c (_print_insn_mips): Use OPCODE_IS_MEMBER.
Nick Clifton [Mon, 1 Nov 1999 17:12:11 +0000 (17:12 +0000)]
expect thumb-pe and thumb-coff failures
Nick Clifton [Mon, 1 Nov 1999 17:10:27 +0000 (17:10 +0000)]
fixes for arm-aout....
Nick Clifton [Mon, 1 Nov 1999 16:48:05 +0000 (16:48 +0000)]
Expect arm-pe and arm-coff failure of the simple objcopy test
Nick Clifton [Mon, 1 Nov 1999 16:42:16 +0000 (16:42 +0000)]
Fix test results for arm-pe toolchain
Nick Clifton [Mon, 1 Nov 1999 16:29:06 +0000 (16:29 +0000)]
Fixed test to disable these checks if the target is PE based.
Catherine Moore [Fri, 29 Oct 1999 15:32:19 +0000 (15:32 +0000)]
*** empty log message ***
Catherine Moore [Fri, 29 Oct 1999 15:31:54 +0000 (15:31 +0000)]
Remove test6.
Nick Clifton [Fri, 29 Oct 1999 09:49:04 +0000 (09:49 +0000)]
Define SHORT_AR (fix for CR: 101340)
Nick Clifton [Fri, 29 Oct 1999 09:48:23 +0000 (09:48 +0000)]
oops - omitted from previous delta
Nick Clifton [Fri, 29 Oct 1999 09:47:52 +0000 (09:47 +0000)]
Define SHORT_AR and use for MVTACC (fix for CR: 101340)
Nick Clifton [Thu, 28 Oct 1999 16:22:48 +0000 (16:22 +0000)]
Fix testsuite failures for arm -linux
Nick Clifton [Thu, 28 Oct 1999 09:05:19 +0000 (09:05 +0000)]
fix typo in previous delta
Ian Lance Taylor [Thu, 28 Oct 1999 04:08:57 +0000 (04:08 +0000)]
* elflink.h (elf_bfd_final_link): Make last_local signed.
Ian Lance Taylor [Thu, 28 Oct 1999 03:52:01 +0000 (03:52 +0000)]
* stabs.c (_bfd_link_section_stabs): Make sure .stabstr section
starts with a zero.
Ian Lance Taylor [Thu, 28 Oct 1999 03:42:49 +0000 (03:42 +0000)]
1999-10-27 Andreas Jaeger <aj@suse.de>
* ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
target "mips*-*-linux-gnu*".
Ian Lance Taylor [Thu, 28 Oct 1999 03:30:13 +0000 (03:30 +0000)]
1999-10-27 Fred Fish <fnf@cygnus.com>
* objdump.c (display_bfd): Break into two functions. The
actual dumping code moves to dump_bfd. If bfd is not
unambiguously recognized as a bfd_object, attempt to dump
it as a bfd_core.
(dump_bfd): New function.
Jeff Law [Thu, 28 Oct 1999 03:03:53 +0000 (03:03 +0000)]
* config/tc-arm.c (reg_required_here): Improve comments.
Jeff Law [Thu, 28 Oct 1999 02:53:42 +0000 (02:53 +0000)]
* config/tc-arm.c (thumb_opcode): Add "variants" field.
(tinsns): Initialize variants field.
Jeff Law [Wed, 27 Oct 1999 22:52:35 +0000 (22:52 +0000)]
* tc-arm.c (bad_args, bad_pc): Renamed to BAD_ARGS and BAD_PC
respectively.
Nick Clifton [Wed, 27 Oct 1999 18:14:17 +0000 (18:14 +0000)]
fix compile time warnings.
Nick Clifton [Wed, 27 Oct 1999 18:13:28 +0000 (18:13 +0000)]
fix compile time warnings
Nick Clifton [Tue, 26 Oct 1999 12:13:20 +0000 (12:13 +0000)]
Remove extraneous underscore from prototype
Nick Clifton [Tue, 26 Oct 1999 10:10:51 +0000 (10:10 +0000)]
Remove spurious test of exp_name
Jason Molenda [Tue, 26 Oct 1999 03:43:48 +0000 (03:43 +0000)]
import gdb-1999-10-25 snapshot
Nick Clifton [Mon, 25 Oct 1999 16:48:26 +0000 (16:48 +0000)]
revert part of previous delta which had accidentally snarfed some experimental
code.
Nick Clifton [Mon, 25 Oct 1999 16:30:37 +0000 (16:30 +0000)]
revert previous delta
Nick Clifton [Mon, 25 Oct 1999 15:28:44 +0000 (15:28 +0000)]
Apply patch supplied for case 102229 to implement new insns psrclr and psrset.
Nick Clifton [Mon, 25 Oct 1999 15:27:51 +0000 (15:27 +0000)]
oops - omitted from previous delta
Michael Meissner [Mon, 25 Oct 1999 13:57:39 +0000 (13:57 +0000)]
D10V patches from Cagney
Nick Clifton [Fri, 22 Oct 1999 15:50:28 +0000 (15:50 +0000)]
Add default assembler switchhes on a per machine basis.
Use machine target type when opening output bfd files.
Diego Novillo [Thu, 21 Oct 1999 13:49:38 +0000 (13:49 +0000)]
* tc_d10v.c (find_opcode): Allow ATSIGN to match expressions of the
form @abs16, @(abs16) and @(abs16 + imm).
Gavin Romig-Koch [Thu, 21 Oct 1999 13:23:31 +0000 (13:23 +0000)]
* config/tc-mips.c (ISA_HAS_COPROC_DELAYS) : New.
(ISA_HAS_64_BIT_REGS) New.
(gpr_interlocks,md_begin,reg_needs_delay,append_insn,
mips_emit_delays,macro_build,load_register,load_addresss,
macro,macro2,mips_ip,s_cprestore,s_cpadd): Simplify
and/or use new ISA_xxx macros in expressions involving
ISA, particularly mips_opts.isa.
Nick Clifton [Thu, 21 Oct 1999 10:44:39 +0000 (10:44 +0000)]
Fix assembler testsuite for ARM
Stan Shebs [Tue, 19 Oct 1999 17:26:54 +0000 (17:26 +0000)]
Remove generated parsers, expect bison to be present
Jason Molenda [Tue, 19 Oct 1999 02:47:02 +0000 (02:47 +0000)]
import gdb-1999-10-18 snapshot
Michael Meissner [Mon, 18 Oct 1999 22:29:15 +0000 (22:29 +0000)]
Add md expression support; Cleanup alpha warnings
Andrew Haley [Mon, 18 Oct 1999 12:45:21 +0000 (12:45 +0000)]
1999-10-15 Andrew Haley <aph@cygnus.com>
* dwarf1.c (parse_die): Fail to parse a die if its length is zero.
Jeff Law [Sun, 17 Oct 1999 23:41:19 +0000 (23:41 +0000)]
Fix typo in last change.
Jeff Law [Sun, 17 Oct 1999 23:21:41 +0000 (23:21 +0000)]
* libhppa.h (bfd_hppa_insn2fmt): Change to return an int.
Jeff Law [Sun, 17 Oct 1999 23:19:13 +0000 (23:19 +0000)]
* config/tc-hppa.c (md_apply_fix): Make "fmt" an int.
Ian Lance Taylor [Fri, 15 Oct 1999 16:50:47 +0000 (16:50 +0000)]
* ar.c (normalize): Fix full_pathname code.
Alan Modra [Tue, 12 Oct 1999 11:07:34 +0000 (11:07 +0000)]
Nit fix.
Jeff Law [Tue, 12 Oct 1999 04:48:23 +0000 (04:48 +0000)]
* hppa.h (PF_HP_PAGE_SIZE): Define.
(PF_HP_FAR_SHARED, PF_HP_NEAR_SHARED, PF_HP_CODE): Likewise.
(PF_HP_MODIFY, PF_HP_LAZYSWAP, PF_HP_SBP): Likewise.
Jason Molenda [Tue, 12 Oct 1999 04:37:53 +0000 (04:37 +0000)]
import gdb-1999-10-11 snapshot
Jason Molenda [Tue, 12 Oct 1999 04:37:25 +0000 (04:37 +0000)]
import gdb-1999-10-11 snapshot
Geoffrey Keating [Mon, 11 Oct 1999 04:10:04 +0000 (04:10 +0000)]
Added note about --fatal-warnings option.
Geoffrey Keating [Mon, 11 Oct 1999 04:07:10 +0000 (04:07 +0000)]
* as.c (show_usage): Document new options.
(parse_args): Add --no-warn, --warn, --fatal-warnings,
which become 'W', OPTION_WARN, and OPTION_WARN_FATAL.
(parse_args): Parse the new options.
(main): If there were warnings, and --fatal-warnings
was specified, print an error.
* as.h: New variable, flag_fatal_warnings, for new option.
Geoffrey Keating [Mon, 11 Oct 1999 03:40:17 +0000 (03:40 +0000)]
* lib/gas-defs.exp (regexp_diff): Allow '#...' to mean "some
indeterminate number of extra lines here".
* gas/elf/elf.exp: Remove XFAILs.
* gas/elf/section0.d: Make pass on MIPS (and hopefully alpha).
* gas/elf/section1.d: Likewise.
Jeff Law [Sun, 10 Oct 1999 07:58:37 +0000 (07:58 +0000)]
* hppa-dis.c (print_insn_hppa): Add new codes 'cc', 'cd', 'cC',
'co', '@'.
* hppa-dis.c (print_insn_hppa): Removed unused args. Fix '?W'.
* hppa-dis.c (print_insn_hppa): Implement codes "?N", "?Q".
Jeff Law [Sun, 10 Oct 1999 07:57:30 +0000 (07:57 +0000)]
* config/tc-hppa.c (pa_ip): Add new codes 'cc', 'cd', 'cC', 'co',
'@'. Change autoincrement completers to fall through to cache control
completers.
* config/tc-hppa.c (pa_ip): Remove unused args. Add code to '?W'
arg.
(pa_parse_addb_64_cmpltr): New function.
* config/tc-hppa.c (pa_ip): Change error message.
(pa_ip,pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr) Fix '?N' and
'?Q' args to allow falling through.
* config/tc-hppa.c (pa_ip): Implement conditional codes "?N", "?Q".
Remove unused conditional codes.
(pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr): New.
Jeff Law [Sun, 10 Oct 1999 07:55:25 +0000 (07:55 +0000)]
* hppa.h (pa_opcodes): Add load and store cache control to
instructions. Add ordered access load and store.
* hppa.h (pa_opcode): Add new entries for addb and addib.
* hppa.h (pa_opcodes): Fix cmpb and cmpib entries.
* hppa.h (pa_opcodes): Add entries for cmpb and cmpib.
Ian Lance Taylor [Fri, 8 Oct 1999 15:21:56 +0000 (15:21 +0000)]
* elflink.h (elf_merge_symbol): When overriding a weak symbol with
a defined symbol in a shared library, clear the DEF_DYNAMIC flag
too.
Ian Lance Taylor [Fri, 8 Oct 1999 13:56:33 +0000 (13:56 +0000)]
1999-10-08 Ben Elliston <bje@cygnus.com>
* binutils.texi: Some rewording and clarifications.
Geoffrey Keating [Fri, 8 Oct 1999 03:07:07 +0000 (03:07 +0000)]
* elf32-mips.c (mips_elf_calculate_relocation): R_MIPS_LITERAL
relocs also need the GP value.
(_bfd_mips_elf_relocate_section): Handle unpaired LO16 relocs
properly. Handle sign-extension for R_MIPS_64 correctly. Correct
the GP value for R_MIPS_LITERAL relocs too. Handle
R_MIPS_64 relocs properly on big-endian MIPS.
(mips_elf_sign_extend): Behave properly with 'long long'.
(mips_elf_highest): Correct typo.
Diego Novillo [Thu, 7 Oct 1999 06:26:25 +0000 (06:26 +0000)]
* config/tc-d30v.c (CHAR_BIT): Define.
(check_range): Fix bit operations to support integers
bigger than 32 bits.
Diego Novillo [Thu, 7 Oct 1999 06:19:24 +0000 (06:19 +0000)]
Forgot to add these files in the previous commit. This is the
testsuite for the new instructions added to d10v gas.
Diego Novillo [Thu, 7 Oct 1999 06:17:04 +0000 (06:17 +0000)]
Added seven new instructions ld, ld2w, sac, sachi, slae, st and
st2w for d10v. Created new testsuite for d10v to verify new
instructions.
Geoffrey Keating [Thu, 7 Oct 1999 02:57:33 +0000 (02:57 +0000)]
* gas/mips/elf-rel.s: New file.
* gas/mips/elf-rel.d: New file.
* gas/mips/elf-rel2.d: New file.
* gas/mips/e32-rel2.d: New file.
* gas/mips/elf-rel2.s: New file.
* gas/mips/mips.exp: Add elf-rel, elf-rel2.
* gas/mips/elf_e_flags1.d: Tweak a little so it passes
even if the CPU is set to something by default.
Geoffrey Keating [Thu, 7 Oct 1999 02:19:45 +0000 (02:19 +0000)]
* scripttempl/elf.sc (.rel.sdata): Combine all the sdata relocs
being .rel.sdata, .rel.sdata.*, .rel.gnu.linkonce.s*.
(.rela.sdata): Likewise for .rela.sdata.* and .rela.gnu.linkonce.s*.
(.rel.sbss): Make like .rel.bss.
(.rela.sbss): Make like .rel.bss.
(.sdata): Don't include .gnu.linkonce.s.* or .sdata.* when
ld -r.
(.sbss): Do the same things as for .bss: include SDATA_START_SYMBOLS,
.dynsbss.
Jason Molenda [Tue, 5 Oct 1999 23:13:56 +0000 (23:13 +0000)]
import gdb-1999-10-04 snapshot
Jason Molenda [Tue, 5 Oct 1999 23:09:03 +0000 (23:09 +0000)]
import gdb-1999-10-04 snapshot
Doug Evans [Tue, 5 Oct 1999 01:27:35 +0000 (01:27 +0000)]
* gas/m32r/error.exp: New testcase driver.
* gas/m32r/m32rx.exp: New testcase driver.
* gas/m32r/fslotx.[sd]: New testcase.
* gas/m32r/m32rx.[sd]: New testcase.
* gas/m32r/relax-s.[sd]: New testcase.
* gas/m32r/interfere.s: New testcase.
* gas/m32r/wrongsize.s: New testcase.
Doug Evans [Tue, 5 Oct 1999 01:14:20 +0000 (01:14 +0000)]
* archures.c (bfd_mach_m32rx): Define it.
* bfd-in2.h: Rebuild.
Doug Evans [Tue, 5 Oct 1999 00:54:12 +0000 (00:54 +0000)]
* cpu-m32r.c (arch_info_struct): New static global.
(bfd_m32r_arch): Refer to it.
* elf32-m32r.c (m32r_elf_object_p): Recognize E_M32RX_ARCH.
(m32r_elf_print_private_bfd_data): Ditto.
(m32r_elf_final_write_processing): Handle bfd_mach_m32rx.
Doug Evans [Tue, 5 Oct 1999 00:43:14 +0000 (00:43 +0000)]
* m32r.h (E_M32RX_ARCH): Define.
Doug Evans [Tue, 5 Oct 1999 00:41:22 +0000 (00:41 +0000)]
add m32rx docs
Doug Evans [Tue, 5 Oct 1999 00:37:17 +0000 (00:37 +0000)]
Add support for m32rx.
* config/tc-m32r.c (enable_m32rx): New static global.
(enable_special,warn_explicit_parallel_conflicts,optimize): Ditto.
(allow_m32rx): New function.
(M32R_SHORTOPTS): Add `O'.
(md_longopts): Add --m32rx plus several warning options.
(md_parse_option): Handle new options.
(md_show_usage): Print them.
(md_begin): Enable m32rx.
(OPERAND_IS_COND_BIT): New macro.
(first_writes_to_seconds_operands): New function.
(writes_to_pc,can_make_parallel,make_parallel): New functions.
(target_make_parallel,assemble_two_insns): New functions.
(md_assemble): Recognize "insn1 -> insn2" and "insn1 || insn2".
If optimizing and m32rx, try to make consecutive insns parallel.
Doug Evans [Tue, 5 Oct 1999 00:05:52 +0000 (00:05 +0000)]
* fr30-asm.c,fr30-desc.h: Rebuild.
* m32r-asm.c,m32r-desc.c,m32r-desc.h: Rebuild. Add m32rx support.
* m32r-dis.c,m32r-ibld.c,m32r-opc.c,m32r-opc.h,m32r-opinst.c: Ditto.
Ulrich Drepper [Mon, 4 Oct 1999 18:59:13 +0000 (18:59 +0000)]
1999-09-15 Ulrich Drepper <drepper@cygnus.com>
* readelf.c (dynamic_segment_parisc_val): Print 0 for DLD_FLAGS if
the value is zero.
(process_symbol_table): Don't print histogram if hash table is empty.
1999-09-15 Ulrich Drepper <drepper@cygnus.com>
* readelf.c (get_parisc_dynamic_type): Handle DT_HP_GST_* values.
1999-09-02 Ulrich Drepper <drepper@cygnus.com>
* readelf.c (get_symbol_type): Add support for HPUX and PARISC
specific symbol types.
* readelf.c: Add HPUX and PARISC extensions to dynamic and program
header table printing.
* readelf.c (get_machine_flags): Add handling of PARISC.