OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
19 years ago * config/tc-mips.c (load_address): Fix formatting.
ths [Wed, 16 Feb 2005 15:49:12 +0000 (15:49 +0000)]
* config/tc-mips.c (load_address): Fix formatting.
(macro): Don't use AT if .set noat is in effect. Fix formatting.
Catch macros which are unexpandable without AT. Remove duplicate
zeroing of used_at.
(macro2): Remove duplicate zeroing of used_at.

19 years ago* wrapper.h: Update copyright year. Properly wrap a few
kettenis [Wed, 16 Feb 2005 13:21:47 +0000 (13:21 +0000)]
* wrapper.h: Update copyright year.  Properly wrap a few
prototypes.
(struct gdb_wrapper_arguments): Remove forward declaration.
* wrapper.c: Update copyright year.  Include "ui-out.h".
(struct gdb_wrapper_arguments): Remove.
(struct captured_value_struct_elt_args): Remove.
(wrapper_parse_exp_1, wrap_evaluate_expression)
(wrap_value_fetch_lazy, wrap_value_equal, wrap_value_assign)
(wrap_value_subscript, wrap_value_ind, wrap_parse_and_eval_type)
(do_captured_value_struct_elf): Remove functions.
(gdb_parse_exp_1, gdb_evaluate_expression, gdb_value_fetch_lazy)
(gdb_value_equal, gdb_value_assign, gdb_value_subscript)
(gdb_value_ind, gdb_parse_and_eval_type, gdb_value_struct_elt):
Re-implement using TRY_CATCH.

19 years ago* wrapper.h: Update copyright year. Properly wrap a few
kettenis [Wed, 16 Feb 2005 13:21:37 +0000 (13:21 +0000)]
* wrapper.h: Update copyright year.  Properly wrap a few
prototypes.
(struct gdb_wrapper_arguments): Remove forward declaration.
* wrapper.c: Update copyright year.  Include "ui-out.h".
(struct gdb_wrapper_arguments): Remove.
(struct captured_value_struct_elt_args): Remove.
(wrapper_parse_exp_1, wrap_evaluate_expression)
(wrap_value_fetch_lazy, wrap_value_equal, wrap_value_assign)
(wrap_value_subscript, wrap_value_ind, wrap_parse_and_eval_type)
(do_captured_value_struct_elf): Remove functions.
(gdb_parse_exp_1, gdb_evaluate_expression, gdb_value_fetch_lazy)
(gdb_value_equal, gdb_value_assign, gdb_value_subscript)
(gdb_value_ind, gdb_parse_and_eval_type, gdb_value_struct_elt):
Re-implement using TRY_CATCH.

19 years agoRemove prototype for localetime altogether. It should not be needed on modern
nickc [Wed, 16 Feb 2005 12:55:43 +0000 (12:55 +0000)]
Remove prototype for localetime altogether.  It should not be needed on modern
systems and older systems can live with the warning.

19 years ago * configure.in (AC_CHECK_FUNCS): Add glob.
mmitchel [Wed, 16 Feb 2005 07:49:20 +0000 (07:49 +0000)]
* configure.in (AC_CHECK_FUNCS): Add glob.
* configure: Regenerated.
* emultempl/elf32.em (<glob.h>): Do not include if HAVE_GLOB is
not defined.
(gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob
if HAVE_GLOB is not defined.

19 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define
kkojima [Wed, 16 Feb 2005 05:10:01 +0000 (05:10 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define
lib_path if NATIVE is yes.

19 years ago * gas/all/gas.exp (quad): Don't run on i960.
amodra [Wed, 16 Feb 2005 05:04:33 +0000 (05:04 +0000)]
* gas/all/gas.exp (quad): Don't run on i960.

19 years ago * dw2gencfi.c (output_cie, output_fde): Use DW_CFA_nop rather
amodra [Wed, 16 Feb 2005 05:04:09 +0000 (05:04 +0000)]
* dw2gencfi.c (output_cie, output_fde): Use DW_CFA_nop rather
than zero.

19 years ago * mach-o.c (bfd_mach_o_scan): Don't ignore return value of
amodra [Wed, 16 Feb 2005 04:45:21 +0000 (04:45 +0000)]
* mach-o.c (bfd_mach_o_scan): Don't ignore return value of
bfd_mach_o_scan_start_address.
* elfxx-ia64.c (elfNN_ia64_relax_brl): Rewrite for 32-bit bfd_vma.
* elfxx-mips.c: Remove unnecessary prototypes.
(sort_dynamic_relocs_64): Abort if not BFD64.

19 years ago* remote-e7000.c: unuse TM_FILE defined macro.
ysato [Wed, 16 Feb 2005 03:21:01 +0000 (03:21 +0000)]
* remote-e7000.c: unuse TM_FILE defined macro.
(e7000_fetch_registers)
(e7000_store_registers)
(e7000_wait): delete NUM_REALREGS.
* remote-hms.c: move TM_FILE macro.
(CCR_REGNO): move define from tm-h8300.h.

19 years ago * coff-arm.c (coff_arm_is_local_label_name): Warning fix.
amodra [Wed, 16 Feb 2005 02:38:53 +0000 (02:38 +0000)]
* coff-arm.c (coff_arm_is_local_label_name): Warning fix.
* elf32-frv.c (frvfdpic_relocs_info_hash): Likewise.
* pef.c (bfd_pef_scan): Don't ignore return value of
bfd_pef_scan_start_address.

19 years agobfd/
amodra [Wed, 16 Feb 2005 02:20:06 +0000 (02:20 +0000)]
bfd/
* elf64-ppc.c (ppc64_elf_edit_toc): Skip toc if size is zero.
Skip toc reloc adjust if reloc_count is zero.
ld/
* emultempl/ppc64elf.em (ppc_create_output_section_statements): Make
an error creating fake bfd fatal.
(ppc_before_allocation): Continue on after errors.
(gld${EMULATION_NAME}_finish): Likewise.

19 years ago* amd64-linux-tdep.c: Update copyright year.
kettenis [Wed, 16 Feb 2005 02:16:55 +0000 (02:16 +0000)]
* amd64-linux-tdep.c: Update copyright year.
(amd64_linux_sigtramp_start): Change argument to `struct
frame_info *'.  Use safe_frame_unwind_memory instead of
deprecated_read_memory_nobpt.
(amd64_linux_sigtramp_p): Adjust call to
amd64_linux_sigtramp_start.

19 years ago* path.h (path_conv::issocket): Return true if device == FH_UNIX rather than
cgf [Wed, 16 Feb 2005 00:24:36 +0000 (00:24 +0000)]
* path.h (path_conv::issocket): Return true if device == FH_UNIX rather than
expecting path_conv to set a flag.

19 years ago*** empty log message ***
gdbadmin [Wed, 16 Feb 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Tue, 15 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agobfd/:
macro [Tue, 15 Feb 2005 19:57:44 +0000 (19:57 +0000)]
bfd/:
2005-02-15  Nigel Stephens  <nigel@mips.com>
            Maciej W. Rozycki  <macro@mips.com>

* elf32-mips.c (elf_mips16_howto_table_rel): New array for MIPS16
reloc howtos.  Add R_MIPS16_HI16 and R_MIPS16_LO16 relocs and
R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders.
(elf_mips16_jump_howto): Move into elf_mips16_howto_table_rel.
(elf_mips16_gprel_howto): Likewise.  Redefine src_mask and
dst_mask.
(mips16_gprel_reloc): Remove bit shuffling; call
_bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp()
and _bfd_mips16_elf_reloc_shuffle() instead.
(mips16_reloc_map): New reloc map for MIPS16 relocs.
(bfd_elf32_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16
relocs.
(mips_elf32_rtype_to_howto): Fetch MIPS16 howtos from
elf_mips16_howto_table_rel.
* elf64-mips.c (mips16_elf64_howto_table_rel): New array for
MIPS16 REL reloc howtos.  Add R_MIPS16_HI16 and R_MIPS16_LO16
relocs and R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders.
(elf_mips16_jump_howto): Move into mips16_elf64_howto_table_rel.
(elf_mips16_gprel_howto): Likewise.  Redefine src_mask and
dst_mask.
(mips16_elf64_howto_table_rela): New array for MIPS16 RELA
reloc howtos.  Add R_MIPS16_26, R_MIPS16_GPREL, R_MIPS16_HI16 and
R_MIPS16_LO16 relocs and R_MIPS16_GOT16 and R_MIPS16_CALL16
placeholders.
(mips16_gprel_reloc): Remove bit shuffling; call
_bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp()
and _bfd_mips16_elf_reloc_shuffle() instead.
(mips16_reloc_map): New reloc map for MIPS16 relocs.
(bfd_elf64_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16
relocs.
(mips_elf64_rtype_to_howto): Fetch MIPS16 howtos from
mips16_elf64_howto_table_rela or mips16_elf64_howto_table_rel.
* elfn32-mips.c (elf_mips16_howto_table_rel): New array for MIPS16
REL reloc howtos.  Add R_MIPS16_HI16 and R_MIPS16_LO16 relocs and
R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders.
(elf_mips16_jump_howto): Move into elf_mips16_howto_table_rel.
(elf_mips16_gprel_howto): Likewise.  Redefine src_mask and
dst_mask.
(mips16_gprel_reloc): Remove bit shuffling; call
_bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp()
and _bfd_mips16_elf_reloc_shuffle() instead.
(mips16_reloc_map): New reloc map for MIPS16 relocs.
(bfd_elf32_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16
relocs.
(mips_elf_n32_rtype_to_howto): Fetch MIPS16 howtos from
elf_mips16_howto_table_rela or elf_mips16_howto_table_rel.
* elfxx-mips.c (_bfd_mips16_elf_reloc_unshuffle): New function to
handle bit shuffling for MIPS16 relocs.
(_bfd_mips16_elf_reloc_shuffle): Likewise.
(_bfd_mips_elf_lo16_reloc): Use _bfd_mips16_elf_reloc_unshuffle()
and _bfd_mips16_elf_reloc_shuffle().
(_bfd_mips_elf_generic_reloc): Likewise.
(mips_elf_calculate_relocation): Likewise.  Handle R_MIPS16_HI16
and R_MIPS16_LO16.
(mips_elf_obtain_contents): Remove bit shuffling.
(mips_elf_perform_relocation): Likewise; call
_bfd_mips16_elf_reloc_unshuffle() and _bfd_mips16_elf_reloc_shuffle()
instead.
(_bfd_mips_elf_relocate_section): Likewise.  Handle R_MIPS16_HI16
and R_MIPS16_LO16.
* elfxx-mips.h (_bfd_mips16_elf_reloc_unshuffle): Declare.
(_bfd_mips16_elf_reloc_shuffle): Likewise.
* reloc.c (BFD_RELOC_MIPS16_HI16): New reloc.
(BFD_RELOC_MIPS16_HI16_S): Likewise.
(BFD_RELOC_MIPS16_LO16): Likewise.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

gas/:
2005-02-15  Nigel Stephens  <nigel@mips.com>
            Maciej W. Rozycki  <macro@mips.com>

* config/tc-mips.c (reloc_needs_lo_p): Handle
BFD_RELOC_MIPS16_HI16_S.
(fixup_has_matching_lo_p): Handle BFD_RELOC_MIPS16_LO16.
(append_insn): Add BFD_RELOC_MIPS16_GPREL, BFD_RELOC_MIPS16_HI16_S
and BFD_RELOC_MIPS16_LO16 to relocs to suppress overflow
complaints on.
(mips16_ip): Resolve BFD_RELOC_MIPS16_HI16_S,
BFD_RELOC_MIPS16_HI16 and BFD_RELOC_MIPS16_LO16 for constants.
Call my_getSmallExpression() to parse percent operators.
(percent_op_match, mips_percent_op): Separate definitions.
(mips16_percent_op): Define percent operators for the MIPS16 mode.
(parse_relocation): Handle the MIPS16 mode using
mips16_percent_op.
(md_apply_fix3): Handle BFD_RELOC_MIPS16_HI16,
BFD_RELOC_MIPS16_HI16_S and BFD_RELOC_MIPS16_LO16.

gas/testsuite/:
2005-02-15  Nigel Stephens  <nigel@mips.com>
            Maciej W. Rozycki  <macro@mips.com>

* gas/mips/mips16-hilo.d: New test for the R_MIPS16_HI16 and
R_MIPS16_LO16 relocs.
* gas/mips/mips16-hilo-n32.d: Likewise, for the n32 ABI.
* gas/mips/mips16-hilo.s: Source for the new tests.
* gas/mips/mips.exp: Run the new tests.

include/:
2005-02-15  Nigel Stephens  <nigel@mips.com>
            Maciej W. Rozycki  <macro@mips.com>

* elf/mips.h (R_MIPS16_GOT16): New reloc code.
(R_MIPS16_CALL16): Likewise.
(R_MIPS16_HI16): Likewise.
(R_MIPS16_LO16): Likewise.
(R_MIPS16_min): New fake reloc code.
(R_MIPS16_max): Likewise.

ld/testsuite/:
2005-02-15  Nigel Stephens  <nigel@mips.com>
            Maciej W. Rozycki  <macro@mips.com>

* ld-mips-elf/mips16-hilo.d: New test for the R_MIPS16_HI16 and
R_MIPS16_LO16 relocs.
* ld-mips-elf/mips16-hilo-n32.d: Likewise, for the n32 ABI.
* ld-mips-elf/mips16-hilo.s: Auxiliary source for the new tests.
* ld-mips-elf/mips-elf.exp: Run the new tests.

19 years ago * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
brobecke [Tue, 15 Feb 2005 17:13:05 +0000 (17:13 +0000)]
    * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
        SYMBOL_NATURAL_NAME to set type names.

19 years ago2005-02-15 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 15 Feb 2005 15:49:07 +0000 (15:49 +0000)]
2005-02-15  Andrew Cagney  <cagney@gnu.org>

Mark up add_com, add_info and add_prefix_cmd.
* breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update.
* exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update.
* go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
* kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update.
* maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update.
* ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update.
* remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update.
* remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update.
* remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update.
* sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update.
* symfile.c, symtab.c, target.c, thread.c, top.c: Update.
* tracepoint.c, typeprint.c, utils.c, valprint.c: Update.
* win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
* cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update.
* tui/tui-stack.c, tui/tui-win.c: Update.

19 years ago2005-02-15 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 15 Feb 2005 15:48:57 +0000 (15:48 +0000)]
2005-02-15  Andrew Cagney  <cagney@gnu.org>

Mark up add_com, add_info and add_prefix_cmd.
* breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update.
* exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update.
* go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
* kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update.
* maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update.
* ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update.
* remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update.
* remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update.
* remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update.
* sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update.
* symfile.c, symtab.c, target.c, thread.c, top.c: Update.
* tracepoint.c, typeprint.c, utils.c, valprint.c: Update.
* win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
* cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update.
* tui/tui-stack.c, tui/tui-win.c: Update.

19 years ago * gdb.ada/packed_array/pa.adb: New file.
brobecke [Tue, 15 Feb 2005 15:35:26 +0000 (15:35 +0000)]
    * gdb.ada/packed_array/pa.adb: New file.
        * gdb.ada/packed_array.exp: New testcase.

19 years ago(YY_NO_UNPUT): Define so that the yy_unput function is not declared. It is not
nickc [Tue, 15 Feb 2005 14:36:17 +0000 (14:36 +0000)]
(YY_NO_UNPUT): Define so that the yy_unput function is not declared.  It is not
used and its presence causes a compile time warning.

19 years agoProvide a full prototype for the localtime() function in order to avoid a
nickc [Tue, 15 Feb 2005 14:31:13 +0000 (14:31 +0000)]
Provide a full prototype for the localtime() function in order to avoid a
compile time warning.

19 years agoFix compile time warning messages
nickc [Tue, 15 Feb 2005 12:52:00 +0000 (12:52 +0000)]
Fix compile time warning messages

19 years ago* guile.scm (cgen-call-with-debugging): Doc fix.
jimb [Tue, 15 Feb 2005 09:03:58 +0000 (09:03 +0000)]
* guile.scm (cgen-call-with-debugging): Doc fix.

19 years agoMake backtraces work more reliably.
jimb [Tue, 15 Feb 2005 09:01:49 +0000 (09:01 +0000)]
Make backtraces work more reliably.
* guile.scm: Set up debugging parameters, and enable debugging and
source positions while loading.
(cgen-call-with-debugging, cgen-debugging-stack-start): New
functions.
* read.scm: Don't set debugging parameters here.
(catch-with-backtrace): Function deleted.
(-cgen): Simply note the presence or absence of the -b option.
Pass the flag to cgen-call-with-debugging, so debugging is turned
off here if the user didn't request it, for faster computation.
(cgen): Call cgen-debugging-stack-start here, instead of
catch-with-backtrace.

* Makefile.am (GUILE): Explicitly load guile.scm here, and leave a
trailing -s.
(desc, html, opcodes, sim-arch, sim-cpu, gas-test, sim-test):
Don't write out the trailing -s here.
* Makefile.in: Regenerated.
* cgen-doc.scm, cgen-gas.scm, cgen-stest.scm): Don't load
fixup.scm here; let the caller decide which Scheme's customization
file to preload.
* dev.scm: Load guile.scm, not fixup.scm.
* fixup.scm: Deleted; contents have all moved to guile.scm.
* README: Doc fix.

* guile.scm (debug-write): New function.

19 years agoMake backtraces work more reliably.
jimb [Tue, 15 Feb 2005 09:01:32 +0000 (09:01 +0000)]
Make backtraces work more reliably.
* guile.scm: Set up debugging parameters, and enable debugging and
source positions while loading.
(cgen-call-with-debugging, cgen-debugging-stack-start): New
functions.
* read.scm: Don't set debugging parameters here.
(catch-with-backtrace): Function deleted.
(-cgen): Simply note the presence or absence of the -b option.
Pass the flag to cgen-call-with-debugging, so debugging is turned
off here if the user didn't request it, for faster computation.
(cgen): Call cgen-debugging-stack-start here, instead of
catch-with-backtrace.

* Makefile.am (GUILE): Explicitly load guile.scm here, and leave a
trailing -s.
(desc, html, opcodes, sim-arch, sim-cpu, gas-test, sim-test):
Don't write out the trailing -s here.
* Makefile.in: Regenerated.
* cgen-doc.scm, cgen-gas.scm, cgen-stest.scm): Don't load
fixup.scm here; let the caller decide which Scheme's customization
file to preload.
* dev.scm: Load guile.scm, not fixup.scm.
* fixup.scm: Deleted; contents have all moved to guile.scm.
* README: Doc fix.

* guile.scm (debug-write): New function.

19 years agogas/
jbeulich [Tue, 15 Feb 2005 08:11:10 +0000 (08:11 +0000)]
gas/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (md_apply_fix3): Call ia64_gen_real_reloc_type
instead of explicitly dealing with the translation; exclude
relocations that are already pcrel, however.

gas/testsuite/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/pcrel.[ds]: New.
* gas/ia64/ia64.exp: Run new test.

19 years agogas/
jbeulich [Tue, 15 Feb 2005 07:54:03 +0000 (07:54 +0000)]
gas/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c: Include limits.h (if available).
(gr_values[0]): Set path to INT_MAX.
(dot_reg_val): Don't allow changing value of r0. Limit range of
general registers at r127.
(specify_resource): Default resource index is -1. Don't set resource
index (in case IA64_RS_RSE) without setting the specific flag.
(note_register_values): Check operand is O_constant before tracking
input value of moves. Add tracking for dep.z with constant inputs.
(print_dependency): Resource index of specific resource may be zero.
(check_dependencies): Likewise.

gas/testsuite/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/dv-raw-err.l: Expect specific resource for RAW violation on b0.
* gas/ia64/regval.[ls]: New.
* gas/ia64/ia64.exp: Run new test.

19 years agogas/
jbeulich [Tue, 15 Feb 2005 07:50:21 +0000 (07:50 +0000)]
gas/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (parse_operands): New local variables reg1, reg2,
reg_class. Check operands and emit diagnostics for illegal use of
registers.

gas/testsuite/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/dv-raw-err.s: Don't use r0 or f0 as output operand.
* gas/ia64/dv-waw-err.s: Likewise.
* gas/ia64/reg-err.[ls]: New.
* gas/ia64/ia64.exp: Run new test.

19 years agobfd/
jbeulich [Tue, 15 Feb 2005 07:37:08 +0000 (07:37 +0000)]
bfd/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* elfxx-ia64.c (ia64_howto_table): Correct strings for
R_IA64_DTPMOD64[LM]SB.

gas/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (ia64_gen_real_reloc_type): Define and initialize
new variables type, suffix, and width. Handle
BFD_RELOC_IA64_DIR(32|64)[LM]SB in FUNC_LT_FPTR_RELATIVE case.
Handle BFD_RELOC_IA64_DIR64[LM]SB in FUNC_TP_RELATIVE case. Add
FUNC_DTP_MODULE case. Handle BFD_RELOC_IA64_DIR32[LM]SB in
FUNC_DTP_RELATIVE case. Return incoming relocation type if
BFD_RELOC_IA64_IPLT[LM]SB in FUNC_IPLT_RELOC case. Generate warning
if unable to translate relocation type, using the new variables.

gas/testsuite/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/reloc.[ds]: New.
* gas/ia64/reloc-bad.[ls]: New.
* gas/ia64/ia64.exp: Run new tests.

19 years agogas/
jbeulich [Tue, 15 Feb 2005 07:32:14 +0000 (07:32 +0000)]
gas/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.h (ia64_symbol_chars): Declare.
(ty_symbol_chars): Define.
* config/tc-ia64.c (ia64_symbol_chars): Define.

19 years agogas/
jbeulich [Tue, 15 Feb 2005 07:30:05 +0000 (07:30 +0000)]
gas/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (ia64_parse_name): Only update next character if
input_line_pointer was advanced.

gas/testsuite/
2005-02-15  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/operand-or.d: Pass -xnone to assembler.

19 years ago2005-02-14 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 15 Feb 2005 02:05:05 +0000 (02:05 +0000)]
2005-02-14  Andrew Cagney  <cagney@gnu.org>

* config/h8300/h8300.mt (DEPRECATED_TM_FILE): Delete.
* config/h8300/tm-h8300.h: Delete file.

19 years ago2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 15 Feb 2005 01:54:57 +0000 (01:54 +0000)]
2005-02-14  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relax_section): Allow relax
backward branch in the same section.
(elfNN_ia64_relocate_section): Inform users that the input
section is too big to relax br instruction when overflow
happens to R_IA64_PCREL21B, R_IA64_PCREL21BI, R_IA64_PCREL21M
and R_IA64_PCREL21F.

19 years ago*** empty log message ***
gdbadmin [Tue, 15 Feb 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * config/tc-sh.c (md_apply_fix3): Add parentheses around &
kkojima [Mon, 14 Feb 2005 23:58:12 +0000 (23:58 +0000)]
* config/tc-sh.c (md_apply_fix3): Add parentheses around &
within |.

19 years agodaily update
amodra [Mon, 14 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-14 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 14 Feb 2005 18:10:04 +0000 (18:10 +0000)]
2005-02-14  Andrew Cagney  <cagney@gnu.org>

Mark up add_cmd.
* arch-utils.c, avr-tdep.c, breakpoint.c, corefile.c: Update.
* cp-abi.c, cp-namespace.c, cp-support.c, dummy-frame.c: Update.
* exec.c, gnu-nat.c, go32-nat.c, hppa-tdep.c, infcmd.c: Update.
* infrun.c, interps.c, macrocmd.c, maint.c, memattr.c: Update.
* mips-tdep.c, ocd.c, osabi.c, printcmd.c, regcache.c: Update.
* reggroups.c, remote-fileio.c, remote-rdi.c, remote.c: Update.
* sol-thread.c, source.c, stack.c, symfile-mem.c: Update.
* symfile.c, thread.c, tracepoint.c, valprint.c, value.c: Update.
* win32-nat.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
* cli/cli-logging.c, tui/tui-regs.c: Update.

19 years ago* pmacros.scm (pmacros-init!): For .eval macros, use eval1 as the
jimb [Mon, 14 Feb 2005 17:48:25 +0000 (17:48 +0000)]
* pmacros.scm (pmacros-init!): For .eval macros, use eval1 as the
transformer procedure, not eval.  Transformer procedures take one
argument.

19 years ago2005-02-14 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 14 Feb 2005 16:18:31 +0000 (16:18 +0000)]
2005-02-14  Andrew Cagney  <cagney@gnu.org>

Mark up add_setshow functions, replace "PRINT:" comment prefix
with "FIXME: i18n:".
* aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
* cris-tdep.c, dwarf2read.c, frame.c, hppa-tdep.c: Update.
* infcall.c, m32r-rom.c, maint.c, mips-tdep.c: Update.
* nto-tdep.c, observer.c, remote-rdi.c, remote.c: Update.
* target.c, cli/cli-logging.c: Update.

19 years ago(elf_core_file_p): Move the call to elf_backend_object_p to allow the correct
nickc [Mon, 14 Feb 2005 16:17:02 +0000 (16:17 +0000)]
(elf_core_file_p): Move the call to elf_backend_object_p to allow the correct
machine to be set before processing the program headers.

19 years ago2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 14 Feb 2005 15:47:18 +0000 (15:47 +0000)]
2005-02-14  H.J. Lu  <hongjiu.lu@intel.com>

* dis-buf.c (perror_memory): Use sprintf_vma to print out
address.

19 years ago2005-02-14 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 14 Feb 2005 14:37:34 +0000 (14:37 +0000)]
2005-02-14  Andrew Cagney  <cagney@gnu.org>

* utils.c (paddress): New function.
* defs.h (paddress): Declare.
* printcmd.c (deprecated_print_address_numeric): Rename
print_address_numeric, call paddress.
* valprint.c, ui-out.c, tui/tui-stack.c, tracepoint.c: Update.
* symmisc.c, symfile.c stack.c, p-valprint.c, printcmd.c: Update.
* maint.c, m32r-rom.c, infcmd.c, f-valprint.c, exec.c: Update.
* dwarf2read.c, dve3900-rom.c, defs.h, c-valprint.c: Update.
* corefile.c, cli/cli-cmds.c, breakpoint.c, annotate.c: Update.
* ada-valprint.c: Update.

19 years agomerge from gcc
dj [Mon, 14 Feb 2005 12:10:25 +0000 (12:10 +0000)]
merge from gcc

19 years agooops - omitted form previous delta
nickc [Mon, 14 Feb 2005 11:40:18 +0000 (11:40 +0000)]
oops - omitted form previous delta

19 years agoPR binutils/716
nickc [Mon, 14 Feb 2005 11:20:37 +0000 (11:20 +0000)]
PR binutils/716
* peicode.h (pe_bfd_copy_private_bfd_data): Copy the large address aware flag
from the input bfd to the output bfd.

19 years ago * ld-sparc/sparc.exp: Enable on Solaris. Disable 32-bit tests
ebotcazou [Mon, 14 Feb 2005 10:09:47 +0000 (10:09 +0000)]
* ld-sparc/sparc.exp: Enable on Solaris.  Disable 32-bit tests
on sparc64-elf.

19 years agogas/
jbeulich [Mon, 14 Feb 2005 08:02:46 +0000 (08:02 +0000)]
gas/
2005-02-13  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (md_parse_option): Handle -xnone and -xdebugn.
(md_show_usage): Add -xnone, -xdebugn, and -xdebugx. Relocate default
indicator.
(ia64_init): Set md.detect_dv.
(ia64_start_line): New static variable warned. Warn only once when
encountering explicit stops in automatic mode.
* doc/c-ia64.texi: Describe -xnone, -xdebugn, and -xdebugx.
* NEWS: Mention new default mode.

gas/testsuite/
2005-02-13  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/label.l: Adjust line numbers.
* gas/ia64/label.s: Add .explicit.
* gas/ia64/nop_x.s: Likewise.
* gas/ia64/opc-a.d: Add assembler option -xnone.
* gas/ia64/opc-b.d: Likewise.
* gas/ia64/opc-f.d: Likewise.
* gas/ia64/opc-i.d: Likewise.
* gas/ia64/opc-m.d: Likewise.
* gas/ia64/opc-x.d: Likewise.
* gas/ia64/pseudo.d: Likewise.
* gas/ia64/regs.d: Likewise.
* gas/ia64/tls.d: Likewise.
* gas/ia64/unwind-err.l: Adjust line numbers.
* gas/ia64/unwind-err.s: Remove explicit stops.

ld/testsuite/
2005-02-13  Jan Beulich  <jbeulich@novell.com>

* ld-elfvers/vers.exp (as_options): New. Set to -x for ia64.
(build_binary): Pass as_options to ld_assemble.
(test_ldfail): Likewise.
(build_exec): Likewise.
Pass as_options to run_ld_link_tests.
* ld-ia64/tlsbin.s: Add .explicit.
* ld-ia64/tlsbinpic.s: Likewise.
* ld-ia64/tlspic1.s: Likewise.

19 years agogas/
jbeulich [Mon, 14 Feb 2005 07:47:50 +0000 (07:47 +0000)]
gas/
2005-02-13  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (dot_rot): Add comment that name strings should
be freed when wiping out previous state. Canonicalize names before
use. Free name string when detecting redefinition.
(dot_pred_rel): Call generic expression parser to process arguments.
Handle O_register case for individual predicates and O_subtract for
ranges.
(ia64_parse_name): Canonicalize name before looking it up in dynamic
register hash.
(ia64_canonicalize_symbol_name): Strip off all trailing # characters.
Warn if multiple found, issue error if resulting symbol name has zero
length.
(dot_alias): Canonicalize name before use.

gas/testsuite/
2005-02-13  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/pound.[ls]: New.
* gas/ia64/ia64.exp: Run new test.

19 years ago * ld-sparc/tlssunnopic32.rd: Adjust for .dynsym changes.
ebotcazou [Mon, 14 Feb 2005 00:15:38 +0000 (00:15 +0000)]
* ld-sparc/tlssunnopic32.rd: Adjust for .dynsym changes.
* ld-sparc/tlssunpic32.rd: Likewise.

19 years ago*** empty log message ***
gdbadmin [Mon, 14 Feb 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Sun, 13 Feb 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago* Makefile.am: Use CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD for
macro [Sun, 13 Feb 2005 21:39:46 +0000 (21:39 +0000)]
* Makefile.am: Use CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD for
building chew.
* Makefile.in: Regenerate.

19 years ago2005-02-13 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 13 Feb 2005 19:25:25 +0000 (19:25 +0000)]
2005-02-13  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/ia64.exp: Add "operand-or".

* gas/ia64/operand-or.d: New file.
* gas/ia64/operand-or.s: Likewise.

19 years ago * ld-elf/warn1.d: Do not run on sparc64-*-solaris2*.
ebotcazou [Sun, 13 Feb 2005 18:50:25 +0000 (18:50 +0000)]
* ld-elf/warn1.d: Do not run on sparc64-*-solaris2*.

19 years agowhite space
cgf [Sun, 13 Feb 2005 18:17:28 +0000 (18:17 +0000)]
white space

19 years ago * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
jason [Sun, 13 Feb 2005 06:58:55 +0000 (06:58 +0000)]
    * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
        arguments.

19 years ago * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
jason [Sun, 13 Feb 2005 06:58:28 +0000 (06:58 +0000)]
    * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
        arguments.

19 years ago*** empty log message ***
gdbadmin [Sun, 13 Feb 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Sat, 12 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-13 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
ramana [Sat, 12 Feb 2005 21:53:29 +0000 (21:53 +0000)]
2005-02-13  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>

* MAINTAINERS: Add myself to "Write After Approval".

19 years ago* build fixes for gcc 3.4
fche [Sat, 12 Feb 2005 16:25:45 +0000 (16:25 +0000)]
* build fixes for gcc 3.4

[cgen-cpu]
2005-02-12  Frank Ch. Eigler  <fche@elastic.org>

* cgen-engine.h (virtual_insn_type): Move decl here ...
* cgen-cpu.h: ... from here.
* Makefile.am (SOURCES): Don't try to build fp code.
* Makefile.in: Regenerated.

[gdb]
2005-02-12  Frank Ch. Eigler  <fche@elastic.org>

* gdbserv-state.c (gdbserv_fromclient_break): Fix statementless
label at end of block.

[mapper]
2005-02-12  Frank Ch. Eigler  <fche@elastic.org>

* compMapper.cxx (read/write_strideoffset_any, read/write_any):
Move these generic_mapper_bus functions out of line.

[sched]
2005-02-12  Frank Ch. Eigler  <fche@elastic.org>

* compSched.cxx (scheduler_component): Clarify friend decl.

[timers/arm7t]
2005-02-12  Frank Ch. Eigler  <fche@elastic.org>

* arm7t-timer.h: Add needed friend decl.

19 years agoAdd myself "Write After Approval"
ysato [Sat, 12 Feb 2005 10:42:53 +0000 (10:42 +0000)]
Add myself "Write After Approval"

19 years agoRestore h8300 support
ysato [Sat, 12 Feb 2005 10:38:47 +0000 (10:38 +0000)]
Restore h8300 support

19 years ago2005-02-11 Andrew Cagney <cagney@gnu.org>
cagney [Sat, 12 Feb 2005 00:39:15 +0000 (00:39 +0000)]
2005-02-11  Andrew Cagney  <cagney@gnu.org>

Mark up some of printf_filtered and printf_unfiltered.
* ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update.
* corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update.
* demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update.
* event-loop.c, event-top.c, exec.c, f-valprint.c: Update.
* gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update.
* infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update.
* linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update.
* mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update.
* ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update.
* remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update.
* stack.c, symfile.c, symmisc.c, target.c, thread.c: Update.
* top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update.
* cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update.
* tui/tui-regs.c, tui/tui-win.c: Update.

19 years ago2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 12 Feb 2005 00:13:31 +0000 (00:13 +0000)]
2005-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (unwind_diagnostic): Return -1 for warning
and 0 for error.
(in_procedure): Return -1 for warning.
(in_prologue): Likewise.
(in_body): Likewise.

19 years ago*** empty log message ***
gdbadmin [Sat, 12 Feb 2005 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed):
zack [Fri, 11 Feb 2005 23:52:01 +0000 (23:52 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed):
If st.st_ino is zero, do not treat the library as a duplicate.

19 years agodaily update
amodra [Fri, 11 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago* elf32-mips.c (_bfd_mips_elf32_gprel16_reloc): Reject
macro [Fri, 11 Feb 2005 22:29:06 +0000 (22:29 +0000)]
* elf32-mips.c (_bfd_mips_elf32_gprel16_reloc): Reject
R_MIPS_LITERAL relocations for external symbols.
* elf64-mips.c (mips_elf64_literal_reloc): Likewise.
* elfn32-mips.c (mips_elf_literal_reloc): Likewise.

19 years agofix typo
cgf [Fri, 11 Feb 2005 22:26:20 +0000 (22:26 +0000)]
fix typo

19 years ago2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 11 Feb 2005 21:03:33 +0000 (21:03 +0000)]
2005-02-11  H.J. Lu  <hongjiu.lu@intel.com>

(dot_xdata): Undo the last change. Section name is used by
set_section.
(dot_float_cons): Likewise.
(dot_xstringer): Likewise.
(dot_xdata_ua): Likewise.
(dot_float_cons_ua): Likewise.

19 years agogas/
hjl [Fri, 11 Feb 2005 21:01:17 +0000 (21:01 +0000)]
gas/

2005-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* NEWS: Mention "-munwind-check=[warning|error]".

* config/tc-ia64.c (md): Add unwind_check.
(unwind_diagnostic): New.
(in_procedure): Call unwind_diagnostic when a directive isn't
in procedure.
(in_prologue): Call unwind_diagnostic when a directive isn't in
prologue.
(in_body): Call unwind_diagnostic when a directive isn't in
body region.
(dot_endp): Set md.unwind_check to error before calling
in_procedure and restore it after. When the name is missing or
couldn't be found, use the one from the last .proc if
md.unwind_check isn't error. Warn if md.unwind_check is
warning.
(md_parse_option): Handle "-munwind-check=[warning|error]".
(md_show_usage): Add "-munwind-check=[warning|error]".
(ia64_init): Set md.unwind_check to warning.

* doc/as.texinfo: Add "-munwind-check=[none|warning|error]".
* doc/c-ia64.texi: Likewise.

gas/testcase

2005-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/ia64.exp: Pass -munwind-check=error for unwind-err
and proc.

19 years ago* mips.h (R_MIPS_max): Use FAKE_RELOC to define.
macro [Fri, 11 Feb 2005 20:29:29 +0000 (20:29 +0000)]
* mips.h (R_MIPS_max): Use FAKE_RELOC to define.

19 years ago2005-02-11 Andrew Cagney <cagney@gnu.org>
cagney [Fri, 11 Feb 2005 18:13:46 +0000 (18:13 +0000)]
2005-02-11  Andrew Cagney  <cagney@gnu.org>

Mark up error_no_arg, query, perror_with_name, complaint, and
internal_error.
* breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update.
* cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update.
* dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update.
* dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update.
* exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update.
* frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update.
* gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update.
* go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update.
* i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update.
* i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update.
* infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update.
* interps.c, language.c, linespec.c, linux-nat.c: Update.
* m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update.
* m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update.
* macrotab.c, maint.c, mdebugread.c, memattr.c: Update.
* mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update.
* mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update.
* objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update.
* parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update.
* ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update.
* regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update.
* remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update.
* remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update.
* s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update.
* sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update.
* solib-aix5.c, solib-svr4.c, solib.c, source.c: Update.
* sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update.
* symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update.
* utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update.
* win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update.
* cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update.
* cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update.
* mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update.
* tui/tui-file.c, tui/tui-interp.c: Update.

19 years ago2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 11 Feb 2005 17:33:15 +0000 (17:33 +0000)]
2005-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* bfd-in2.h: Rebuilt.

19 years agoFix typo.
schwab [Fri, 11 Feb 2005 17:26:41 +0000 (17:26 +0000)]
Fix typo.

19 years ago(bfd_sym_parse_contained_variables_table_entry_v32): Avoid call to memcpy with
nickc [Fri, 11 Feb 2005 17:22:47 +0000 (17:22 +0000)]
(bfd_sym_parse_contained_variables_table_entry_v32): Avoid call to memcpy with
a size of 0.

19 years ago(m32r_reloc_map_old): Use #ifdef USE_M32R_OLD_RELOC to protect the declaration of...
nickc [Fri, 11 Feb 2005 17:18:40 +0000 (17:18 +0000)]
(m32r_reloc_map_old): Use #ifdef USE_M32R_OLD_RELOC to protect the declaration of this array.

19 years ago(iq2000_reloc_map): Remove unused structure and array.
nickc [Fri, 11 Feb 2005 17:15:31 +0000 (17:15 +0000)]
(iq2000_reloc_map): Remove unused structure and array.

19 years ago(ip2k_call_opcode, IS_CALL_OPCODE): Remove unused structure and macro.
nickc [Fri, 11 Feb 2005 17:13:02 +0000 (17:13 +0000)]
(ip2k_call_opcode, IS_CALL_OPCODE): Remove unused structure and macro.

19 years ago(coff_std_swap_table): Add an unused attribute in case it is not used.
nickc [Fri, 11 Feb 2005 17:10:02 +0000 (17:10 +0000)]
(coff_std_swap_table): Add an unused attribute in case it is not used.

19 years ago(coff_rtype_to_howto): Move definition before inclusion of coffcode.h so that
nickc [Fri, 11 Feb 2005 17:06:15 +0000 (17:06 +0000)]
(coff_rtype_to_howto): Move definition before inclusion of coffcode.h so that
it is actually picked up.

19 years ago2005-02-11 Paul Brook <paul@codesourcery.com>
pbrook [Fri, 11 Feb 2005 17:01:16 +0000 (17:01 +0000)]
2005-02-11  Paul Brook  <paul@codesourcery.com>

* ld-elf/symbol1w.s: Avoid usung @function syntax.

19 years ago2005-02-11 Paul Brook <paul@codesourcery.com>
pbrook [Fri, 11 Feb 2005 16:41:08 +0000 (16:41 +0000)]
2005-02-11  Paul Brook  <paul@codesourcery.com>

* elf-bfd.h (struct elf_link_hash_table): Add
is_relocatable_executable.
* elf.c (_bfd_elf_link_hash_table_init): Initialize it.
* elflink.c (bfd_elf_link_record_dynamic_symbol): Create local dynamic
symbols in relocatable executables.
(bfd_elf_record_link_assignment): Create dynamic section symbols in
relocatable executables.
(_bfd_elf_link_renumber_dynsyms): Ditto.
(bfd_elf_final_link): Ditto.
* elf32-arm.c (elf32_arm_final_link_relocate): Copy absolute
relocations into relocatable executables.
(elf32_arm_check_relocs): Crate dynamic sections for relocatable
executables.  Also copy absolute relocations.
(elf32_arm_adjust_dynamic_symbol): Don't create copy relocations
in relocatable executables.
(allocate_dynrelocs): Copy relocations for relocatable executables.
Output dynamic symbols for symbols defined in linker scripts.

19 years agoFix compile time warning building iq2000-asm.c
nickc [Fri, 11 Feb 2005 16:09:27 +0000 (16:09 +0000)]
Fix compile time warning building iq2000-asm.c

19 years agoRegenerate frv-dis.c in order to fix a compile time warning.
nickc [Fri, 11 Feb 2005 16:04:05 +0000 (16:04 +0000)]
Regenerate frv-dis.c in order to fix a compile time warning.

19 years agoFix compile time warning by using an unsigned type.
nickc [Fri, 11 Feb 2005 15:59:51 +0000 (15:59 +0000)]
Fix compile time warning by using an unsigned type.

19 years agoRemove redundant test in BFD_ASSERT
nickc [Fri, 11 Feb 2005 15:57:08 +0000 (15:57 +0000)]
Remove redundant test in BFD_ASSERT

19 years ago2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 11 Feb 2005 15:48:11 +0000 (15:48 +0000)]
2005-02-10  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (group_count): Don't initialize it.
(process_section_groups): Reurn 1 if we won't do unwind nor
section groups. Set group_count to 0 before counting group
sections and return 1 if there are no group sections. Reread
SHT_SYMTAB/SHT_STRTAB sections only when needed. Don't skip
section 0.
(process_object): Only set do_unwind to 0 if
process_section_groups return 0.

19 years ago * fhandler.cc (fhandler_base::raw_write): Mark as changed on
corinna [Fri, 11 Feb 2005 15:37:25 +0000 (15:37 +0000)]
* fhandler.cc (fhandler_base::raw_write): Mark as changed on
successful write.
* fhandler.h (fhandler_base::status_flags): Add 'has_changed' flag.
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Call
fhandler_disk_file's own open and close instead of open_fs and
close_fs.  Mark as changed on success.
(fhandler_disk_file::fchown): Ditto.
(fhandler_disk_file::facl): Ditto.
(fhandler_disk_file::ftruncate): Ditto.
(fhandler_base::open_fs): Mark as changed when O_TRUNC flag on existing
file is set.
(fhandler_disk_file::close): Set st_ctime if has_changed flag is set.

19 years ago* cygthread.cc (cygthread::release): Reset ev here if it exists.
cgf [Fri, 11 Feb 2005 15:24:14 +0000 (15:24 +0000)]
* cygthread.cc (cygthread::release): Reset ev here if it exists.
(cygthread::terminate_thread): Eliminat racy code which reset ev and
thread_sync.  Remove a few nonsensical inuse checks.  Exit at the bottom.
(cygthread::detach): Rewrite to again try to ensure that we don't say we're
signalled when we are not signalled.
* fhandler.cc (fhandler_base::raw_read): Revert to signalling read success
quickly.
* pipe.cc (fhandler_pipe::close): Use base method to close handle.
* sigproc.h (WAIT_SIG_PRIORITY): Just trundle along at normal priority to allow
the pipe thread to do its thing if possible.
* pinfo.h (pinfo::zap_cwd): Declare new function.
(pinfo::zap_cwd): Move 'cd out of the way code' here.
(pinfo::exit): Use it here.
* spawn.cc (spawn_guts): And here.

19 years ago * times.cc (utimes): Open files with GENERIC_WRITE on file systems
corinna [Fri, 11 Feb 2005 14:27:32 +0000 (14:27 +0000)]
* times.cc (utimes): Open files with GENERIC_WRITE on file systems
not supporting ACLs.

19 years ago * ld-elfvsb/hidden2.s: Replace .word with .long.
amodra [Fri, 11 Feb 2005 14:25:12 +0000 (14:25 +0000)]
* ld-elfvsb/hidden2.s: Replace .word with .long.

19 years ago * elf64-ppc.c (toc_adjusting_stub_needed): Return true for
amodra [Fri, 11 Feb 2005 14:18:11 +0000 (14:18 +0000)]
* elf64-ppc.c (toc_adjusting_stub_needed): Return true for
old-style branches to undefined dot-symbols which will be
satisfied by a plt call.

19 years agogas/
jbeulich [Fri, 11 Feb 2005 10:13:07 +0000 (10:13 +0000)]
gas/
2005-02-11  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.h (LEX_AT): Include LEX_BEGIN_NAME.
(LEX_QM): Likewise.
(ia64_parse_name): New third parameter.
(md_parse_name): Pass third argument.
* config/tc-ia64.c (pseudo_func): Placeholders use NULL as name.
(md_operand): Handling of '@'-prefixed symbols moved from here...
(ia64_parse_name): ...to here.

19 years agogas/
jbeulich [Fri, 11 Feb 2005 07:54:51 +0000 (07:54 +0000)]
gas/
2005-02-11  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (md): Remove last_groups and group_idx.
(errata_nop_necessary_p): Remove declaraction and definition.
(emit_one_bundle): Don't call errata_nop_necessary_p. Don't
update md.group_idx. Don't reset md.last_groups.

19 years agogas/
jbeulich [Fri, 11 Feb 2005 07:45:19 +0000 (07:45 +0000)]
gas/
2005-02-11  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (parse_section_name): Handle non-quoted first
argument.
(dot_xdata): Free section name after use.
(dot_float_cons): Likewise.
(dot_xstringer): Likewise.
(dot_xdata_ua): Likewise.
(dot_float_cons_ua): Likewise.
(md_pseudo_table): Add xdata16 and xdata16.ua.

19 years ago * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.
dannysmith [Fri, 11 Feb 2005 07:23:44 +0000 (07:23 +0000)]
* include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.