OSDN Git Service
geoffk [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.
dnovillo [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.
dnovillo [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.
dnovillo [Thu, 7 Oct 1999 06:17:03 +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.
geoffk [Thu, 7 Oct 1999 02:57:32 +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.
geoffk [Thu, 7 Oct 1999 02:19:44 +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.
jsm [Tue, 5 Oct 1999 23:08:21 +0000 (23:08 +0000)]
Initial revision
devans [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.
devans [Tue, 5 Oct 1999 01:14:20 +0000 (01:14 +0000)]
* archures.c (bfd_mach_m32rx): Define it.
* bfd-in2.h: Rebuild.
devans [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.
devans [Tue, 5 Oct 1999 00:43:14 +0000 (00:43 +0000)]
* m32r.h (E_M32RX_ARCH): Define.
devans [Tue, 5 Oct 1999 00:41:22 +0000 (00:41 +0000)]
add m32rx docs
devans [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.
devans [Tue, 5 Oct 1999 00:05:51 +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.
drepper [Mon, 4 Oct 1999 18:59:12 +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.
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 [Wed, 29 Sep 1999 17:44:33 +0000 (17:44 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Defer
merging sections when not relocating.
nickc [Wed, 29 Sep 1999 14:18:04 +0000 (14:18 +0000)]
Fix bit patterns of some load/store instructions to match latest docs.
dj [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.
rth [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 [Tue, 28 Sep 1999 20:22:54 +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 [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.
geoffk [Tue, 28 Sep 1999 04:16:51 +0000 (04:16 +0000)]
* scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections
in .sdata too.
geoffk [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++.
geoffk [Tue, 28 Sep 1999 04:11:04 +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.
nickc [Sun, 26 Sep 1999 09:37:42 +0000 (09:37 +0000)]
Merge sections named .bss.* into .bss section. Similarly for .sbss.
rth [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.
nickc [Fri, 24 Sep 1999 09:03:48 +0000 (09:03 +0000)]
Make sure that sensible values are extracted from a raw header.
law [Thu, 23 Sep 1999 16:09:23 +0000 (16:09 +0000)]
Remove accidental case duplication.
law [Thu, 23 Sep 1999 15:58:08 +0000 (15:58 +0000)]
Remove accidental case duplication.
law [Thu, 23 Sep 1999 15:46:33 +0000 (15:46 +0000)]
Add missing initializer lost in last change.
law [Thu, 23 Sep 1999 14:30:30 +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'.
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.
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'.
law [Thu, 23 Sep 1999 13:15:27 +0000 (13:15 +0000)]
* config/tc-hppa.c (pa_ip): Add parens to silence compiler.
law [Thu, 23 Sep 1999 13:14:33 +0000 (13:14 +0000)]
* hppa.h (pa_opcodes): Add initializers to silence compiler.
law [Thu, 23 Sep 1999 13:10:07 +0000 (13:10 +0000)]
* hppa.h: Update comments about character usage.
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.
nickc [Wed, 22 Sep 1999 09:05:30 +0000 (09:05 +0000)]
Rename MULTI_SET_PSR to LDM_TYPE_2_OR_3
nickc [Wed, 22 Sep 1999 08:32:05 +0000 (08:32 +0000)]
Add earm_epoc_pe.c build target.
jsm [Wed, 22 Sep 1999 03:36:41 +0000 (03:36 +0000)]
removed in the 1999-09-21 snapshot.
jsm [Wed, 22 Sep 1999 03:24:58 +0000 (03:24 +0000)]
Initial revision
jsm [Wed, 22 Sep 1999 03:24:42 +0000 (03:24 +0000)]
Initial revision
jsm [Wed, 22 Sep 1999 03:24:27 +0000 (03:24 +0000)]
Initial revision
law [Mon, 20 Sep 1999 10:06:03 +0000 (10:06 +0000)]
* config/tc-hppa.c (pa_ip): Fix thinkos in recent cleanup
of PA2.0 support.
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.
amodra [Mon, 20 Sep 1999 08:45:53 +0000 (08:45 +0000)]
Delete bogus R_PCLONG. Tidy R_*.
ian [Sun, 19 Sep 1999 23:59:34 +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 [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 [Sun, 19 Sep 1999 22:43:16 +0000 (22:43 +0000)]
fix comment; from Fred Fish <fnf@ninemoons.com>
ian [Sun, 19 Sep 1999 22:39:49 +0000 (22:39 +0000)]
comment fix
law [Sun, 19 Sep 1999 20:17:47 +0000 (20:17 +0000)]
* hppa-dis.c: (print_insn_hppa): Correct 'cJ', 'cc'.
law [Sun, 19 Sep 1999 20:14:30 +0000 (20:14 +0000)]
* hppa-dis.c (extract_22): New function.
law [Sun, 19 Sep 1999 20:10:44 +0000 (20:10 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'J', 'K', and 'cc'.
law [Sun, 19 Sep 1999 20:07:01 +0000 (20:07 +0000)]
* config/tc-hppa.c (pa_ip): Handle 'J', 'K' and 'cc'
operands.
law [Sun, 19 Sep 1999 20:05:00 +0000 (20:05 +0000)]
* hppa.h (pa_opcodes): Add remaining PA2.0 integer load/store
instructions.
law [Sun, 19 Sep 1999 19:52:38 +0000 (19:52 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'fe' and 'cJ'.
law [Sun, 19 Sep 1999 19:46:51 +0000 (19:46 +0000)]
* config/tc-hppa.c (pa_ip); Handle "fe", and 'cJ'.
law [Sun, 19 Sep 1999 19:43:05 +0000 (19:43 +0000)]
* hppa.h (pa_opcodes): Add remaining PA2.0 FP load/store instructions.
law [Sun, 19 Sep 1999 19:29:37 +0000 (19:29 +0000)]
* hppa-dis.c (print_insn_hppa): Handle '#', 'd', and 'cq'.
law [Sun, 19 Sep 1999 19:23:07 +0000 (19:23 +0000)]
* config/tc-hppa.c (pa_ip): Handle 'd', '#' and 'cq'.
law [Sun, 19 Sep 1999 19:19:50 +0000 (19:19 +0000)]
* hppa.h (pa_opcodes): Add long offset double word load/store
instructions.
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.
law [Sun, 19 Sep 1999 18:50:17 +0000 (18:50 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'm', 'h', '='.
law [Sun, 19 Sep 1999 18:47:36 +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.
law [Sun, 19 Sep 1999 18:44:13 +0000 (18:44 +0000)]
* hppa.h (pa_opcodes): Handle PA2.0 fcnv, fcmp and ftest insns.
law [Sun, 19 Sep 1999 18:22:15 +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.
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.
law [Sun, 19 Sep 1999 18:11:48 +0000 (18:11 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'X' operand.
law [Sun, 19 Sep 1999 18:10:28 +0000 (18:10 +0000)]
* hppa.h (pa_opcodes): Finish support for PA2.0 "b" instructions.
law [Sun, 19 Sep 1999 17:39:17 +0000 (17:39 +0000)]
* hppa.h (pa_opcodes): Handle PA2.0 "bve" instructions.
law [Sun, 19 Sep 1999 17:38:09 +0000 (17:38 +0000)]
* config/tc-hppa.c (pa_ip): Handle 'B' operand.
law [Sun, 19 Sep 1999 17:36:54 +0000 (17:36 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'B' operand.
law [Sun, 19 Sep 1999 17:16:08 +0000 (17:16 +0000)]
* hppa.h (pa_opcodes): Add new syntax "be" instructions.
law [Sun, 19 Sep 1999 17:12:55 +0000 (17:12 +0000)]
* hppa.h (pa_opcodes): Note use of 'M' and 'L'.
law [Sun, 19 Sep 1999 17:09:23 +0000 (17:09 +0000)]
* config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands.
law [Sun, 19 Sep 1999 17:06:11 +0000 (17:06 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'M' and 'L' operands.
law [Sun, 19 Sep 1999 16:59:46 +0000 (16:59 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'l' operand.
law [Sun, 19 Sep 1999 16:58:33 +0000 (16:58 +0000)]
* config/tc-hppa.c (pa_ip): Handle 'l' operand.
law [Sun, 19 Sep 1999 16:55:08 +0000 (16:55 +0000)]
* hppa.h (pa_opcodes): Add support for "b,l".
law [Sun, 19 Sep 1999 16:45:19 +0000 (16:45 +0000)]
* config/tc-hppa.c (pa_ip): Handle 'g' operand.
law [Sun, 19 Sep 1999 16:44:16 +0000 (16:44 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'g' operand.
law [Sun, 19 Sep 1999 16:41:51 +0000 (16:41 +0000)]
* hppa.h (pa_opcodes): Add support for "b,gate".
law [Sat, 18 Sep 1999 19:11:39 +0000 (19:11 +0000)]
* hppa-dis.c (print_insn_hppa): Output a space after 'X' completer.
law [Sat, 18 Sep 1999 18:19:55 +0000 (18:19 +0000)]
* hppa-dis.c: (print_insn_hppa): Do output a space before a 'v'
operand.
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'.
law [Sat, 18 Sep 1999 18:09:38 +0000 (18:09 +0000)]
* hppa-dis.c: (print_insn_hppa): Handle 'fX'.
law [Sat, 18 Sep 1999 18:08:34 +0000 (18:08 +0000)]
* hppa.h (pa_opcodes): Use 'fX' for first register operand
in xmpyu.
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.
law [Sat, 18 Sep 1999 17:49:43 +0000 (17:49 +0000)]
* hppa.h (pa_opcodes): Fix mask for probe and probei.
law [Sat, 18 Sep 1999 17:43:47 +0000 (17:43 +0000)]
* hppa.h (pa_opcodes): Fix mask for depwi.
law [Sat, 18 Sep 1999 17:38:51 +0000 (17:38 +0000)]
* hppa-dis.c: Finish constifying various completers, register
names, etc etc.
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.
law [Sat, 18 Sep 1999 13:41:01 +0000 (13:41 +0000)]
Really fix the typo.
law [Sat, 18 Sep 1999 13:26:46 +0000 (13:26 +0000)]
Fix typo in last change.
amodra [Sat, 18 Sep 1999 00:44:43 +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.
law [Fri, 17 Sep 1999 21:58:45 +0000 (21:58 +0000)]
Fix typo in last change.
law [Fri, 17 Sep 1999 18:00:49 +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.
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
nickc [Fri, 17 Sep 1999 11:04:47 +0000 (11:04 +0000)]
Undeo previous delta. Set gc_mark instead.