OSDN Git Service
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.
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.
Jeff Law [Wed, 15 Sep 1999 10:12:21 +0000 (10:12 +0000)]
Fix typo in last change.
Jeff Law [Wed, 15 Sep 1999 08:51:45 +0000 (08:51 +0000)]
* elf-hppa.h (elf_hppa_final_link): Revamp __gp handling.
(elf_hppa_final_link_relocate): Consistently create an absolute
address, then subtract out the value of __gp.
Jeff Law [Wed, 15 Sep 1999 08:51:03 +0000 (08:51 +0000)]
* emulparms/elf64hppa.h (OTHER_READWRITE_SECTIONS): No longer combine
the .plt, .dlt, .opd into a single output section. Provide values
for __gp and __hp_load_map.
Michael Meissner [Tue, 14 Sep 1999 23:29:35 +0000 (23:29 +0000)]
Fix problem with going to automake 2.14
DJ Delorie [Tue, 14 Sep 1999 22:19:55 +0000 (22:19 +0000)]
1999-09-14 Donn Terry <donn@interix.com>
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): allow for
terminating null.
Ian Lance Taylor [Tue, 14 Sep 1999 15:38:32 +0000 (15:38 +0000)]
1999-09-14 Donn Terry <donn@interix.com>
* config/te-interix.h (GLOBAL_OFFSET_TABLE_NAME): Define.
Nick Clifton [Tue, 14 Sep 1999 13:18:43 +0000 (13:18 +0000)]
Add earm_epoc_pe.c build target.
Jeff Law [Tue, 14 Sep 1999 11:30:01 +0000 (11:30 +0000)]
* emulparms/elf64hppa.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.dlt.
Nick Clifton [Tue, 14 Sep 1999 10:34:02 +0000 (10:34 +0000)]
Change ELF_MAXPAGESIZE to 0x1
Jeff Law [Tue, 14 Sep 1999 06:30:50 +0000 (06:30 +0000)]
* binutils-all/hppa/objdump.exp: Do not run for PA64.
Jeff Law [Tue, 14 Sep 1999 03:44:43 +0000 (03:44 +0000)]
* elf-hppa.h (elf_hppa_record_segment_addrs): New function.
(elf_hppa_final_link): Initialize text_segment_base and
data_segment_base.
(elf_hppa_final_link_relocate): Handle SEGREL relocations.
Jeff Law [Tue, 14 Sep 1999 02:42:51 +0000 (02:42 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
Search for file with .sl extension if no file with a .so extension
is found.
Jeff Law [Tue, 14 Sep 1999 02:03:58 +0000 (02:03 +0000)]
* elf-hppa.h (elf_hppa_final_link): Remove unused variables.
(elf_hppa_final_link_relocate): Likewise.
(elf_hppa_relocate_insn): Likewise.
(elf_hppa_relocate_section): Initialize HOWTO.
Ian Lance Taylor [Mon, 13 Sep 1999 23:55:22 +0000 (23:55 +0000)]
1999-09-13 Donn Terry <donn@interix.com>
* coffcode.h (styp_to_sec_flags): Further refinement of COMDAT
handling to support both GNU and MS objects.
Ian Lance Taylor [Mon, 13 Sep 1999 23:45:47 +0000 (23:45 +0000)]
1999-09-13 Donn Terry <donn@interix.com>
* emultempl/pe.em: Remove the output file at the start, in case it
is not writable.
Ian Lance Taylor [Mon, 13 Sep 1999 23:42:43 +0000 (23:42 +0000)]
1999-09-13 Donn Terry <donn@interix.com>
* coffcode.h (coff_write_object_contents): Don't check reloc_count
when determining whether to set F_RELFLG.
Nick Clifton [Mon, 13 Sep 1999 09:59:02 +0000 (09:59 +0000)]
Apply Philip Blundell's patch to prevent range checks on weak symbols.
Alan Modra [Mon, 13 Sep 1999 06:45:15 +0000 (06:45 +0000)]
Hackery to handle ix86 "jmp constant" as a pc-relative jump to the given
absolute address.
Jeff Law [Mon, 13 Sep 1999 06:20:55 +0000 (06:20 +0000)]
* emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt
at the start of the .dlt output section.
Jeff Law [Mon, 13 Sep 1999 05:51:32 +0000 (05:51 +0000)]
* elf-hppa.h (elf_hppa_final_link_relocate): Handle SECREL32.
Stub SEGREL32. Return an error for any relocation not handled.
Alan Modra [Mon, 13 Sep 1999 03:53:59 +0000 (03:53 +0000)]
Changelog entry for tc-i386.c changes.
Alan Modra [Mon, 13 Sep 1999 03:44:49 +0000 (03:44 +0000)]
Tidy jump handling code and comments.
Ian Lance Taylor [Sun, 12 Sep 1999 19:00:11 +0000 (19:00 +0000)]
* ar.c (main): Clear output_file if we don't change the archive.
(delete_members, replace_members): Likewise.
Ian Lance Taylor [Sun, 12 Sep 1999 18:49:47 +0000 (18:49 +0000)]
1999-09-12 Donn Terry <donn@interix.com>
* objdump.c (dump_headers): If wide_output, print Flags header.