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.
Ulrich Drepper [Mon, 4 Oct 1999 18:58:41 +0000 (18:58 +0000)]
1999-09-15 Ulrich Drepper <drepper@cygnus.com>
* hppa.h: Add DT_HP_GST_SIZE, DT_HP_GST_VERSION, and DT_HP_GST_HASHVAL.
DJ Delorie [Wed, 29 Sep 1999 17:44:35 +0000 (17:44 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Defer
merging sections when not relocating.
Nick Clifton [Wed, 29 Sep 1999 14:18:05 +0000 (14:18 +0000)]
Fix bit patterns of some load/store instructions to match latest docs.
DJ Delorie [Wed, 29 Sep 1999 00:31:40 +0000 (00:31 +0000)]
* pe-dll.c (process_def_file): Move the offset lookup from here to
(fill_exported_offsets): here. New static function.
(fill_edata): Use.
Jason Molenda [Tue, 28 Sep 1999 21:55:21 +0000 (21:55 +0000)]
import gdb-1999-09-28 snapshot
Richard Henderson [Tue, 28 Sep 1999 21:45:39 +0000 (21:45 +0000)]
Fred Fish <fnf@cygnus.com>
* targets.c (cisco_core_vec): Replaced with two new vecs ...
(cisco_core_big_vec): Add new bigendian vec.
(cisco_core_little_vec): Add new little endian vec.
* cisco-core.c (CRASH_INFO): Fixed offset replaced with ...
(crash_info_locs): Add array of possible offsets.
(MASK_ADDR): Mask to apply to crash info offset.
(crashinfo_external): Add textbase, database, bssbase and
turn into a typedef.
(cisco_core_file_validate): Renamed from cisco_core_file_p.
Many small changes to account for additional hardware versions.
Pick a reasonable size for ".reg" section. Add a ".crash"
section to allow access to crashinfo_external struct.
(cisco_core_file_p): New version of this function that
iterates over crash_info_locs, calling cisco_core_file_validate.
(cisco_core_vec): Old big endian only vec replaced with ...
(cisco_core_big_vec): Add big endian version.
(cisco_core_little_vec): Add little endian version.
* configure.in (cisco_core_vec): Split to two new vectors ...
(cisco_core_big_vec): New target vector.
(cisco_core_little_vec): New target vector.
* configure: Regenerate.
* config.bfd (targ): For m68*-*-aout* targ, change cisco_core_vec
to cisco_core_big_vec in targ_selvecs.
DJ Delorie [Tue, 28 Sep 1999 20:22:55 +0000 (20:22 +0000)]
* deffilep.y (tokens): Add upper and lower case versions of DATA,
CONSTANT, NONAME and PRIVATE tokens.
(command): Use DATAU.
(expline): Allow for drectve syntax as well.
(exp_opt_list): Likewise.
(exp_opt): Likewise.
* pe-dll.c (make_one): Only generate the idata entries for data
symbols.
DJ Delorie [Tue, 28 Sep 1999 20:08:37 +0000 (20:08 +0000)]
* dlltool.c (scan_drectve_symbols): Handle type tags in exported
symbols.
(scan_filtered_symbols): Likewise.
Geoffrey Keating [Tue, 28 Sep 1999 04:16:51 +0000 (04:16 +0000)]
* scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections
in .sdata too.
Geoffrey Keating [Tue, 28 Sep 1999 04:13:25 +0000 (04:13 +0000)]
* config/tc-mips.c (nopic_need_relax): Allow for the
.sdata.foo sections generated by -fdata-sections,
and for the .gnu.linkonce.s sections generated by C++.
Geoffrey Keating [Tue, 28 Sep 1999 04:11:05 +0000 (04:11 +0000)]
* elf32-mips.c (mips_elf_relocate_hi16): Unused, delete.
(mips_elf_relocate_got_local): Unused, delete.
(mips_elf_relocate_global_got): Unused, delete.
Nick Clifton [Sun, 26 Sep 1999 09:37:45 +0000 (09:37 +0000)]
Merge sections named .bss.* into .bss section. Similarly for .sbss.
Richard Henderson [Fri, 24 Sep 1999 17:06:35 +0000 (17:06 +0000)]
Fred Fish <fnf@cygnus.com>
* elf.c (bfd_section_from_phdr): Add typename variable. Use p_type
to initialize it to something meaningful. Then use it to generate
more useful segment names.
Nick Clifton [Fri, 24 Sep 1999 09:03:49 +0000 (09:03 +0000)]
Make sure that sensible values are extracted from a raw header.
Jeff Law [Thu, 23 Sep 1999 16:09:23 +0000 (16:09 +0000)]
Remove accidental case duplication.
Jeff Law [Thu, 23 Sep 1999 15:58:08 +0000 (15:58 +0000)]
Remove accidental case duplication.
Jeff Law [Thu, 23 Sep 1999 15:46:33 +0000 (15:46 +0000)]
Add missing initializer lost in last change.
Jeff Law [Thu, 23 Sep 1999 14:30:31 +0000 (14:30 +0000)]
* config/tc-hppa.c (pa_ip): Replace 'B', 'M', 'l' and 'g' handling
with cleaner code using completer prefixes. Add 'Y'.
Jeff Law [Thu, 23 Sep 1999 14:29:10 +0000 (14:29 +0000)]
* hppa.h (pa_opcodes): Add "call" and "ret". Clean up "b", "bve"
and "be" using completer prefixes.
Jeff Law [Thu, 23 Sep 1999 14:28:25 +0000 (14:28 +0000)]
* hppa-dis.c (print_insn_hppa): Replace 'B', 'M', 'g' and 'l' with
cleaner code using completer prefixes. Add 'Y'.
Jeff Law [Thu, 23 Sep 1999 13:15:29 +0000 (13:15 +0000)]
* config/tc-hppa.c (pa_ip): Add parens to silence compiler.
Jeff Law [Thu, 23 Sep 1999 13:14:33 +0000 (13:14 +0000)]
* hppa.h (pa_opcodes): Add initializers to silence compiler.
Jeff Law [Thu, 23 Sep 1999 13:10:07 +0000 (13:10 +0000)]
* hppa.h: Update comments about character usage.
Jeff Law [Wed, 22 Sep 1999 15:43:26 +0000 (15:43 +0000)]
* config/tc-hppa.c (pa_ip): Avoid ANSI specific initialization.
(pa_ip, case 'm'): Failure to get a CBIT specifier just means the
insn does not match and we should try the next insn in the table.
Nick Clifton [Wed, 22 Sep 1999 09:05:32 +0000 (09:05 +0000)]
Rename MULTI_SET_PSR to LDM_TYPE_2_OR_3
Nick Clifton [Wed, 22 Sep 1999 08:32:06 +0000 (08:32 +0000)]
Add earm_epoc_pe.c build target.
Jason Molenda [Wed, 22 Sep 1999 03:36:42 +0000 (03:36 +0000)]
removed in the 1999-09-21 snapshot.
Jason Molenda [Wed, 22 Sep 1999 03:28:34 +0000 (03:28 +0000)]
import gdb-1999-09-21
Jeff Law [Mon, 20 Sep 1999 10:06:05 +0000 (10:06 +0000)]
* config/tc-hppa.c (pa_ip): Fix thinkos in recent cleanup
of PA2.0 support.
Jeff Law [Mon, 20 Sep 1999 09:57:19 +0000 (09:57 +0000)]
* hppa.h (pa_opcodes): Fix minor thinkos introduced while cleaning
up the new fstw & bve instructions.
Alan Modra [Mon, 20 Sep 1999 08:45:53 +0000 (08:45 +0000)]
Delete bogus R_PCLONG. Tidy R_*.
Ian Lance Taylor [Sun, 19 Sep 1999 23:59:35 +0000 (23:59 +0000)]
* resrc.c (write_rc_rcdata): Fix local variable shadowing
problem. If RCDATA_BUFFER data can be read as strings, modify
code to print the strings as comments.
* resres.c: Add casts to avoid warnings.
(write_res_data, read_res_data): Don't put the program name in the
error message; fatal already puts it there.
Ian Lance Taylor [Sun, 19 Sep 1999 23:03:56 +0000 (23:03 +0000)]
1999-09-19 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* config/tc-i386.c (md_shortopts): Check OBJ_MAYBE_ELF as well as
OBJ_ELF. If ELF, add "sq".
(md_parse_option): If ELF, ignore -s and -q.
(md_show_usage): Mention ELF options.
Ian Lance Taylor [Sun, 19 Sep 1999 22:43:16 +0000 (22:43 +0000)]
fix comment; from Fred Fish <fnf@ninemoons.com>
Ian Lance Taylor [Sun, 19 Sep 1999 22:39:49 +0000 (22:39 +0000)]
comment fix
Jeff Law [Sun, 19 Sep 1999 20:17:48 +0000 (20:17 +0000)]
* hppa-dis.c: (print_insn_hppa): Correct 'cJ', 'cc'.
Jeff Law [Sun, 19 Sep 1999 20:14:30 +0000 (20:14 +0000)]
* hppa-dis.c (extract_22): New function.
Jeff Law [Sun, 19 Sep 1999 20:10:45 +0000 (20:10 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'J', 'K', and 'cc'.
Jeff Law [Sun, 19 Sep 1999 20:07:01 +0000 (20:07 +0000)]
* config/tc-hppa.c (pa_ip): Handle 'J', 'K' and 'cc'
operands.
Jeff Law [Sun, 19 Sep 1999 20:05:00 +0000 (20:05 +0000)]
* hppa.h (pa_opcodes): Add remaining PA2.0 integer load/store
instructions.
Jeff Law [Sun, 19 Sep 1999 19:52:39 +0000 (19:52 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'fe' and 'cJ'.
Jeff Law [Sun, 19 Sep 1999 19:46:52 +0000 (19:46 +0000)]
* config/tc-hppa.c (pa_ip); Handle "fe", and 'cJ'.
Jeff Law [Sun, 19 Sep 1999 19:43:06 +0000 (19:43 +0000)]
* hppa.h (pa_opcodes): Add remaining PA2.0 FP load/store instructions.
Jeff Law [Sun, 19 Sep 1999 19:29:37 +0000 (19:29 +0000)]
* hppa-dis.c (print_insn_hppa): Handle '#', 'd', and 'cq'.
Jeff Law [Sun, 19 Sep 1999 19:23:08 +0000 (19:23 +0000)]
* config/tc-hppa.c (pa_ip): Handle 'd', '#' and 'cq'.
Jeff Law [Sun, 19 Sep 1999 19:19:50 +0000 (19:19 +0000)]
* hppa.h (pa_opcodes): Add long offset double word load/store
instructions.
Jeff Law [Sun, 19 Sep 1999 18:54:23 +0000 (18:54 +0000)]
* hppa.h (pa_opcodes): Add FLAG_STRICT variants of FP loads and
stores.
Jeff Law [Sun, 19 Sep 1999 18:50:17 +0000 (18:50 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'm', 'h', '='.
Jeff Law [Sun, 19 Sep 1999 18:47:37 +0000 (18:47 +0000)]
* config/tc-hppa.c (struct pa_it): New field "trunc".
(pa_ip): Hadnle 'h', 'm', '=', '{', and '_' operands.
(pa_parse_ftest_gfx_completer): New function
(pa_parse_fp_cnv_format): New function.
Jeff Law [Sun, 19 Sep 1999 18:44:13 +0000 (18:44 +0000)]
* hppa.h (pa_opcodes): Handle PA2.0 fcnv, fcmp and ftest insns.
Jeff Law [Sun, 19 Sep 1999 18:22:20 +0000 (18:22 +0000)]
* som.c (NO_PCREL_MODES): Define if the system does not define
R_SHORT_PCREL_MODE.
(hppa_som_gen_reloc_type): Handle both short and long pcrel branches.
(som_write_fixups): Eliminate redundant pcrel mode relocs. Handle
R_LONG_PCREL_MODE and R_SHORT_PCREL_MODE
* libhppa.h (dis_assemble_22): New function.
(bfd_hppa_insn2fmt): Handle long branch.
* libhppa.h (bfd_hppa_insn2fmt): Decode and handle formats found
in PA2.0.
Jeff Law [Sun, 19 Sep 1999 18:13:50 +0000 (18:13 +0000)]
* config/tc-hppa.c (pa_ip): Handle 'X' operand.
(md_apply_fix): Handle 22bit pc-rel branches.
Jeff Law [Sun, 19 Sep 1999 18:11:48 +0000 (18:11 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'X' operand.
Jeff Law [Sun, 19 Sep 1999 18:10:28 +0000 (18:10 +0000)]
* hppa.h (pa_opcodes): Finish support for PA2.0 "b" instructions.
Jeff Law [Sun, 19 Sep 1999 17:39:17 +0000 (17:39 +0000)]
* hppa.h (pa_opcodes): Handle PA2.0 "bve" instructions.
Jeff Law [Sun, 19 Sep 1999 17:38:09 +0000 (17:38 +0000)]
* config/tc-hppa.c (pa_ip): Handle 'B' operand.
Jeff Law [Sun, 19 Sep 1999 17:36:54 +0000 (17:36 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'B' operand.
Jeff Law [Sun, 19 Sep 1999 17:16:08 +0000 (17:16 +0000)]
* hppa.h (pa_opcodes): Add new syntax "be" instructions.
Jeff Law [Sun, 19 Sep 1999 17:12:55 +0000 (17:12 +0000)]
* hppa.h (pa_opcodes): Note use of 'M' and 'L'.
Jeff Law [Sun, 19 Sep 1999 17:09:23 +0000 (17:09 +0000)]
* config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands.
Jeff Law [Sun, 19 Sep 1999 17:06:11 +0000 (17:06 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'M' and 'L' operands.
Jeff Law [Sun, 19 Sep 1999 16:59:47 +0000 (16:59 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'l' operand.
Jeff Law [Sun, 19 Sep 1999 16:58:33 +0000 (16:58 +0000)]
* config/tc-hppa.c (pa_ip): Handle 'l' operand.
Jeff Law [Sun, 19 Sep 1999 16:55:09 +0000 (16:55 +0000)]
* hppa.h (pa_opcodes): Add support for "b,l".
Jeff Law [Sun, 19 Sep 1999 16:45:20 +0000 (16:45 +0000)]
* config/tc-hppa.c (pa_ip): Handle 'g' operand.
Jeff Law [Sun, 19 Sep 1999 16:44:16 +0000 (16:44 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'g' operand.
Jeff Law [Sun, 19 Sep 1999 16:41:51 +0000 (16:41 +0000)]
* hppa.h (pa_opcodes): Add support for "b,gate".
Jeff Law [Sat, 18 Sep 1999 19:11:39 +0000 (19:11 +0000)]
* hppa-dis.c (print_insn_hppa): Output a space after 'X' completer.
Jeff Law [Sat, 18 Sep 1999 18:19:56 +0000 (18:19 +0000)]
* hppa-dis.c: (print_insn_hppa): Do output a space before a 'v'
operand.
Jeff Law [Sat, 18 Sep 1999 18:16:21 +0000 (18:16 +0000)]
* config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
(pa_ip): Handle 'fX'.
Jeff Law [Sat, 18 Sep 1999 18:09:38 +0000 (18:09 +0000)]
* hppa-dis.c: (print_insn_hppa): Handle 'fX'.
Jeff Law [Sat, 18 Sep 1999 18:08:34 +0000 (18:08 +0000)]
* hppa.h (pa_opcodes): Use 'fX' for first register operand
in xmpyu.
Jeff Law [Sat, 18 Sep 1999 17:57:08 +0000 (17:57 +0000)]
* hppa-dis.c: (print_insn_hppa): Add missing break after
FP register case.
Jeff Law [Sat, 18 Sep 1999 17:49:43 +0000 (17:49 +0000)]
* hppa.h (pa_opcodes): Fix mask for probe and probei.
Jeff Law [Sat, 18 Sep 1999 17:43:47 +0000 (17:43 +0000)]
* hppa.h (pa_opcodes): Fix mask for depwi.
Jeff Law [Sat, 18 Sep 1999 17:38:51 +0000 (17:38 +0000)]
* hppa-dis.c: Finish constifying various completers, register
names, etc etc.
Jeff Law [Sat, 18 Sep 1999 14:00:24 +0000 (14:00 +0000)]
* emulparms/elf64hppa.sh (OTHER_READONLY_SYMBOLS): Remove ".stubs",
they've been renamed to ".stub", which is handled automatically
by elf.sc.
Jeff Law [Sat, 18 Sep 1999 13:41:01 +0000 (13:41 +0000)]
Really fix the typo.
Jeff Law [Sat, 18 Sep 1999 13:26:46 +0000 (13:26 +0000)]
Fix typo in last change.
Alan Modra [Sat, 18 Sep 1999 00:44:47 +0000 (00:44 +0000)]
Support 8 and 16-bit relocs for i386coff. Enable i386 gas testsuite tests
previously disabled for lack of such support. For *-*-linux*libc1 targets,
XFAIL a ld testsuite that fails due to a bug in the dynamic linker prior to
glibc-2.1.
Jeff Law [Fri, 17 Sep 1999 21:58:45 +0000 (21:58 +0000)]
Fix typo in last change.
Jeff Law [Fri, 17 Sep 1999 18:00:50 +0000 (18:00 +0000)]
* config/tc-hppa.c (pa_build_unwind_subspace): Do not build
unwinds unless the function is in the text space.
(pa_type_args): Set BSF_FUNCTION for an exproted data symbol.
Jeff Law [Fri, 17 Sep 1999 17:02:03 +0000 (17:02 +0000)]
* emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Kill completely.
(DATA_START_SYMBOLS): Kill __hp_load_map definition
Nick Clifton [Fri, 17 Sep 1999 11:04:47 +0000 (11:04 +0000)]
Undeo previous delta. Set gc_mark instead.
Jeff Law [Thu, 16 Sep 1999 21:01:08 +0000 (21:01 +0000)]
* elf-hppa.h (elf_hppa_final_write_processing): Turn on TRAPNIL.
Jeff Law [Thu, 16 Sep 1999 20:53:09 +0000 (20:53 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
Use the same filename extension for the bfd_elf_dt_needed_name call
as we did for finding the library.
Jeff Law [Thu, 16 Sep 1999 20:39:10 +0000 (20:39 +0000)]
* elf-hppa.h (elf_hppa_final_link): If unable to find __gp in the
symbol table, then just compute a suitable value (but do not
create a __gp symbol).
Catherine Moore [Thu, 16 Sep 1999 18:25:09 +0000 (18:25 +0000)]
(elf_cpu32_plt0_entry): Use a1 instead of a0.
(elf_cpu32_plt_entry): Likewise.
----------------------------------------------------------------------
Jeff Law [Thu, 16 Sep 1999 17:57:15 +0000 (17:57 +0000)]
* emulparms/elf64hppa.sh (DATA_START_SYMBOLS): Define.
(OTHER_READWRITE_SECTIONS): No longer define __hp_load_map.
Jeff Law [Thu, 16 Sep 1999 17:02:14 +0000 (17:02 +0000)]
* emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Define.
Jeff Law [Thu, 16 Sep 1999 16:51:34 +0000 (16:51 +0000)]
* elf-hppa.h (elf_hppa_relocate_section): Allow undefined
symbols when building shared libraries.
(elf_hppa_final_link_relocate): Correct handling of PCREL
relocations against undefined symbols.
Nick Clifton [Thu, 16 Sep 1999 15:32:40 +0000 (15:32 +0000)]
Mark interworking sections as linker created to prevent garbage collection.
Jeff Law [Thu, 16 Sep 1999 06:23:28 +0000 (06:23 +0000)]
* emulparms/elf64hppa.sh (SHLIB_TEXT_START_ADDR): Define.
(SHLIB_DATA_ADDR): Likewise.
* emulparms/elf64hppa.sh (TEXT_DYNAMIC): Define.
Jeff Law [Wed, 15 Sep 1999 13:19:32 +0000 (13:19 +0000)]
* config/tc-hppa.c (pa_ip): Move dwarf2 stuff from here.
(md_assemble): To here. Tweak address generation.
Jeff Law [Wed, 15 Sep 1999 11:17:54 +0000 (11:17 +0000)]
* config/tc-hppa.c: Include dwarf2dbg.h if OBJ_ELF. Declare
debug_line.
(md_pseudo_table): Add .file and .line pseudo-ops for OBJ_ELF.
(md_assemble): Call dwarf2_where for OBJ_ELF.
(pa_ip): Call dwarf2_gen_line_info for OBJ_ELF.
(pa_end_of_source): New function.
* tc-hppa.h (md_end): Define for OBJ_ELF.