Andrew Cagney [Sun, 26 Aug 2001 18:46:10 +0000 (18:46 +0000)]
* doublest.h (HOST_FLOAT_FORMAT): Delete macro.
(HOST_DOUBLE_FORMAT): Delete macro.
Andreas Jaeger [Sun, 26 Aug 2001 18:03:19 +0000 (18:03 +0000)]
* elf32-cris.c (cris_elf_check_relocs): Set DF_TEXTREL if the
reloc is against read-only section.
(elf_cris_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.
(elf_cris_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.
* elf32-sh.c (sh_elf_check_relocs): Set DF_TEXTREL if the reloc is
against read-only section.
(elf_backend_reloc_type_class): Define.
(sh_elf_reloc_type_class): New.
(sh_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.
* elf32-arm.h (elf32_arm_check_relocs): Set DF_TEXTREL if the
reloc is against read-only section.
(elf32_arm_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.
(elf32_arm_reloc_type_class): New.
Andreas Jaeger [Sun, 26 Aug 2001 14:04:42 +0000 (14:04 +0000)]
* h8500-opc.h: Add default initializers to h8500_table to shut up
GCC warnings.
Thiemo Seufer [Sun, 26 Aug 2001 13:04:34 +0000 (13:04 +0000)]
* readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
Andreas Jaeger [Sun, 26 Aug 2001 11:47:39 +0000 (11:47 +0000)]
For include/opcode:
* d30v.h: Fix declaration of reg_name_cnt.
* d10v.h: Fix declaration of d10v_reg_name_cnt.
* arc.h: Add prototypes from opcodes/arc-opc.c.
For opcodes:
* tic54x-dis.c: Add unused attributes where needed.
* z8k-dis.c (output_instr): Add unused attribute.
* h8300-dis.c: Add missing prototypes.
(bfd_h8_disassemble): Make static.
* cris-dis.c: Add missing prototype.
* h8500-dis.c: Likewise.
* m68hc11-dis.c: Likewise.
* pj-dis.c: Likewise.
* tic54x-dis.c: Likewise.
* v850-dis.c: Likewise.
* vax-dis.c: Likewise.
* w65-dis.c: Likewise.
* z8k-dis.c: Likewise.
* d10v-dis.c: Add missing prototype.
(dis_long): Remove unused variable.
(dis_2_short): Likewise.
* sh-dis.c: Add missing prototypes.
* v850-opc.c: Likewise.
Add unused attributes where needed.
* ns32k-dis.c: Add missing prototypes.
(bit_extract_simple): Remove unused variable.
Andreas Jaeger [Sun, 26 Aug 2001 11:46:04 +0000 (11:46 +0000)]
* oasys.c: Add missing prototypes.
* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Add unused
attribute for parameter.
* elf.c (_bfd_elf_reloc_type_class): Likewise.
* versados.c (get_4): Make static.
(get_10): Make static.
Add missing prototypes.
(process_esd): Fix call to versados_new_symbol.
Andreas Jaeger [Sun, 26 Aug 2001 11:44:51 +0000 (11:44 +0000)]
* config/tc-s390.c: Add missing prototypes
(md_gather_operands): Make static.
Thiemo Seufer [Sun, 26 Aug 2001 10:42:12 +0000 (10:42 +0000)]
* tc_mips.h (MAX_GPREL_OFFSET): Change it to the maximum allowed
value, not the word beyond maximum.
* tc_mips.c (macro_build_lui): Code cleanup.
(macro): Reflect change to MAX_GPREL_OFFSET.
(mips_ip): Check explicitly against S_EX_NONE.
(my_get_SmallExpression): parse for %gp_rel, not %gprel.
(md_apply_fix): Code cleanup.
gdbadmin [Sun, 26 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
H.J. Lu [Sat, 25 Aug 2001 15:16:39 +0000 (15:16 +0000)]
2001-08-25 H.J. Lu <hjl@gnu.org>
* nm.c (print_width): New.
(display_rel_file): Set `print_width' according to
bfd_sprintf_vma.
(print_symbol_info_bsd): Check `print_width' instead of BFD64.
Nick Clifton [Sat, 25 Aug 2001 09:49:44 +0000 (09:49 +0000)]
Add missing prototypes
Nick Clifton [Sat, 25 Aug 2001 09:48:13 +0000 (09:48 +0000)]
fix compile time warning message
Thiemo Seufer [Sat, 25 Aug 2001 01:27:54 +0000 (01:27 +0000)]
* elf32-mips.c (elf_mips_abi_name): Return the right ABI string for
E_MIPS_ABI_O64 and E_MIPS_ABI_EABI64
Thiemo Seufer [Sat, 25 Aug 2001 00:48:49 +0000 (00:48 +0000)]
* binutils-all/readelf.exp: Don't regard mips*el-*-* as traditional
mips.
* gas/mips/mips.exp: Likewise. Use traditional testcases for
mips${el}16-f if needed.
* gas/mips/elempic.d: New file, testcase for little endian empic.
* gas/mips/elfel-rel2.d: Don't test trailing zeroes in dump.
* gas/mips/mips16-f.d: Use non-traditional symbol sorting.
* gas/mips/mipsel16-f.d: Likewise.
* gas/mips/mipsel16-e.d: New file, testcase for little endian MIPS16
relocations.
* gas/mips/tmipsel16-f.d: New file, testcase for little endian MIPS16
relocations, traditional variant.
gdbadmin [Sat, 25 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
H.J. Lu [Fri, 24 Aug 2001 20:10:25 +0000 (20:10 +0000)]
2001-08-24 H.J. Lu <hjl@gnu.org>
* elf.c (_bfd_elf_merge_sections): Fail if not using an ELF
hash structure.
Andreas Jaeger [Fri, 24 Aug 2001 19:18:45 +0000 (19:18 +0000)]
* config/tc-ppc.h: Fix prototype declaration.
Nick Clifton [Fri, 24 Aug 2001 16:36:04 +0000 (16:36 +0000)]
Apply H.J.'s patch to revert change to elfxx-target.h
Apply my patch to allow SREC as output format.
Alexandre Oliva [Fri, 24 Aug 2001 13:56:11 +0000 (13:56 +0000)]
* objcopy.c (use_alt_mach_code): New variable.
(OPTION_ALT_MACH_CODE): Define.
(copy_options): Added --alt-machine-code.
(copy_main): Handle it.
(copy_object): Switch to alternate machine code if requested.
* doc/binutils.texi: Document new option.
* NEWS: Likewise.
Alexandre Oliva [Fri, 24 Aug 2001 13:55:55 +0000 (13:55 +0000)]
* bfd.c (bfd_alt_mach_code): New function.
* bfd-in2.h: Rebuilt.
Alexandre Oliva [Fri, 24 Aug 2001 13:14:46 +0000 (13:14 +0000)]
* elf-m10300.c (mn10300_elf_relocate_section): Test the right
`type' field in the hash entry when deciding whether to follow a
link.
Mark Kettenis [Fri, 24 Aug 2001 12:19:59 +0000 (12:19 +0000)]
* config/xm-lynx.h, config/xm-nbsd.h, config/xm-sysv4.h,
config/i386/xm-i386aix.h, config/m68k/xm-dpx2.h: Remove redundant
inclusion of <limits.h>.
Jakub Jelinek [Fri, 24 Aug 2001 11:17:30 +0000 (11:17 +0000)]
* elflink.h (elf_link_sort_cmp1): Sort RELATIVE relocs first, not
last.
(elf_link_sort_relocs): Adjust accordingly.
* elf64-alpha.c (struct alpha_elf_link_hash_entry): Add reltext flag.
(elf64_alpha_check_relocs): Set it if section this reloc is against
is read-only. Set DF_TEXTREL if a RELATIVE reloc is needed against
read-only section.
(elf64_alpha_calc_dynrel_sizes): Set DF_TEXTREL flag if relocation
is is against read-only section.
(elf64_alpha_size_dynamic_sections): Use DF_TEXTREL flag, don't
check section names.
(elf64_alpha_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.
Andrew Cagney [Fri, 24 Aug 2001 05:11:07 +0000 (05:11 +0000)]
* regcache.c (read_register_bytes): When REGISTER_NAME indicates
that a register should be ignored, supply a value for the register
from the raw registers[] buffer.
Andrew Cagney [Fri, 24 Aug 2001 05:00:06 +0000 (05:00 +0000)]
* go32-nat.c (go32_create_inferior): Use xfree instead of free.
* config/djgpp/fnchange.lst: Add entries for i386bsd-tdep.c and
i386bsd-nat.c.
Andrew Cagney [Fri, 24 Aug 2001 04:46:43 +0000 (04:46 +0000)]
* gdbtypes.h (builtin_type_ieee_single_big)
(builtin_type_ieee_single_little, builtin_type_ieee_double_big)
(builtin_type_ieee_double_little)
(builtin_type_ieee_double_littlebyte_bigword)
(builtin_type_i387_ext, builtin_type_m68881_ext)
(builtin_type_i960_ext, builtin_type_m88110_ext)
(builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
(builtin_type_arm_ext_littlebyte_bigword)
(builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
(builtin_type_ia64_quad_big)
(builtin_type_ia64_quad_little): Declare.
* gdbtypes.c (builtin_type_ieee_single_big)
(builtin_type_ieee_single_little, builtin_type_ieee_double_big)
(builtin_type_ieee_double_little)
(builtin_type_ieee_double_littlebyte_bigword)
(builtin_type_i387_ext, builtin_type_m68881_ext)
(builtin_type_i960_ext, builtin_type_m88110_ext)
(builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
(builtin_type_arm_ext_littlebyte_bigword)
(builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
(builtin_type_ia64_quad_big)
(builtin_type_ia64_quad_little): Define.
(_initialize_gdbtypes): Initialize builtin floatformat types.
Thiemo Seufer [Fri, 24 Aug 2001 03:56:28 +0000 (03:56 +0000)]
* linker.c (_bfd_generic_link_add_archive_symbols): Replace alloca()
by bfd_malloc().
Joern Rennecke [Fri, 24 Aug 2001 00:20:01 +0000 (00:20 +0000)]
* internal.h (R_JMP2, R_JMPL2, R_MOVL2): Comment spelling fix.
gdbadmin [Fri, 24 Aug 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Jakub Jelinek [Thu, 23 Aug 2001 20:43:01 +0000 (20:43 +0000)]
* config/tc-ia64.c (dot_endp): Set function symbol sizes.
* config/obj-elf.c (obj_elf_size): When size is constant, free
and clear symbol_get_obj(sym)->size if any.
Mark Kettenis [Thu, 23 Aug 2001 20:31:36 +0000 (20:31 +0000)]
* tracepoint.c (read_actions): Add FIXME for code depending on
STOP_SIGNAL.
Martin Hunt [Thu, 23 Aug 2001 19:27:52 +0000 (19:27 +0000)]
2001-08-23 Martin M. Hunt <hunt@redhat.com>
* remote-mips.c (pmon_load_fast): Add ui_load_progress_hook
to download loop.
(mips_load_srec): Ditto.
Andreas Jaeger [Thu, 23 Aug 2001 18:14:29 +0000 (18:14 +0000)]
* elf64-x86-64.c (elf64_x86_64_check_relocs): Set DF_TEXTREL if
the reloc is against read-only section.
(elf64_x86_64_size_dynamic_sections): Use DF_TEXTREL flag instead
of looking up section names for DT_TEXTREL.
(elf64_x86_64_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.
Nick Clifton [Thu, 23 Aug 2001 17:05:52 +0000 (17:05 +0000)]
Add more missing prototypes
DJ Delorie [Thu, 23 Aug 2001 16:38:09 +0000 (16:38 +0000)]
merge from gcc
H.J. Lu [Thu, 23 Aug 2001 15:45:19 +0000 (15:45 +0000)]
2001-08-23 H.J. Lu <hjl@gnu.org>
* syms.c (bfd_print_symbol_vandf): Add abfd to arg.
* bfd-in2.h (bfd_print_symbol_vandf): Regenerated.
* aoutx.h (NAME(aout,print_symbol)): Pass abfd to
bfd_print_symbol_vandf.
* coffgen.c (coff_print_symbol): Likewise.
* elf.c (bfd_elf_print_symbol): Likewise.
* ieee.c (ieee_print_symbol): Likewise.
* nlmcode.h (nlm_print_symbol): Likewise.
* oasys.c (oasys_print_symbol): Likewise.
* pdp11.c (NAME(aout,print_symbol)): Likewise.
* som.c (som_print_symbol): Likewise.
* srec.c (srec_print_symbol): Likewise.
* tekhex.c (tekhex_print_symbol): Likewise.
* versados.c (versados_print_symbol): Likewise.
* vms.c (vms_print_symbol): Likewise.
* elf.c (_bfd_elf_print_private_bfd_data): Replace fprintf_vma
with bfd_fprintf_vma.
(bfd_elf_print_symbol): Likewise.
* syms.c (bfd_print_symbol_vandf): Likewise.
Nick Clifton [Thu, 23 Aug 2001 15:30:34 +0000 (15:30 +0000)]
Add missing prototypes for bout.c
Jakub Jelinek [Thu, 23 Aug 2001 15:14:18 +0000 (15:14 +0000)]
* elf-bfd.h (enum elf_reloc_type_class): New.
(struct elf_backend_data): Add elf_backend_reloc_type_class.
(_bfd_elf_reloc_type_class): New.
* elfxx-target.h (elf_backend_reloc_type_class): Define.
(elfNN_bed): Add elf_backend_reloc_type_class.
* elf.c (_bfd_elf_reloc_type_class): New.
* elf32-i386.c (elf_i386_check_relocs): Set DF_TEXTREL if the reloc
is against read-only section.
(elf_i386_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.
(elf_i386_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.
* elf32-sparc.c (elf32_sparc_check_relocs): Set DF_TEXTREL if the
reloc is against read-only section.
(elf32_sparc_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.
(elf32_sparc_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.
* elf64-sparc.c (sparc64_elf_check_relocs): Set DF_TEXTREL if the
reloc is against read-only section.
(sparc64_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.
(sparc64_elf_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.
* elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add reltext field.
(elfNN_ia64_hash_table_create): Clear ia64_info.
(get_reloc_section): Set DF_TEXTREL if the reloc is against read-only
section.
(elfNN_ia64_size_dynamic_sections): Use ia64_info->reltext flag
instead of looking up section names for DT_TEXTREL.
(elfNN_ia64_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.
* elflink.h (size_dynamic_sections): Add spare DT_NULL tags.
(struct elf_link_sort_rela): New.
(elf_link_sort_cmp1, elf_link_sort_cmp2, elf_link_sort_relocs): New.
(elf_bfd_final_link): Call elf_link_sort_relocs.
Convert one spare DT_NULL into DT_RELCOUNT resp. DT_RELACOUNT if
necessary.
* bfdlink.h (struct bfd_link_info): Add combreloc and
spare_dynamic_tags fields.
* emultempl/elf32.em (place_orphan): Place orphan .rel* sections
into .rel.dyn resp. .rela.dyn if combreloc.
(get_script): If .x linker script is equal to .xn, only put it
once into the binary.
Add .xc and .xsc scripts.
(parse_args): Handle -z combreloc and -z nocombreloc.
* scripttempl/elf.sc (.rela.sbss): Fix a typo.
For .xc and .xsc scripts put all .rel* or .rela* input sections
but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
* genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
is elf.
Strip trailing whitespace from script.
Generate .xc and .xsc scripts if requested.
* ldmain.c (main): Initialize link_info.combreloc and
link_info.spare_dynamic_tags.
* lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
(ld_options): Add --spare-dynamic-tags option.
(parse_args): Likewise.
* ld.texinfo: Document -z combreloc and -z nocombreloc.
* ldint.texinfo: Document .xc and .xsc linker scripts.
* NEWS: Add notes about -z combreloc and SHF_MERGE.
DJ Delorie [Thu, 23 Aug 2001 14:51:49 +0000 (14:51 +0000)]
merge from gcc
Nick Clifton [Thu, 23 Aug 2001 14:33:50 +0000 (14:33 +0000)]
No corefile support for x86-bsdi systems
Andreas Jaeger [Thu, 23 Aug 2001 06:38:56 +0000 (06:38 +0000)]
* opcodes/s390-opc.c: Add "low or high" and "not low or high"
branch instructions for gcc 3.0.
* opcodes/s390-opc.txt: Likewise.
Andrew Cagney [Thu, 23 Aug 2001 01:09:38 +0000 (01:09 +0000)]
Add TYPE_FLOATFORMAT().
gdbadmin [Thu, 23 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
DJ Delorie [Wed, 22 Aug 2001 22:55:38 +0000 (22:55 +0000)]
merge from gcc
Thiemo Seufer [Wed, 22 Aug 2001 18:42:07 +0000 (18:42 +0000)]
* readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.
H.J. Lu [Wed, 22 Aug 2001 16:00:25 +0000 (16:00 +0000)]
2001-08-22 H.J. Lu <hjl@gnu.org>
* emulparams/elf32fr30.sh: Add a newline.
Nick Clifton [Wed, 22 Aug 2001 08:43:00 +0000 (08:43 +0000)]
Add missing comma
DJ Delorie [Wed, 22 Aug 2001 02:12:15 +0000 (02:12 +0000)]
merge from gcc
gdbadmin [Wed, 22 Aug 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
DJ Delorie [Tue, 21 Aug 2001 22:39:47 +0000 (22:39 +0000)]
* coff-go32.c: Set the alignment of dwarf2 linkonce sections to 0.
* coff-stgo32.c: Likewise.
DJ Delorie [Tue, 21 Aug 2001 20:23:38 +0000 (20:23 +0000)]
* coff-go32.c: Make DWARF2 sections use an alignment of 0.
* coff-sto32.c: Likewise.
Keith Seitz [Tue, 21 Aug 2001 19:25:40 +0000 (19:25 +0000)]
* printcmd.c (print_insn): Use the given stream for
output.
Nick Clifton [Tue, 21 Aug 2001 16:04:37 +0000 (16:04 +0000)]
Return if target is `vax-*-ultrix*'.
Continue with other tests when there is a compilation error.
H.J. Lu [Tue, 21 Aug 2001 15:54:16 +0000 (15:54 +0000)]
2001-08-21 H.J. Lu <hjl@gnu.org>
* binutils-all/readelf.r: Updated for the readelf change.
* binutils-all/readelf.r-64: New for the readelf change.
DJ Delorie [Tue, 21 Aug 2001 15:19:19 +0000 (15:19 +0000)]
merge from gcc
H.J. Lu [Tue, 21 Aug 2001 15:08:38 +0000 (15:08 +0000)]
2001-08-21 H.J. Lu <hjl@gnu.org>
* readelf.c (dump_relocations): Support ELF64 on 32bit hosts.
(display_debug_info): Cast for 64bit hosts.
(display_debug_frames): Likewise.
(process_mips_specific): Likewise.
Andreas Jaeger [Tue, 21 Aug 2001 11:42:57 +0000 (11:42 +0000)]
* deffilep.y: Add missing prototypes.
* pe-dll.c: Likewise.
Andreas Jaeger [Tue, 21 Aug 2001 10:02:27 +0000 (10:02 +0000)]
* coffgrok.h: Add missing parameter for prototype of coff_grok.
* sysdump.c: Add missing prototypes.
* srconv.c: Likewise.
* unwind-ia64.c: Likewise.
* coffdump.c: Likewise.
* sysinfo.y: Print prototypes, include <ansidecl.h>.
* coffgrok.c: Add missing prototypes, include libiberty.h instead
of declaring xcalloc.
Andreas Jaeger [Tue, 21 Aug 2001 08:51:12 +0000 (08:51 +0000)]
* mips-dis.c: Add missing prototypes.
* a29k-dis.c: Likewise.
* arc-dis.c: Likewise.
* ia64-opc.c: Likewise.
Andreas Jaeger [Tue, 21 Aug 2001 08:42:28 +0000 (08:42 +0000)]
* i960-dis.c: Add parameters for prototypes
(ctrl): Add unused attributes.
(cobr): Likewise.
(put_abs): Likewise.
* mips-dis.c: Add missing prototypes.
* a29k-dis.c: Likewise.
* arc-dis.c: Likewise.
* ia64-opc.c: Likewise.
* s390-dis.c: Add missing prototypes.
(init_disasm): Remove unused attribute since the parameter is
used.
Andreas Jaeger [Tue, 21 Aug 2001 08:40:23 +0000 (08:40 +0000)]
* coff-sparc.c: Add missing prototypes.
* elf32-s390.c: Likewise.
* elf32-i960.c: Likewise.
* aout-target.h: Likewise.
Andrew Cagney [Tue, 21 Aug 2001 04:31:32 +0000 (04:31 +0000)]
* arm-tdep.c (convert_from_extended, convert_to_extended): Delete
assembler version of function.
(convert_from_extended, convert_to_extended): Rewrite. Use
floatformat_to_doublest, floatformat_from_doublest,
floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword.
(arm_push_arguments): Use extract_floating and store_floating to
perform floating point conversions.
(SWAP_TARGET_AND_HOST): Delete macro.
* arm-linux-tdep.c (arm_linux_push_arguments): Use
extract_floating and store_floating to perform floating point
conversions.
Thiemo Seufer [Tue, 21 Aug 2001 01:13:05 +0000 (01:13 +0000)]
* tc_mips.c (md_begin): Warn about incompatibility between -march=FOO
and -mipsN option, continue with default ISA.
H.J. Lu [Tue, 21 Aug 2001 01:02:41 +0000 (01:02 +0000)]
2001-08-20 H.J. Lu <hjl@gnu.org>
* elf-bfd.h (elf_obj_tdata): Add num_section_syms.
(elf_num_section_syms): New for num_section_syms.
* elf.c (elf_map_symbols): Set num_section_syms.
(_bfd_elf_symbol_from_bfd_symbol): Check num_section_syms for
the section symbol index.
Thiemo Seufer [Tue, 21 Aug 2001 00:59:48 +0000 (00:59 +0000)]
* config/tc-mips.c (md_parse_option): #ifdef the
traditional/non-traditional names as it is done in mips_target_format.
Andrew Cagney [Tue, 21 Aug 2001 00:24:58 +0000 (00:24 +0000)]
* gdbtypes.h (struct type): Clarify meaning of field ``length''.
Richard Henderson [Tue, 21 Aug 2001 00:22:23 +0000 (00:22 +0000)]
* config/tc-alpha.h (MD_APPLY_FIX3): Define.
* config/tc-alpha.c (md_apply_fix3): Rename from md_apply_fix;
use seg parameter instead of now_seg.
Andrew Cagney [Tue, 21 Aug 2001 00:20:07 +0000 (00:20 +0000)]
* floatformat.h (floatformat_arm_ext): Document as deprecated.
(floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
(floatformat_ia64_spill_little, floatformat_ia64_quad_little)
(floatformat_ia64_spill_big, floatformat_ia64_quad_big)
(floatformat_m88110_harris_ext): Declare.
gdbadmin [Tue, 21 Aug 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Nick Clifton [Mon, 20 Aug 2001 14:28:46 +0000 (14:28 +0000)]
Never select the generic has table creator. All elf backends need elf specific
fields in the hash table.
Alan Modra [Mon, 20 Aug 2001 03:29:21 +0000 (03:29 +0000)]
* config.sub, config.guess: Import latest from subversions.
Alan Modra [Mon, 20 Aug 2001 03:09:07 +0000 (03:09 +0000)]
* ldlang.c (insert_pad): Fix typos in last patch.
Alan Modra [Mon, 20 Aug 2001 02:14:50 +0000 (02:14 +0000)]
* ldlang.c: When traversing lang_statement_union_type lists,
consistently use "header.next" rather than "next".
* mpw-eppcmac.c: Likewise.
* emultempl/beos.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/pe.em: Likewise.
* ldlang.h (union lang_statement_union): Remove "next" field.
Alan Modra [Mon, 20 Aug 2001 01:21:08 +0000 (01:21 +0000)]
* ldlang.c (insert_pad): Use offsetof macro.
(lang_size_sections): Always neuter padding statements.
* emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
Alan Modra [Mon, 20 Aug 2001 00:22:41 +0000 (00:22 +0000)]
* pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
passed to lang_size_sections.
(pe_exe_fill_sections): Likewise.
* emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
(gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
gdbadmin [Mon, 20 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 19 Aug 2001 23:42:47 +0000 (23:42 +0000)]
* archive.c (offsetof): Remove define.
* elf.c: Likewise.
* oasys.c: Likewise
* sysdep.h (offsetof): Define.
Andrew Cagney [Sun, 19 Aug 2001 01:23:43 +0000 (01:23 +0000)]
* mi0-var-block.exp, mi0-stack.exp, mi0-simplerun.exp,
mi0-regs.exp, mi0-watch.exp, mi0-stepi.exp, mi0-until.exp,
mi0-return.exp, mi0-read-memory.exp, mi0-eval.exp,
mi0-disassemble.exp, mi0-console.exp, mi-watch.exp,
mi-var-display.exp, mi-var-cmd.exp, mi-var-child.exp,
mi-until.exp, mi-var-block.exp, mi-stepi.exp, mi-stack.exp,
mi-simplerun.exp, mi-return.exp, mi-regs.exp, mi-read-memory.exp,
mi-disassemble.exp, mi-eval.exp, mi-console.exp: Replace pattern
matching thread=0 with one to also match thread=1.
Fix PR gdb/190.
Andrew Cagney [Sun, 19 Aug 2001 01:02:58 +0000 (01:02 +0000)]
* lib/mi-support.exp (mi_gdb_start): If a remote target, use the
CLI jump command to start it.
(mi_run_to_main): Fail immediatly when unexpected output.
Andrew Cagney [Sun, 19 Aug 2001 00:37:28 +0000 (00:37 +0000)]
* mi0-until.exp, mi-until.exp, mi0-stepi.exp, mi-stepi.exp,
mi-simplerun.exp, mi0-simplerun.exp, mi0-return.exp,
mi-return.exp, mi0-console.exp, mi-console.exp: Recognize an
unexpected run-to-main response. Report as a fail.
gdbadmin [Sun, 19 Aug 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
DJ Delorie [Sat, 18 Aug 2001 23:47:14 +0000 (23:47 +0000)]
merge from gcc
Andrew Cagney [Sat, 18 Aug 2001 21:34:28 +0000 (21:34 +0000)]
* lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
beginning of function. Fix PR gdb/191.
H.J. Lu [Sat, 18 Aug 2001 18:03:24 +0000 (18:03 +0000)]
2001-08-18 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (show): Add the missing prototype.
Thiemo Seufer [Sat, 18 Aug 2001 17:24:52 +0000 (17:24 +0000)]
* config/tc-mips.c (S_EX_*): New enum for my_getSmallExpression()
return values.
(mips_ip): Use the new return values instead of characters. Add
support for %higher and %highest.
(LP): Remove.
(RP): Remove.
(my_getSmallExpression): Make parsing case insensitive and more
reliable. Add support for %higher and %highest. Further support to
parse %gprel and %neg is implemented but currently deactivated.
Alan Modra [Sat, 18 Aug 2001 15:42:26 +0000 (15:42 +0000)]
* emultempl/aix.em: Formatting fixes.
Alan Modra [Sat, 18 Aug 2001 14:54:26 +0000 (14:54 +0000)]
* ldlang.c (insert_pad): Make use of an existing pad statement if
available. Move code calculating alignment, adjusting section
alignment power, and adjusting dot to ..
(size_input_section): .. here. Remove unused relax param.
(lang_size_sections): Change boolean `relax' param to boolean *.
Adjust call to size_input_section. Make use of insert_pad to
place pad after the assignment statement. If relaxing, zap
padding statements.
(reset_memory_regions): Reset output_bfd section sizes too.
(relax_again): Move to..
(lang_process): ..here. Adjust call to lang_size_sections, and
remove duplicated code.
* ldlang.h (lang_size_sections): Change `relax' param to boolean *.
gdbadmin [Sat, 18 Aug 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
DJ Delorie [Fri, 17 Aug 2001 21:14:20 +0000 (21:14 +0000)]
merge from gcc
H.J. Lu [Fri, 17 Aug 2001 20:37:05 +0000 (20:37 +0000)]
2001-08-17 H.J. Lu <hjl@gnu.org>
* gas/sparc/unalign.d: Support Sparc V9.
Keith Seitz [Fri, 17 Aug 2001 19:01:22 +0000 (19:01 +0000)]
* mi-cmd-var.c (varobj_update_one): Update call to
varobj_update to reflect recent api change.
Keith Seitz [Fri, 17 Aug 2001 18:56:49 +0000 (18:56 +0000)]
* varobj.c (varobj_update): Change first parameter to
pointer to struct varobj*. This function can delete
varobjs, so we need to give callers the new varobj
when this happens.
(value_of_root): Update "var", too, if "var_handle"
changes.
* varobj.h (varobj_update): Likewise.
Keith Seitz [Fri, 17 Aug 2001 17:58:25 +0000 (17:58 +0000)]
* Makefile.in (varobj_h): Define.
(mi-cmd-var.o): Depends on varobj_h.
(gdbtk-varobj.o): Change varobj.h to $(varobj_h).
Alan Modra [Fri, 17 Aug 2001 16:01:49 +0000 (16:01 +0000)]
* ecoff.c (ecoff_frob_symbol): Remove casts from bfd_get_gp_size.
(ecoff_build_symbols): Likewise.
* read.c (s_lcomm_internal): Fix signed/unsigned warning.
Alan Modra [Fri, 17 Aug 2001 15:56:58 +0000 (15:56 +0000)]
* bfd.c (bfd_get_gp_size): Return an unsigned int.
(bfd_set_gp_size): Make param unsigned.
* bfd-in2.h: Regenerate.
* elf32-ppc.c (ppc_elf_add_symbol_hook): Use elf_gp_size rather
than calling bfd_get_gp_size.
* elf64-alpha.c (elf64_alpha_add_symbol_hook): Likewise.
* elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Likewise.
Alan Modra [Fri, 17 Aug 2001 09:51:08 +0000 (09:51 +0000)]
* ld.texinfo: Document that fill values now use the four least
significant bytes.
* emulparams/elf32fr30.sh (NOP): Update.
* emulparams/elf32mcore.sh: Likewise.
* emulparams/elf64_s390.sh: Likewise.
* emulparams/elf_i386.sh: Likewise.
* emulparams/elf_i386_be.sh: Likewise.
* emulparams/elf_i386_chaos.sh: Likewise.
* emulparams/elf_i386_ldso.sh: Likewise.
* emulparams/elf_s390.sh: Likewise.
* emulparams/elf_x86_64.sh: Likewise.
* emulparams/i386moss.sh: Likewise.
* emulparams/i386nw.sh: Likewise.
* emulparams/m68kelf.sh: Likewise.
* scripttempl/elf.sc: Update NOP comment.
* scripttempl/elfi370.sc: Likewise.
* scripttempl/elfm68hc11.sc: Likewise.
* scripttempl/elfm68hc12.sc: Likewise.
* scripttempl/nw.sc: Likewise.
Alan Modra [Fri, 17 Aug 2001 09:50:05 +0000 (09:50 +0000)]
* linker.c (default_fill_link_order): Handle four byte fill value.
Alan Modra [Fri, 17 Aug 2001 09:44:19 +0000 (09:44 +0000)]
* elf64-sparc.c (sparc64_elf_output_arch_syms): Add missing
prototype.
* nlm32-alpha.c (nlm_alpha_write_external): Fix warning.
Alan Modra [Fri, 17 Aug 2001 09:21:34 +0000 (09:21 +0000)]
* elf64-mips.c (UNUSED_RELOC): Define.
(mips_elf64_howto_table_rel): Use it.
(mips_elf64_howto_table_rela): Here too.
(mips_elf64_write_relocs): Fix signed/unsigned warning.
Alan Modra [Fri, 17 Aug 2001 09:19:10 +0000 (09:19 +0000)]
Oops missed from last commit