binutils-gdb.git
23 years ago2001-10-12 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 12 Oct 2001 23:51:30 +0000 (23:51 +0000)]
2001-10-12  Daniel Jacobowitz  <drow@mvista.com>

        * symtab.h (struct block): (ALL_BLOCK_SYMBOLS): New macro.

        * symtab.c (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS.
        (make_symbol_completion_list): Likewise.
        (make_symbol_overload_list): Likewise.
        * buildsym.c (finish_block): Likewise.
        * breakpoint.c (get_catch_sals):  Likewise.
        * mdebugread.c (mylookup_symbol): Likewise.
        * objfiles.c (objfile_relocate): Likewise.
        * printcmd.c (print_frame_args): Likewise.
        * stack.c (print_block_frame_locals): Likewise.
        (print_block_frame_labels): Likewise.
        (print_frame_arg_vars): Likewise.
        * symmisc.c (dump_symtab): Likewise.
        * tracepoint.c (add_local_symbols): Likewise.
        (scope_info): Likewise.

2001-10-12  Daniel Jacobowitz  <drow@mvista.com>

        * mi-cmd-stack.c (list_args_or_locals): Use ALL_BLOCK_SYMBOLS.

2001-10-12  Daniel Jacobowitz  <drow@mvista.com>

        * generic/gdbtk-cmds.c (gdb_listfuncs): Use ALL_BLOCK_SYMBOLS.
        * generic/gdbtk-stack.c (gdb_block_vars): Likewise.
        (gdb_get_blocks): Likewise.
        (gdb_get_vars_command): Likewise.
5~

23 years ago* Makefile.in (MAKEHTMLFLAGS): Remove -glossary; the most recent
Jim Blandy [Fri, 12 Oct 2001 21:10:07 +0000 (21:10 +0000)]
* Makefile.in (MAKEHTMLFLAGS): Remove -glossary; the most recent
version of texi2html (1.64) doesn't support this flag any more.

23 years ago * minsyms.c (msymbol_hash): Use better hash function.
Daniel Jacobowitz [Fri, 12 Oct 2001 19:07:07 +0000 (19:07 +0000)]
    * minsyms.c (msymbol_hash): Use better hash function.
        (msymbol_hash_iw): Likewise.  Terminate loop at '(' properly.

        * objfiles.h: Increase MINIMAL_SYMBOL_HASH_SIZE to match modern
        binaries.

23 years ago2001-10-12 John Healy <jhealy@redhat.com>
John Healy [Fri, 12 Oct 2001 18:28:57 +0000 (18:28 +0000)]
2001-10-12  John Healy  <jhealy@redhat.com>

        * cgen-dis.in (print_insn): Use min (cd->base_insn_bitsize, buflen*8)
        for the length when extracting the base part of the insn.

23 years ago * printcmd.c (print_frame_args): Move symbol iteration explicitly
Daniel Jacobowitz [Fri, 12 Oct 2001 17:15:34 +0000 (17:15 +0000)]
    * printcmd.c (print_frame_args):  Move symbol iteration explicitly
        inside the func != NULL block.

23 years ago2001-10-12 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Fri, 12 Oct 2001 15:59:11 +0000 (15:59 +0000)]
2001-10-12  Fernando Nasser  <fnasser@redhat.com>

* MAINTAINERS (Misc): Add Ian Roxborough as tcl/, tk/ and itcl/
maintainer.

23 years agoTreat R_ARM_THM_PC22 like R_ARM_PC24.
Nick Clifton [Fri, 12 Oct 2001 11:16:21 +0000 (11:16 +0000)]
Treat R_ARM_THM_PC22 like R_ARM_PC24.

23 years agoInclude -z nocopyreloc in usage
Nick Clifton [Fri, 12 Oct 2001 10:34:25 +0000 (10:34 +0000)]
Include -z nocopyreloc in usage

23 years ago * readelf.c (get_section_type_name): Don't print SHT_ prefix for
Jakub Jelinek [Fri, 12 Oct 2001 09:23:29 +0000 (09:23 +0000)]
* readelf.c (get_section_type_name): Don't print SHT_ prefix for
LOPROC, LOOS and LOUSER.

23 years agoGenerate warning message if .endr is used without preceeding .rept/.irc/.irp
Nick Clifton [Fri, 12 Oct 2001 08:56:17 +0000 (08:56 +0000)]
Generate warning message if .endr is used without preceeding .rept/.irc/.irp

23 years agoUpdate contact address
Nick Clifton [Fri, 12 Oct 2001 08:07:40 +0000 (08:07 +0000)]
Update contact address

23 years ago* config/i386/tm-cygwin.h: include tm-i386.h instead of tm-i386v.h. This fixes
Christopher Faylor [Fri, 12 Oct 2001 04:32:16 +0000 (04:32 +0000)]
* config/i386/tm-cygwin.h: include tm-i386.h instead of tm-i386v.h.  This fixes
errors in "long long" handling for 'finish' and 'return' commands.
* win32-nat.c (safe_symbol_file_add_stub): Avoid adding a shared library if it
has already been loaded.
(safe_symbol_file_add_cleanup): Don't mess with stderr or we won't see any
error messages.
(safe_symbol_file_add): Ditto.
(solib_symbols_add): Make static.  Accept 'from_tty' parameter.  Pass it to
safe_symbol_file_add.
(core_dll_symbols_add): Accomodate extra solib_symbols_add parameter.
(child_solib_add): Ditto.
* win32-nat.c (handle_exception): Don't print "first chance" exceptions.
(get_child_debug_event): Continue from exceptions if !handle_exception.

23 years ago * symtab.c (lookup_symtab): Removed.
Tom Tromey [Fri, 12 Oct 2001 03:38:12 +0000 (03:38 +0000)]
* symtab.c (lookup_symtab): Removed.
(lookup_symtab_1): Renamed to lookup_symtab.

23 years agodaily update
Alan Modra [Fri, 12 Oct 2001 00:00:09 +0000 (00:00 +0000)]
daily update

23 years ago*** empty log message ***
gdbadmin [Fri, 12 Oct 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * config/tc-alpha.c: Fix comment typos.
Kazu Hirata [Thu, 11 Oct 2001 23:56:33 +0000 (23:56 +0000)]
* config/tc-alpha.c: Fix comment typos.
* config/tc-cris.c: Likewise.
* config/tc-hppa.c: Likewise.
* config/tc-i370.c: Likewise.
* config/tc-mips.c: Likewise.
* config/tc-mn10200.c: Likewise.
* config/tc-mn10300.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-tahoe.c: Likewise.
* config/tc-v850.c: Likewise.

23 years ago * MAINTAINERS: Update my email address.
Joern Rennecke [Thu, 11 Oct 2001 20:47:46 +0000 (20:47 +0000)]
* MAINTAINERS: Update my email address.

23 years agoFix arm aout placement of .bss section
Nick Clifton [Thu, 11 Oct 2001 17:28:43 +0000 (17:28 +0000)]
Fix arm aout placement of .bss section

23 years ago* pe-dll.c (autofilter_entry_type autofilter_liblist: Add
DJ Delorie [Thu, 11 Oct 2001 17:16:58 +0000 (17:16 +0000)]
* pe-dll.c (autofilter_entry_type autofilter_liblist: Add
startup files for mingw32 dlls to list.

23 years ago * app.c: Fix comment typos.
Kazu Hirata [Thu, 11 Oct 2001 12:20:25 +0000 (12:20 +0000)]
* app.c: Fix comment typos.
* bit_fix.h: Likewise.
* expr.c: Likewise.
* itbl-ops.c: Likewise.

23 years agoUse ISSPACE instead of isspace
Nick Clifton [Thu, 11 Oct 2001 07:17:47 +0000 (07:17 +0000)]
Use ISSPACE instead of isspace

23 years ago* win32-nat.c (get_child_debug_event): Close file handles created after process
Christopher Faylor [Thu, 11 Oct 2001 01:55:58 +0000 (01:55 +0000)]
* win32-nat.c (get_child_debug_event): Close file handles created after process
creation and DLL load.
(child_create_inferior): Close unneeded process/thread handle after thread
creation.

23 years agodaily update
Alan Modra [Thu, 11 Oct 2001 00:00:06 +0000 (00:00 +0000)]
daily update

23 years ago*** empty log message ***
gdbadmin [Thu, 11 Oct 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-10-10 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 10 Oct 2001 23:05:55 +0000 (23:05 +0000)]
2001-10-10  Chris Demetriou  <cgd@broadcom.com>

        * emultempl/elf32.em: Fix shell 'if' usage for portability.

23 years ago* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
Jim Blandy [Wed, 10 Oct 2001 21:22:44 +0000 (21:22 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.

23 years ago * elflink.h (elf_link_sort_cmp2): Don't mix PLT and non-PLT
Jakub Jelinek [Wed, 10 Oct 2001 19:32:02 +0000 (19:32 +0000)]
* elflink.h (elf_link_sort_cmp2): Don't mix PLT and non-PLT
relocations against the same symbol in .rel{,a}.dyn section.

23 years ago * varobj.c (cplus_value_of_child): Deal with a failure
Keith Seitz [Wed, 10 Oct 2001 17:01:52 +0000 (17:01 +0000)]
* varobj.c (cplus_value_of_child): Deal with a failure
to dereference a pointer object.

23 years ago * aout-encap.c: Fix comment typos.
Kazu Hirata [Wed, 10 Oct 2001 12:08:29 +0000 (12:08 +0000)]
* aout-encap.c: Fix comment typos.
* aoutx.h: Likewise.
* archive.c: Likewise.
* bout.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffgen.c: Likewise.
* cofflink.c: Likewise.
* coff-mips.c: Likewise.
* ecoff.c: Likewise.
* elf32-m32r.c: Likewise.
* libcoff-in.h: Likewise.
* libecoff.h: Likewise.
* libxcoff.h: Likewise.
* nlm32-i386.c: Likewise.
* pdp11.c: Likewise.
* section.c: Likewise.
* som.c: Likewise.
* som.h: Likewise.
* bfd-in2.h: Regenerate.
* libcoff.h: Likewise.

23 years ago * elf.c (elf_map_symbols): Don't create new section symbols; Use
Alan Modra [Wed, 10 Oct 2001 11:19:54 +0000 (11:19 +0000)]
* elf.c (elf_map_symbols): Don't create new section symbols; Use
existing section syms.  Update comments.
(copy_private_bfd_data): Formatting fixes.
(elfcore_grok_win32pstatus): Likewise.
(swap_out_syms): Likewise.  Remove unnecessary level of braces.

23 years agowork around locale problems for case insensitivity
Nick Clifton [Wed, 10 Oct 2001 09:13:05 +0000 (09:13 +0000)]
work around locale problems for case insensitivity

23 years ago * config/tc-mips.c (mips_cpreturn_offset): New variable.
Thiemo Seufer [Wed, 10 Oct 2001 01:08:35 +0000 (01:08 +0000)]
* config/tc-mips.c (mips_cpreturn_offset): New variable.
(mips_cpreturn_register): Likewise.
(mips_gp_register): Likewise.
(s_cpsetup): New function prototype.
(s_cplocal): Likewise.
(s_cpreturn): Likewise.
(s_gpvalue): Likewise.
(mips_pseudo_table): Add .cpsetup, .cplocal, .cpreturn, .gpvalue
pseudo-ops.
(macro): Don't warn about .cprestore for NewABI.
(md_pcrel_from): Code cleanup.
(mips_force_relocation): Force output of some NewABI relocations even
without a defined symbol.
(s_cpload): Ignore .cpload for NewABI.
(s_cpsetup): Handle .cpsetup.
(s_cplocal): Handle .cplocal.
(s_cprestore): Ignore .cprestore for NewABI.
(s_cpreturn): Handle .cpreturn.
(s_gpvalue): Handle .gpvalue.
(s_cpadd): Ignore .cpadd for NewABI.
(nopic_need_relax): Take g_switch_value into account as gp
optimization.
(tc_gen_reloc): Don't handle BFD_RELOC_MIPS_{CALL,GOT}* for NewABI.

23 years ago * config/tc-mips.c (my_getSmallParser): New function prototype.
Thiemo Seufer [Wed, 10 Oct 2001 00:54:53 +0000 (00:54 +0000)]
* config/tc-mips.c (my_getSmallParser): New function prototype.
(small_ex_type): Named this enum, more return values for
my_getSmallExpression.
(mips_ip): Allow SPC and HT between arguments. Handle some NewABI
triple relocations. Protect some parts with ifdef OBJ_ELF.
(percent_op_match): New struct, lookup table for %some_reloc().
(my_getSmallParser): New function, parses nested percent_ops also.
(my_getSmallExpression): Rewite to support nested percent_ops.

23 years ago * config/tc-mips.c
Thiemo Seufer [Wed, 10 Oct 2001 00:43:36 +0000 (00:43 +0000)]
* config/tc-mips.c
(load_address): Support both 32- and 64-bit addresses.
(macro): Call load_register correctly. Expand 64-bit loads ans stores.
(macro2): Call load_address correctly.

23 years agomerge from gcc
DJ Delorie [Wed, 10 Oct 2001 00:05:13 +0000 (00:05 +0000)]
merge from gcc

23 years agodaily update
Alan Modra [Wed, 10 Oct 2001 00:00:08 +0000 (00:00 +0000)]
daily update

23 years ago*** empty log message ***
gdbadmin [Wed, 10 Oct 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

23 years agofix z8k assembly and disassembly
Nick Clifton [Tue, 9 Oct 2001 17:25:58 +0000 (17:25 +0000)]
fix z8k assembly and disassembly

23 years ago * config/tc-arm.c: Change MAVERIK to MAVERICK.
Aldy Hernandez [Tue, 9 Oct 2001 16:08:57 +0000 (16:08 +0000)]
* config/tc-arm.c: Change MAVERIK to MAVERICK.

23 years ago * config/obj-elf.c: Make use of elf_group_name and elf_next_in_group
Alan Modra [Tue, 9 Oct 2001 13:13:09 +0000 (13:13 +0000)]
* config/obj-elf.c: Make use of elf_group_name and elf_next_in_group
throughout file.
(obj_elf_change_section): Rename "group" to "group_name".
(obj_elf_section): Likewise.
(elf_frob_file): Don't use sec->lineno for SHT_GROUP section to store
first member section; Instead use elf_next_in_group.

23 years ago * elf-bfd.h (struct bfd_elf_section_data): Rename "group" to
Alan Modra [Tue, 9 Oct 2001 13:12:19 +0000 (13:12 +0000)]
* elf-bfd.h (struct bfd_elf_section_data): Rename "group" to
"group_name".
(elf_group_name): Define.
(elf_next_in_group): Define.
* elf.c: Make use of elf_group_name and elf_next_in_group throughout.
(setup_group): Don't use sec->lineno for SHT_GROUP section to store
first member section; Instead use elf_next_in_group.
(bfd_section_from_shdr): Likewise.
(set_group_contents): Likewise.  Use elf_section_syms, not sec->symbol.

23 years agoAdd test of SH DSP instructions
Nick Clifton [Tue, 9 Oct 2001 12:25:52 +0000 (12:25 +0000)]
Add test of SH DSP instructions

23 years agofix encoding & decoding of DSP single data transfer instructions
Nick Clifton [Tue, 9 Oct 2001 12:25:22 +0000 (12:25 +0000)]
fix encoding & decoding of DSP single data transfer instructions

23 years agoFix compile time warnings in cgen-generated files
Nick Clifton [Tue, 9 Oct 2001 08:54:58 +0000 (08:54 +0000)]
Fix compile time warnings in cgen-generated files

23 years ago * config/obj-elf.c: (obj_elf_change_section): Add "group" param.
Alan Modra [Tue, 9 Oct 2001 06:07:33 +0000 (06:07 +0000)]
* config/obj-elf.c: (obj_elf_change_section): Add "group" param.
Set elf_section_data group from it.  Warn if group name changed.
(obj_elf_parse_section_letters): Parse 'G' too.
(obj_elf_section): Parse group name.
(struct group_list): New.
(build_group_lists): New function.
(elf_frob_file): Create SEC_GROUP section(s).

* config/obj-elf.c: (elf_copy_symbol_attributes): Zap trailing
whitespace.

23 years ago * elf-bfd.h (struct bfd_elf_section_data): Add "group" and
Alan Modra [Tue, 9 Oct 2001 06:05:17 +0000 (06:05 +0000)]
* elf-bfd.h (struct bfd_elf_section_data): Add "group" and
"next_in_group".  Fix gp and gp_size comments.
* elf.c (union elf_internal_group): New.
(setup_group): New function.
(_bfd_elf_make_section_from_shdr): Set BFD flags for SHT_GROUP.
Call setup_group for SHF_GROUP sections.
(bfd_section_from_shdr): Build a BFD section for SHT_GROUP.
(elf_fake_sections): Set header type for SEC_GROUP, and header
flags for sections in a group.
(set_group_contents): New function.
(_bfd_elf_compute_section_file_positions): Call it.
(assign_section_numbers): Set sh_link for SHT_GROUP.
* elflink.h (gc_mark_hook): Handle section groups.
* elfxx-target.h: Add SEC_GROUP to applicable_flags.
* section.c (SEC_GROUP): Define.
(struct sec): Comment fixes.
* bfd-in2.h: Regenerate.

* elf.c (bfd_elf_print_symbol): Formatting fix; migrate expression
out of function args.
(_bfd_elf_canonicalize_reloc): Similarly.
(_bfd_elf_get_symtab): Here too.
(_bfd_elf_canonicalize_dynamic_symtab): And here.
* elfcode.h (elf_slurp_symbol_table): Don't recalculate size for
bfd_bread, and remove unnecessary cast.

23 years ago*** empty log message ***
gdbadmin [Tue, 9 Oct 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoDocument changes to hpux-thread.c.
Joel Brobecker [Mon, 8 Oct 2001 20:44:38 +0000 (20:44 +0000)]
Document changes to hpux-thread.c.

23 years agoRewrite find_active_thread() and find_tcb() to use ptid_t, instead of
Joel Brobecker [Mon, 8 Oct 2001 20:42:08 +0000 (20:42 +0000)]
Rewrite find_active_thread() and find_tcb() to use ptid_t, instead of
overloading the thread and the pid into the same 32-bit value. Make
associated necessary adaptations. Also remove unused variable
cached_active_thread.

23 years agoupdated credits
Aldy Hernandez [Mon, 8 Oct 2001 19:31:33 +0000 (19:31 +0000)]
updated credits

23 years ago * bfd/config.bfd (targ_cpu): Add arm9e-*-elf.
Aldy Hernandez [Mon, 8 Oct 2001 19:11:36 +0000 (19:11 +0000)]
    * bfd/config.bfd (targ_cpu): Add arm9e-*-elf.

23 years ago * gas/config/tc-arm.c (ARM_EXT_MAVERIK): New macro.
Aldy Hernandez [Mon, 8 Oct 2001 19:05:34 +0000 (19:05 +0000)]
* gas/config/tc-arm.c (ARM_EXT_MAVERIK): New macro.
(cirrus_regtype): New enum.
(LONGEST_INST): Change to 10.
(CIRRUS_MODE1): New.
(CIRRUS_MODE2): New.
(CIRRUS_MODE3): New.
(CIRRUS_MODE4): New.
(CIRRUS_MODE5): New.
(CIRRUS_MODE6): New.
(insns): Add cirrus dsp instructions.
(ARM_EXT_MAVERIKSC_REG): New.
(cirrus_register): New.
(cirrus_mvf_register): New.
(cirrus_mvd_register): New.
(cirrus_mvfx_register): New.
(cirrus_mvdx_register): New.
(cirrus_mvax_register): New.
(ARM_EXT_MAVERIKsc_register): New.
(reg_table): Add cirrus registers.
(cirrus_valid_reg): New.
(cirrus_reg_required_here): New.
(do_c_binops_1): New.
(do_c_binops_2): New.
(do_c_binops_3): New.
(do_c_triple_4): New.
(do_c_triple_5): New.
(do_c_quad_6): New.
(do_c_dspsc_1): New.
(do_c_dspsc_2): New.
(do_c_shift_1): New.
(do_c_shift_2): New.
(do_c_ldst_1): New.
(do_c_ldst_2): New.
(do_c_ldst_3): New.
(do_c_ldst_4): New.
(do_c_binops): New.
(do_c_triple): New.
(do_c_quad): New.
(do_c_dspsc): New.
(do_c_shift): New.
(cirrus_parse_offset): New.
(do_c_ldst): New.
(md_parse_option): Add arm9e.
(md_show_usage): Same.

23 years ago * MAINTAINERS (powerpc, SCO/Unixware, Solaris/x86): Remove my
Nicholas Duffek [Mon, 8 Oct 2001 19:05:00 +0000 (19:05 +0000)]
* MAINTAINERS (powerpc, SCO/Unixware, Solaris/x86): Remove my
entries.

23 years ago2001-10-08 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Mon, 8 Oct 2001 19:03:27 +0000 (19:03 +0000)]
2001-10-08  Aldy Hernandez  <aldyh@redhat.com>

* gas/doc/arm/c-arm.texi (ARM Options): Add arm9e documentation.

23 years ago2001-10-08 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Mon, 8 Oct 2001 19:00:14 +0000 (19:00 +0000)]
2001-10-08  Aldy Hernandez  <aldyh@redhat.com>

* gas/testsuite/gas/arm/arm.exp: Run arm9e tests.

* gas/testsuite/gas/arm/maverick.c: New.

* gas/testsuite/gas/arm/maverick.d: New.

* gas/testsuite/gas/arm/maverick.s: New.

23 years ago * gas/testsuite/gas/arm/arm.exp: Run arm9e tests.
Aldy Hernandez [Mon, 8 Oct 2001 18:59:16 +0000 (18:59 +0000)]
* gas/testsuite/gas/arm/arm.exp: Run arm9e tests.

* gas/testsuite/gas/arm/maverick.c: New.

* gas/testsuite/gas/arm/maverick.d: New.

* gas/testsuite/gas/arm/maverick.s: New.

23 years ago2001-10-08 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Mon, 8 Oct 2001 18:54:13 +0000 (18:54 +0000)]
2001-10-08  Aldy Hernandez  <aldyh@redhat.com>

* configure.tgt (targ): Add arm9e-*-elf.

23 years ago * opcodess/arm-opc.h (arm_opcodes): Add cirrus insns.
Aldy Hernandez [Mon, 8 Oct 2001 18:50:37 +0000 (18:50 +0000)]
    * opcodess/arm-opc.h (arm_opcodes): Add cirrus insns.

* opcodes/arm-dis.c (print_insn_arm): Add 'I' case.

23 years agoFix 2 xcoff line number problems
Tom Rix [Mon, 8 Oct 2001 18:14:43 +0000 (18:14 +0000)]
Fix 2 xcoff line number problems

23 years ago*** empty log message ***
gdbadmin [Mon, 8 Oct 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

23 years agomerge from gcc
DJ Delorie [Sun, 7 Oct 2001 22:42:23 +0000 (22:42 +0000)]
merge from gcc

23 years agomerge from gcc
DJ Delorie [Sun, 7 Oct 2001 17:24:36 +0000 (17:24 +0000)]
merge from gcc

23 years ago * config/obj-elf.c: Standardize error/warning messages - don't
Alan Modra [Sun, 7 Oct 2001 06:16:54 +0000 (06:16 +0000)]
* config/obj-elf.c: Standardize error/warning messages - don't
capitalise, no final period or newline, don't say "ignoring" for
as_bad messages.  In some cases, change the wording to that used
elsewhere for similar messages.
(obj_elf_section_name): New function, split out from ..
(obj_elf_section): .. here.  Correctly mask off SHF_MERGE if
entsize not specified.

23 years agodaily update
Alan Modra [Sun, 7 Oct 2001 00:00:06 +0000 (00:00 +0000)]
daily update

23 years ago*** empty log message ***
gdbadmin [Sun, 7 Oct 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.
Mark Kettenis [Sat, 6 Oct 2001 19:19:27 +0000 (19:19 +0000)]
* config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.

23 years ago * dwarf2.c (comp_unit_find_nearest_line): Check for end of
Stephane Carrez [Sat, 6 Oct 2001 10:01:09 +0000 (10:01 +0000)]
* dwarf2.c (comp_unit_find_nearest_line): Check for end of
compilation unit.

23 years ago * bfd.c (bfd_assert): Report bfd version.
Alan Modra [Sat, 6 Oct 2001 07:40:44 +0000 (07:40 +0000)]
* bfd.c (bfd_assert): Report bfd version.
(_bfd_abort): Likewise.

23 years ago * elflink.h (elf_link_input_bfd): Don't zero discarded link-once
Alan Modra [Sat, 6 Oct 2001 07:25:40 +0000 (07:25 +0000)]
* elflink.h (elf_link_input_bfd): Don't zero discarded link-once
section sym values.  Instead replace any relocs against them with
relocs against STN_UNDEF, which has a zero value.

23 years ago * elf32-arc.c (elf_arc_howto_table): Set partial_inplace for all
Alan Modra [Sat, 6 Oct 2001 06:41:47 +0000 (06:41 +0000)]
* elf32-arc.c (elf_arc_howto_table): Set partial_inplace for all
relocs.

23 years ago*** empty log message ***
gdbadmin [Sat, 6 Oct 2001 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

23 years agodaily update
Alan Modra [Sat, 6 Oct 2001 00:00:07 +0000 (00:00 +0000)]
daily update

23 years ago * som.h (som_exec_data): New field "version_id".
Jeff Law [Fri, 5 Oct 2001 21:55:12 +0000 (21:55 +0000)]
    * som.h (som_exec_data): New field "version_id".
        * som.c (som_object_setup): Record the version_id if it
        exists.
        (som_prep_headers): Do not initialize version_id here.
        (som_finish_writing): Initialize version_id here.

23 years ago2001-10-05 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 5 Oct 2001 16:40:23 +0000 (16:40 +0000)]
2001-10-05  H.J. Lu  <hjl@gnu.org>

* genscripts.sh: Fix a typo in the last change.

23 years ago * doc/as.texinfo: Document M and S ELF section flags.
Jakub Jelinek [Fri, 5 Oct 2001 16:36:55 +0000 (16:36 +0000)]
* doc/as.texinfo: Document M and S ELF section flags.

* emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
-z nocombreloc in usage.

23 years ago * elf32-mips.c (elf_mips_howto_table): Fix some relocation howtos
Thiemo Seufer [Fri, 5 Oct 2001 16:14:39 +0000 (16:14 +0000)]
* elf32-mips.c (elf_mips_howto_table): Fix some relocation howtos
according to the MIPS/SGI ELF64 ABI Draft.
(mips_elf_sort_hash_table): Typo.

23 years ago * subsegs.c (subseg_text_p): Return 0 for absolute section.
Alan Modra [Fri, 5 Oct 2001 10:53:00 +0000 (10:53 +0000)]
* subsegs.c (subseg_text_p): Return 0 for absolute section.
* read.c (do_align): If in absolute section, warn about and ignore
non-zero fill pattern.

23 years ago* config/tc-mn10300.c (tc_gen_reloc): Don't free
Alexandre Oliva [Fri, 5 Oct 2001 07:49:24 +0000 (07:49 +0000)]
* config/tc-mn10300.c (tc_gen_reloc): Don't free
reloc->sym_ptr_ptr if it's not allocated.

23 years agodaily update
Alan Modra [Fri, 5 Oct 2001 00:00:06 +0000 (00:00 +0000)]
daily update

23 years ago*** empty log message ***
gdbadmin [Fri, 5 Oct 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-10-04 Frank Ch. Eigler <fche@redhat.com>
Frank Ch. Eigler [Thu, 4 Oct 2001 22:11:12 +0000 (22:11 +0000)]
2001-10-04  Frank Ch. Eigler  <fche@redhat.com>

* lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
if gdb child process crashes, just signal an error.

23 years ago * config/tc-mips.c (prev_insn_reloc_type): Make it an array to hold a
Thiemo Seufer [Thu, 4 Oct 2001 20:07:00 +0000 (20:07 +0000)]
* config/tc-mips.c (prev_insn_reloc_type): Make it an array to hold a
relocation triple.
(prev_insn_fixp): Likewise.
(append_insn): Changed prototype to accept a relocation pointer.
(imm_reloc): Make it an array.
(offset_reloc): Likewise.
(md_assemble): Handle triple relocations.
(append_insn): Likewise. Add handling for some NewABI relocations.
(mips_no_prev_insn): Handle triple relocations.
(macro_build): Likewise. Add handling for some NewABI relocations.
Move handling for the 'u' case to append_insn().
(mips16_macro_build): Handle triple relocations.
(macro_build_lui): Likewise. Don't handle _gp_disp as special symbol
for NewABI.
(mips_ip): Handle triple relocations.
(mips16_ip): Likewise.
(mips_force_relocation): Force handling of triple relocations
without symbols for NewABI.
(md_apply_fix): Add handling for some NewABI relocations.

23 years ago * config/tc-i386.c (parse_register): If not producing code for
Alan Modra [Thu, 4 Oct 2001 18:01:46 +0000 (18:01 +0000)]
* config/tc-i386.c (parse_register): If not producing code for
x86_64, reject x86_64 register name matches.
(md_assemble): Remove now redundant check for x86_64 regs.

23 years agoFix a comment typo in last commit.
Alan Modra [Thu, 4 Oct 2001 16:18:32 +0000 (16:18 +0000)]
Fix a comment typo in last commit.

23 years ago * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Bail out after
Alan Modra [Thu, 4 Oct 2001 16:09:03 +0000 (16:09 +0000)]
* elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Bail out after
copying flags if this is a weakdef.

23 years agosomehow missed committing this.
Alan Modra [Thu, 4 Oct 2001 15:37:38 +0000 (15:37 +0000)]
somehow missed committing this.
* dep-in.sed: Remove symcat.h from dependencies.

23 years ago * main.c (enable_external_editor): Don't declare.
Tom Tromey [Thu, 4 Oct 2001 15:04:27 +0000 (15:04 +0000)]
* main.c (enable_external_editor): Don't declare.
(captured_main): Don't set enable_external_editor.

23 years ago * elf-bfd.h (struct elf_link_hash_entry): Reorganise for better
Alan Modra [Thu, 4 Oct 2001 12:30:26 +0000 (12:30 +0000)]
* elf-bfd.h (struct elf_link_hash_entry): Reorganise for better
packing.

23 years ago * elf32-mips.c (mips_elf_record_global_got_symbol): Set got.offset
Alan Modra [Thu, 4 Oct 2001 05:50:29 +0000 (05:50 +0000)]
* elf32-mips.c (mips_elf_record_global_got_symbol): Set got.offset
to 1 rather than 0 to avoid confusing copy_indirect_symbol.
(mips_elf_sort_hash_table_f): Compare got.offset against 1.

23 years ago * Makefile.am (BFD_H_DEPS): Add symcat.h. Ensure everything
Alan Modra [Thu, 4 Oct 2001 05:40:43 +0000 (05:40 +0000)]
* Makefile.am (BFD_H_DEPS): Add symcat.h.  Ensure everything
depends on $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS), not just those
backends we configure.  Run "make dep-am".
(install-data-local): Install symcat.h.
* dep-in.sed: Remove symcat.h from dependencies.
* Makefile.in: Regenerate.

23 years ago * config/tc-ppc.c (md_assemble <DS relocs>): Test ppc_size as well
Alan Modra [Thu, 4 Oct 2001 05:03:44 +0000 (05:03 +0000)]
* config/tc-ppc.c (md_assemble <DS relocs>): Test ppc_size as well
as BFD_DEFAULT_TARGET_SIZE.
(ppc_tc): Likewise.
(ppc_is_toc_sym): Likewise.
(md_apply_fix3): Likewise.

23 years ago Testcase updates for the previous patch.
Thiemo Seufer [Thu, 4 Oct 2001 00:57:01 +0000 (00:57 +0000)]
 Testcase updates for the previous patch.

23 years agodaily update
Alan Modra [Thu, 4 Oct 2001 00:03:26 +0000 (00:03 +0000)]
daily update

23 years ago*** empty log message ***
gdbadmin [Thu, 4 Oct 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* genscripts.sh: Include a comment at the top of each generated
Jim Blandy [Wed, 3 Oct 2001 21:36:43 +0000 (21:36 +0000)]
* genscripts.sh: Include a comment at the top of each generated
script, explaining its purpose.

23 years ago * config/tc-mips.c (mips_64): Remove.
Thiemo Seufer [Wed, 3 Oct 2001 20:30:15 +0000 (20:30 +0000)]
* config/tc-mips.c (mips_64): Remove.
(mips_target_format): Move downwards in file, use HAVE_64BIT_OBJECTS
in it.
(mips_abi_level, mips_abi): New enum.
(mips_32bit_abi): Remove.
(HAVE*PRS): Use mips_abi instead of mips_32bit_abi.
(HAVE_NEWABI): New define.
(HAVE_64BIT_OBJECTS): New define.
(HAVE_32BIT_ADDRESSES): Don't return true for 64bit objects.
(HAVE_64BIT_ADDRESSES): New define, inverse of HAVE_32BIT_ADDRESSES.
(support_64bit_objects): New prototype.
(md_begin): Use mips_abi instead of mips_32bit_abi. Don't write
.reginfo section for n32, use .MIPS.options instead.
(support_64bit_objects): New function, code from md_parse_option.
(md_longopts): Add -n32 option.
(md_parse_option): Use mips_abi instead of mips_32bit_abi/mips64.
Add -n32 option. Protect with OBJ_ELF.
(s_mipsset): Use mips_abi instead of mips_32bit_abi.
(mips_elf_final_processing): Likewise. Don't write .reginfo section
for n32, use .MIPS.options instead.

23 years agoAdd support for -z nocopyreloc.
Alan Modra [Wed, 3 Oct 2001 15:11:48 +0000 (15:11 +0000)]
Add support for -z nocopyreloc.

23 years agoMissed mention of regenerating po/POTFILES.in
Alan Modra [Wed, 3 Oct 2001 14:17:12 +0000 (14:17 +0000)]
Missed mention of regenerating po/POTFILES.in

23 years ago * elf64-mips.c (elf_backend_may_use_rela_p): New define.
Thiemo Seufer [Wed, 3 Oct 2001 14:12:12 +0000 (14:12 +0000)]
* elf64-mips.c (elf_backend_may_use_rela_p): New define.
(elf_backend_default_use_rela_p): New define.

23 years ago * binutils-all/readelf.exp: Exclude mips*-*-elf* from 'readelf -wi'
Thiemo Seufer [Wed, 3 Oct 2001 13:51:09 +0000 (13:51 +0000)]
* binutils-all/readelf.exp: Exclude mips*-*-elf* from 'readelf -wi'
test.