Andrew Cagney
c741b251b9
Remove quotes from arround for loop arg.
2000-05-24 02:18:18 +00:00
Nick Clifton
3463c3fbbb
Add special case handling when GDB set CPSR register
2000-05-23 23:52:46 +00:00
Mark Kettenis
b2450fc5b6
* i387-nat.h, i387-nat.c: New files.
2000-05-23 23:44:44 +00:00
Nick Clifton
1f0df59a27
When deciding if ".text" section should be read-only, don't forget to reset
...
SEC_READONLY because it could be already set.
2000-05-23 21:03:35 +00:00
Alexandre Oliva
863e0fe46a
* config/sparc/nm-linux.h: Include config/nm-linux.h.
...
* config/powerpc/nm-linux.h: Likewise.
2000-05-23 20:34:09 +00:00
David Taylor
9af9729377
one line fix by Gregory Lielens <Gregory.Lielens@fft.be> to fix a problem
...
with the printing of complex numbers (it would print the real part twice).
2000-05-23 15:56:33 +00:00
Andrew Cagney
f5ff8c83c8
Add make_cleanup_close() function.
2000-05-23 14:48:13 +00:00
H.J. Lu
ba09750c1e
2000-05-23 H.J. Lu <hjl@gnu.org>
...
* elf32-mips.c (mips_elf_calculate_relocation): Check
h->root.other not h->other.
* elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.
2000-05-23 14:20:57 +00:00
H.J. Lu
edb72b3b35
2000-05-23 H.J. Lu <hjl@gnu.org>
...
* elf64-alpha.c (elf64_alpha_relocate_section): Check
h->root.other not h->other.
2000-05-23 14:15:30 +00:00
H.J. Lu
3a27a730c7
2000-05-23 H.J. Lu <hjl@gnu.org>
...
* elf32-i386.c (elf_i386_relocate_section): Don't allow the
undefined symbol with the non-default visibility attributes.
* elf-hppa.h (elf_hppa_relocate_section): Likewise.
* elf32-arm.h (elf32_arm_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-mips.c (mips_elf_calculate_relocation): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-ia64.c (elf64_ia64_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
2000-05-23 14:05:50 +00:00
Andrew Cagney
781c552e2d
sigrc wasn't initialized before being passed to sim_resume().
2000-05-23 11:34:27 +00:00
Andrew Cagney
16cadf399a
Add -Wuninitialized.
2000-05-23 11:28:14 +00:00
Hans-Peter Nilsson
4c8d9ec67a
Oops. Forgot to say "configure: Regenerate".
2000-05-23 10:03:32 +00:00
Hans-Peter Nilsson
f98fd99f67
* configure.in (i386-*-freebsd a.out entry): Quote properly.
2000-05-23 08:53:54 +00:00
Andrew Cagney
6e8cb14ae5
IRIX GCC fixes from 5.0 branch.
2000-05-23 07:49:05 +00:00
Alan Modra
5a327c7ac2
Missed copyright update in last patch.
2000-05-23 05:07:47 +00:00
Alan Modra
ee7fcc42b1
Pass jump reloc in fr_var so it can be used in
...
md_estimate_size_before_relax, replacing old kludge.
2000-05-23 04:48:21 +00:00
Andrew Cagney
b08dff7bbe
From branch. Bump VERSION number.
2000-05-23 03:22:29 +00:00
Richard Henderson
c67e42c950
* config/tc-ia64.c (FUNC_PC_RELATIVE): New.
...
(pseudo_func): Add pcrel.
(operand_match): Handle IA64_OPND_TGT64.
(build_insn): Likewise.
(md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE].
(ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE.
(fix_insn): Handle all three 64-bit relocation types.
2000-05-23 01:48:04 +00:00
Richard Henderson
748abff62c
* elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI,
...
PCREL22, PCREL64I. Zero size of special relocs.
(elf64_ia64_reloc_type_lookup): Likewise.
(USE_BRL, oor_brl, oor_ip): New.
(elf64_ia64_relax_section): New.
(elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I.
(elf64_ia64_install_value): Likewise, plus PCREL21BI.
(elf64_ia64_relocate_section): Likewise.
(bfd_elf64_bfd_relax_section): New.
* reloc.c (BFD_RELOC_IA64_PCREL21BI): New.
(BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New.
* bfd-in2.h, libbfd.h: Regenerate.
2000-05-23 01:32:28 +00:00
Richard Henderson
40eb4f3424
* ia64.h (R_IA64_PCREL60B, R_IA64_PCREL21BI): New.
...
(R_IA64_PCREL22, R_IA64_PCREL64I): New.
2000-05-23 01:30:56 +00:00
Alan Modra
b722f2be22
Allow d suffix on iret
2000-05-23 00:36:39 +00:00
Nick Clifton
176355da99
Patch from Thomas de Lellis to implement --section-start
2000-05-22 21:58:40 +00:00
Hans-Peter Nilsson
5110c57e8e
* obj.h (struct format_ops): New members begin, app_file,
...
s_set_other, s_set_desc, s_get_type, s_set_type,
separate_stab_sections, init_stab_section.
* config/obj-multi.h: Update GPL notice to v2.
(obj_begin): New.
(obj_app_file): New.
(S_SET_SIZE): Test s_set_size for NULL before calling.
(S_SET_ALIGN): Similar for s_set_align.
(S_SET_OTHER): New.
(S_SET_DESC): New.
(S_GET_TYPE): New.
(S_SET_TYPE): New.
(SEPARATE_STAB_SECTIONS): New.
(INIT_STAB_SECTION): New.
(EMIT_SECTION_SYMBOLS): New.
(AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.
* config/obj-elf.h: Update GPL notice to v2.
Mention that this file is included from obj-multi.h.
(obj_begin): Wrap definition in ifndef.
(elf_file_symbol): Constify declaration.
(obj_app_file): Ditto.
(SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
Wrap in ifndef SEPARATE_STAB_SECTIONS.
* config/obj-elf.c (elf_s_set_other): New.
(elf_file_symbol): Constify argument.
(elf_separate_stab_sections): New.
(elf_init_stab_section): New.
(elf_format_ops): Add new members. Remove comma at end.
* config/obj-ecoff.c (ecoff_separate_stab_sections): New.
(ecoff_format_ops): Add new fields. Remove comma at end.
Mention inconsistency for emit_section_symbols.
* config/obj-coff.h (c_dot_file_symbol): Constify declaration.
* config/obj-coff.c (c_dot_file_symbol): Constify argument.
(coff_separate_stab_sections): New.
(coff_format_ops): Add new members.
* config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
(obj_aout_s_set_other): New.
(obj_aout_s_set_desc): New.
(obj_aout_s_get_type): New.
(obj_aout_s_set_type): New.
(obj_aout_separate_stab_sections): New.
(aout_format_ops): New members added. Use obj_aout_process_stab,
not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0.
(obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
appropriate.
(obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
2000-05-22 21:19:43 +00:00
Alexandre Oliva
e33c036475
* am33.igen: Fix leading comments of SP-relative offset insns that
...
referred to other registers. Make their offsets unsigned.
2000-05-22 20:34:09 +00:00
Nick Clifton
fb67355a64
Add peigen.lo to MIPS PE target
2000-05-22 19:16:59 +00:00
Nick Clifton
1fe494a572
Use bfd_generic_verify_endian_match() and fix it to only check when endianness
...
is known.
2000-05-22 18:44:02 +00:00
Nick Clifton
0ab71ce35a
Regerbated after change to Makefile.am
2000-05-22 18:04:17 +00:00
Alan Modra
b98ef14717
Keep a reloc for jumps to weak and external symbols.
2000-05-22 11:38:43 +00:00
Andrew Cagney
74b7792f0f
Purge (almost) make_cleanup_func.
2000-05-22 09:02:23 +00:00
H.J. Lu
32c092c3fa
2000-05-22 H.J. Lu <hjl@gnu.org>
...
* elflink.h (elf_link_output_extsym): Clear the visibility
field for symbols not defined locally.
2000-05-22 07:26:58 +00:00
Andrew Cagney
004527cbbb
Purge procfs.c of make_cleanup_func.
2000-05-22 06:17:35 +00:00
Andrew Cagney
e41a3b1ac5
Eliminate make_cleanup_func from top.c
2000-05-22 05:43:39 +00:00
Andrew Cagney
5683e87aa5
Replace preg() with phex(). Cleanup monitor.c.
2000-05-22 02:07:19 +00:00
Mark Kettenis
e8475ad463
* i387-tdep.c (print_i387_value): Cast &value to (char *) in
...
pointer arithmetic. Fixes a bug which manifested itself on
FreeBSD.
2000-05-21 21:21:20 +00:00
H.J. Lu
e80778cf3d
2000-05-21 H.J. Lu (hjl@gnu.org)
...
* ld-elfvsb/main.c (main_visibility_check): Fix the protected
visibility test.
2000-05-21 21:08:17 +00:00
Hans-Peter Nilsson
0aa5d42641
* stabs.c (aout_process_stab): Make global.
...
(s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
* read.h (aout_process_stab): Declare.
* configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
Generalize to *aout, *coff *elf.
* configure: Regenerated.
* doc/internals.texi (Object format backend): Say
SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
2000-05-21 18:26:10 +00:00
Hans-Peter Nilsson
f48026f7d7
* gas/elf/elf.exp: Exclude *-*-linux*coff* as non-elf.
2000-05-21 18:06:40 +00:00
Nick Clifton
6c298591a3
Define LIBIBERTY
2000-05-21 17:01:02 +00:00
H.J. Lu
9442cea301
20000-05-21 H.J. Lu (hjl@gnu.org)
...
* configure: Revert changes made on May 18 and May 19.
* Makefile.in (CC_FOR_TARGET): Make sure as/ld in the gcc
directory are used if they exist. Make sure
$(build_tooldir)/include is searched for header files,
$(build_tooldir)/lib/ for library files.
(GCC_FOR_TARGET): Likewise.
(CXX_FOR_TARGET): Likewise.
2000-05-21 16:57:14 +00:00
J.T. Conklin
d4b2399a9c
* target.h (target_memory_bfd_section): Removed declaration.
...
* target.c (target_memory_bfd_section): Removed.
* exec.c (xfer_memory): Removed #if'ed-out code which referenced
target_memory_bfd_section.
* target.h (target_read_memory_section): Removed declaration.
* target.c (target_read_memory_section): Removed.
(target_xfer_memory): Update, removed bfd_section argument.
(target_read_string, target_read_memory, target_write_memory):
Update for above change.
* gdbcore.h (read_memory_section): Removed declaration.
* corefile.c (read_memory_section): Removed.
* jv-lang.c (get_java_utf8_name): Changed calls to
read_memory_section to read_memory.
* printcmd.c (printf_command): Likewise.
* valops.c (value_at, value_fetch_lazy): Likewise.
2000-05-20 10:29:51 +00:00
Hans-Peter Nilsson
b8166459e1
* Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
...
* Makefile.in: Regenerated.
2000-05-20 02:03:38 +00:00
Catherine Moore
7c3dc350c9
* cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
2000-05-19 21:36:14 +00:00
Jimmy Guo
4ab64e140e
update
2000-05-19 19:19:34 +00:00
Jimmy Guo
d387afa3a7
regenerate
2000-05-19 19:14:45 +00:00
H.J. Lu
d89774eaa1
20000-05-19 H.J. Lu (hjl@gnu.org)
...
* configure: Provide --disable-target-dir-sanity-checking to
disable the gcc directory checking for cross compiling.
2000-05-19 18:14:18 +00:00
Jeff Law
b3b6a3fe2b
* config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
...
instruction to reflect change in re_assemble_*.
2000-05-19 00:21:12 +00:00
Jeff Law
df6d9773e2
* libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,
...
re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn.
(hppa_rebuild_insn): Mask immediate bits here instead.
* elf-hppa.h (elf_hppa_relocate_insn): Mask here too.
2000-05-19 00:20:31 +00:00
J.T. Conklin
e42180d7b4
* configure.host, configure.tgt (powerpc-*-netbsd*): New entry.
...
* config/powerpc/nbsd.mh, config/powerpc/nbsd.mt,
config/powerpc/tm-nbsd.h, config/powerpc/nm-nbsd.h,
config/powerpc/xm-nbsd.h: New files.
2000-05-18 23:43:58 +00:00
Alexandre Oliva
24a39d88a2
* mn10300_sim.h (genericAdd, genericSub, genericCmp, genericOr,
...
genericXor, genericBtst): Use `unsigned32'.
* op_utils.c: Likewise.
* mn10300.igen, am33.igen: Use `unsigned32', `signed32',
`unsigned64' or `signed64' where type width is relevant.
2000-05-18 22:56:28 +00:00