Nick Clifton
c3e65f62a9
configure: Regenerate.
2005-02-23 10:07:06 +00:00
Nick Clifton
90e868acaf
(cr16c_elf_final_link_relocate): Remove duplicated return statements and
...
replace with a single return at the end of the function. This helps pacify
the flow analysis code in gcc 4.0.
2005-02-23 09:56:44 +00:00
Nick Clifton
4b6c0f2fe9
(_bfd_elf_compute_section_file_positions): Initialise strtab to avoid compile
...
time warning.
2005-02-23 09:46:49 +00:00
Ben Elliston
c3e8c140a3
* opncls.c (bfd_zalloc): Document this function.
2005-02-23 03:49:41 +00:00
Catherine Moore
ee3c981485
* read.c (read_a_source_file): Reinstate TC_EQUAL_IN_INSN test.
...
* doc/internals.texi (TC_EQUAL_IN_INSN): Reinstate.
2005-02-23 02:44:18 +00:00
gdbadmin
e46482877c
*** empty log message ***
2005-02-23 00:00:08 +00:00
Eric Christopher
9b2f1d3522
2005-02-22 Eric Christopher <echristo@redhat.com>
...
* ld-mips-elf/reloc-merge-lo16.d: Correct symbol
table size for __start.
2005-02-22 Eric Christopher <echristo@redhat.com>
* config/tc-mips.c (struct proc): Change isym to
func_sym. New member func_end_sym.
(s_mips_ent): Update.
(s_mips_end): Ditto. Add code to compute function size.
2005-02-22 23:54:41 +00:00
Eric Christopher
1375e99fd5
2005-02-22 Eric Christopher <echristo@redhat.com>
...
* gas/mips/elf-rel10.d: Update for label change.
2005-02-22 23:37:30 +00:00
Andrew Cagney
04ac69aa9d
2005-02-22 Andrew Cagney <cagney@gnu.org>
...
* configure.ac: Only enaable insight when itcl is present.
* configure: Re-generate.
2005-02-22 23:25:11 +00:00
Alan Modra
9f36411e5c
daily update
2005-02-22 23:00:07 +00:00
Maciej W. Rozycki
9def96e7f6
* gas/mips/mips16-dwarf2.d: Pass -mabi=32. Include relocation
...
information.
* gas/mips/mips16-dwarf2-n32.d: New test to check DWARF2 line
information for MIPS16 for the n32 ABI.
* gas/mips/mips.exp. Run the new test.
2005-02-22 20:50:11 +00:00
Eric Christopher
1fda77fb6c
2005-02-22 Eric Christopher <echristo@redhat.com>
...
* gas/mips/elf-rel10.s: Add label for frob.
2005-02-22 19:39:06 +00:00
Daniel Jacobowitz
ace66bb2fb
* ldlang.c (section_already_linked): Don't call
...
bfd_section_already_linked for dynamic objects.
2005-02-22 18:35:32 +00:00
Daniel Jacobowitz
a5e0d2699d
* ld-elfvsb/hidden2.d: Expect OBJECT.
...
* ld-elfvsb/hidden2.s: Force type OBJECT.
* ld-elfvsb/hidden2.ld: Place .dynamic explicitly.
* ld-elf/start.s: Provide __start for MIPS.
* ld-elfcomm/elfcomm.exp: Accept MIPS common section. XFAIL size change
test.
* ld-elf/warn1.d: Use group.ld instead of -Ttext.
2005-02-22 18:29:20 +00:00
Alan Modra
53c9ebc5f1
* arc-ext.c: Warning fixes.
...
* arc-ext.h: Likewise.
* cgen-opc.c: Likewise.
* ia64-gen.c: Likewise.
* maxq-dis.c: Likewise.
* ns32k-dis.c: Likewise.
* w65-dis.c: Likewise.
* ia64-asmtab.c: Regenerate.
2005-02-22 13:01:53 +00:00
Alan Modra
5718918d7a
* ldexp.c: Warning fixes.
...
* ldwrite.c: Likewise.
* emultempl/elf32.em: Likewise.
2005-02-22 13:00:26 +00:00
Alan Modra
8c62e9e130
* basic_blocks.c: Warning fixes.
...
* gmon_io.c: Likewise.
* hist.c: Likewise.
* hist.h: Likewise.
2005-02-22 12:59:21 +00:00
Alan Modra
b7712f8d34
* read.c: Warning fixes.
...
* config/obj-elf.c: Likewise.
2005-02-22 12:58:35 +00:00
Alan Modra
dc3c06c291
* Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler.
...
(syslex.o, sysinfo.o, dlltool.o, rescoff.o): Remove duplicate
dependencies. Run "make dep-am".
* nlmconv.c: Warning fixes.
* readelf.c: Likewise.
* srconv.c: Likewise.
* sysdump.c: Likewise.
* sysinfo.y: Likewise.
* syslex.l: Likewise. Use yyleng instead of strlen, memcpy instead
of strcpy.
* Makefile.in: Regenerate.
2005-02-22 12:57:27 +00:00
Maciej W. Rozycki
58e2ea4d1c
gas/:
...
* config/tc-mips.c (append_insn): Call dwarf2_emit_insn() before
emitting insn.
gas/testsuite/:
* gas/mips/mips16-dwarf2.d: New test to check DWARF2 line
information for MIPS16.
* gas/mips/mips16-dwarf2.s: Source for the new test.
* gas/mips/mips.exp: Run the new test.
2005-02-22 12:32:26 +00:00
Nick Clifton
e4d180c27b
Allow darwin targeted ports to build tk, itcl and libgui.
2005-02-22 09:16:10 +00:00
H.J. Lu
ebe372c1dd
bfd/
...
2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
* coffcode.h (sec_to_styp_flags): Replaced SEC_CLINK with
SEC_TIC54X_CLINK. Replace SEC_BLOCK with SEC_TIC54X_BLOCK.
Replace SEC_SHARED with SEC_COFF_SHARED.
(styp_to_sec_flags): Likewise.
* elfxx-target.h (TARGET_BIG_SYM): Remove SEC_ARCH_BIT_0.
(TARGET_LITTLE_SYM): Likewise.
* section.c (SEC_ARCH_BIT_0): Removed.
(SEC_LINK_DUPLICATES_SAME_CONTENTS): Defined with
SEC_LINK_DUPLICATES_ONE_ONLY and SEC_LINK_DUPLICATES_SAME_SIZE.
(SEC_SHARED): Renamed to ...
(SEC_COFF_SHARED): This.
(SEC_BLOCK): Renamed to ...
(SEC_TIC54X_BLOCK): This.
(SEC_CLINK): Renamed to ...
(SEC_TIC54X_CLINK): This.
(SEC_XXX): Rearranged. Move SEC_COFF_SHARED_LIBRARY,
SEC_COFF_SHARED, SEC_TIC54X_BLOCK and SEC_TIC54X_CLINK to the
end.
* bfd-in2.h: Regenerated.
binutils/
2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
* objcopy.c (parse_flags): Replace SEC_SHARED with
SEC_COFF_SHARED.
* objdump.c (dump_section_header): Dump SEC_TIC54X_BLOCK and
SEC_TIC54X_CLINK for TI c54x only. Remove SEC_ARCH_BIT_0. Dump
SEC_COFF_SHARED for COFF only.
gas/
2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-coff.c (obj_coff_section): Replace SEC_SHARED with
SEC_COFF_SHARED.
* config/tc-tic54x.c (tic54x_bss): Replace SEC_BLOCK with
SEC_TIC54X_BLOCK.
(demand_empty_rest_of_line): Likewise.
(tic54x_sblock): Likewise.
(tic54x_clink): Replace with SEC_CLINK with SEC_TIC54X_CLINK.
ld/
2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI
tic54x input only.
(lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF
and ECOFF output only.
2005-02-22 00:50:07 +00:00
Alan Modra
610ad19b95
Regenerate cgen files
2005-02-22 00:33:20 +00:00
gdbadmin
64e451ae37
*** empty log message ***
2005-02-22 00:00:33 +00:00
Alan Modra
954e66ebf4
daily update
2005-02-21 23:00:05 +00:00
Jim Blandy
0c4507fdbe
* callback.c (os_fstat): Don't declare 't' unless it's used.
2005-02-21 21:59:54 +00:00
Fred Fish
26bf4e3302
Approved by nickc@redhat.com:
...
2005-02-21 Fred Fish <fnf@specifixinc.com>
* dwarf2.c (find_abstract_instance_name): Call recursively
to handle a DW_AT_specification.
2005-02-21 18:00:17 +00:00
Andrew Cagney
3470a02f88
2005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
...
* infptrace.c (store_register): Fix typo.
2005-02-21 17:22:43 +00:00
Andrew Cagney
b66df561bb
2005-02-21 Andrew Cagney <cagney@gnu.org>
...
* command.h (deprecated_add_set_cmd): Rename add_set_cmd.
* cli/cli-decode.h (add_set_cmd): Delete declaration.
* cli/cli-decode.c (deprecated_add_set_cmd): Rename add_set_cmd.
* i386-nat.c (_initialize_i386_nat): Update call.
* valprint.c (_initialize_valprint): Update comment.
* gnu-nat.c (_initialize_gnu_nat): Update call.
2005-02-21 17:14:03 +00:00
Thiemo Seufer
e6daada38b
* elfxx-mips.c (ecoff_swap_rpdr_out, mips_elf_output_extsym,
...
mips_elf_create_dynamic_relocation,
_bfd_mips_elf_size_dynamic_sections, _bfd_mips_elf_final_link):
Remove #if 0'd code.
2005-02-21 13:57:56 +00:00
Eric Botcazou
e3c770b14e
PR libgcj/10353
...
* configure.in (noconfigdirs) <sparc-*-solaris2.[0-6]>: Add libgcj.
* configure: Regenerate.
2005-02-21 12:29:05 +00:00
Alan Modra
0ca2f5d5d3
* config.in: Regenerate.
...
* configure: Regenerate.
2005-02-21 11:49:47 +00:00
Alan Modra
b16b813f9d
* Makefile.am (HFILES): Add itbl-lex.h.
...
(itbl-lex.o, itbl-parse.o): Depend on itbl-lex.h
* Makefile.in: Regenerate.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
2005-02-21 11:49:31 +00:00
Alan Modra
72f4774460
* Makefile.am: Run "make dep-am"
...
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
2005-02-21 11:48:59 +00:00
Alan Modra
db9db6f27e
* Makefile.am: Run "make dep-am"
...
* Makefile.in: Regenerate.
2005-02-21 11:48:33 +00:00
Alan Modra
d25604af9f
bfd/
...
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.
bfd/doc/
* Makefile.in: Regenerate.
2005-02-21 11:48:00 +00:00
Alan Modra
fedf8d51e0
* coffgen.c (bfd_coff_get_comdat_section): Check that
...
coff_section_data isn't NULL.
2005-02-21 11:21:29 +00:00
Alan Modra
85e3476f96
* elfread.c (elf_symtab_read): Discard section syms.
2005-02-21 11:00:44 +00:00
Alan Modra
f364d1ca1d
* lib/ld-lib.exp (run_dump_test): Don't require a dump program if
...
#warning given. Rearrange to allow $program to remain unset.
Don't allow gas errors. Append objcopy_as_link output to that
from the linker before testing against expected output. Fail the
test if warning not found when expected. Conversely fail the
test if ld errors or warnings given when not expected.
2005-02-21 10:30:49 +00:00
Alan Modra
ba7f26d2f9
* gas/d10v/instruction_packing-005.d: Adjust.
...
* gas/d10v/instruction_packing-008.d: Ignore disassembled stabs.
* gas/d10v/instruction_packing-009.d: Likewise.
* gas/d10v/instruction_packing-010.d: Likewise.
* gas/d10v/warning-001.d: Use #warning instead of #error.
* gas/d10v/warning-002.d: Likewise.
* gas/d10v/warning-003.d: Likewise.
* gas/d10v/warning-004.d: Likewise.
* gas/d10v/warning-005.d: Likewise.
* gas/d10v/warning-006.d: Likewise.
* gas/d10v/warning-007.d: Likewise.
* gas/d10v/warning-008.d: Likewise.
* gas/d10v/warning-009.d: Likewise.
* gas/d10v/warning-010.d: Likewise.
* gas/d10v/warning-011.d: Likewise.
* gas/d10v/warning-012.d: Likewise.
* gas/d10v/warning-013.d: Likewise.
* gas/d10v/warning-015.d: Likewise.
* gas/d10v/warning-016.d: Likewise.
* gas/d10v/warning-017.d: Likewise.
* gas/d10v/warning-018.d: Likewise.
* gas/d10v/warning-019.d: Likewise.
* lib/gas-defs.exp (run_dump_test): Don't require a dump program if
#warning given. Rearrange to allow $program to remain unset.
Fail the test if warning not found when expected. Conversely fail
the test if assembler errors or warnings given when not expected.
2005-02-21 10:07:08 +00:00
Alan Modra
cc1bc22af7
gas/
...
* read.c (address_bytes): New function.
(TC_ADDRESS_BYTES): Default for BSD_ASSEMBLER to address_bytes.
(potable): Add "dc.a".
(cons_worker): Handle "dc.a".
* doc/internals.texi (TC_ADDRESS_BYTES): Document.
ld/testsuite/
* ld-elf/exclude1.s: Use ".dc.a".
* ld-elfvsb/hidden2.s: Likewise.
2005-02-21 08:39:53 +00:00
Alan Modra
2562953678
* ld-elf/warn1.d: Specify -Ttext.
...
* ld-scripts/align.exp (align2a, align2b: Don't run on aout targets.
* ld-scripts/align2.t: Discard all but .text and .data.
* ld-scripts/align2a.d: Accept non-readonly for coff.
* ld-scripts/align2b.d: Likewise.
* lib/ld-lib.exp (is_aout_format): New function.
2005-02-21 08:18:49 +00:00
Andrew Cagney
eefe576e60
2005-02-21 Andrew Cagney <cagney@gnu.org>
...
* cli/cli-decode.c (add_set_enum_cmd): Delete function.
(deprecated_add_show_from_set): Delete function.
* command.h (add_set_enum_cmd): Delete declaration.
(deprecated_add_show_from_set): Delete declaration.
* cli/cli-decode.h (add_set_enum_cmd): Delete declaration.
(deprecated_add_show_from_set): Delete declaration.
* arm-tdep.c (_initialize_arm_tdep): Update comment.
* kod.c (kod_set_os): Simplify.
* infrun.c (set_schedlock_func): Simplify.
* cli/cli-dump.c (add_dump_command): Update comment.
2005-02-21 07:15:49 +00:00
Andrew Cagney
525226b563
2005-02-21 Andrew Cagney <cagney@gnu.org>
...
Replace string variables with a filename completer with
add_setshow_optional_filename_cmd.
* solib.c, symfile.c: Update.
* cli/cli-setshow.c: Do not tidle expand the file.
2005-02-21 07:08:42 +00:00
Andrew Cagney
4d28ad1ece
2005-02-21 Andrew Cagney <cagney@gnu.org>
...
Add more uses of add_setshow_string_cmd, add_setshow_integer_cmd,
and add_setshow_string_noescape_cmd.
* cli/cli-setshow.c (deprecated_show_value_hack): Do not print a
NULL command's value.
* kod.c, language.c, ocd.c, remote-e7000.c, remote-mips.c: Update.
* remote-sds.c, remote.c, symfile.c, top.c: Update.
2005-02-21 06:21:09 +00:00
Andrew Cagney
7ab044018a
2005-02-20 Andrew Cagney <cagney@gnu.org>
...
Use add_setshow_enum_cmd through out.
* arch-utils.c, charset.c, demangle.c, i386-tdep.c: Update.
* infrun.c, mips-tdep.c, osabi.c, serial.c, tui/tui-win.c: Update.
2005-02-21 04:31:59 +00:00
Andrew Cagney
78f5381d69
2005-02-20 Andrew Cagney <cagney@gnu.org>
...
* mi/mi-main.c (captured_mi_execute_command): Use
mi_cmd_interpreter_exec.
2005-02-21 03:59:23 +00:00
Andrew Cagney
b4b4ac0b71
2005-02-20 Andrew Cagney <cagney@gnu.org>
...
* cli/cli-decode.c (add_setshow_optional_filename_cmd): New
function.
* cli/cli-setshow.c (deprecated_show_value_hack)
(do_setshow_command): Handle var_optional_filename.
* command.h (enum var_types): Add var_optional_filename.
(add_setshow_optional_filename_cmd): Declare.
* infcmd.c (notice_args_read): Use.
2005-02-21 03:25:56 +00:00
Alan Modra
ac4528d236
* input-file.c (input_file_open): Rearrange to avoid warning.
2005-02-21 03:03:02 +00:00
Alan Modra
665435215e
* readelf.c (BYTE_GET8): Delete. Replace uses with BYTE_GET.
...
(byte_get_little_endian): Don't handle size of -8.
(byte_get_signed, byte_get_big_endian): Likewise.
(print_dec_vma, print_hex_vma): New functions.
(print_vma): Use them. Return chars output.
(get_dynamic_data): Return a bfd_vma array. Add ent_size parm.
(process_symbol_table): Handle alpha and s390 .hash.
2005-02-21 02:55:56 +00:00