OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
16 years agoRework Stringpool to not compute the hash code twice when adding a new
Ian Lance Taylor [Wed, 5 Dec 2007 22:56:51 +0000 (22:56 +0000)]
Rework Stringpool to not compute the hash code twice when adding a new
string.

16 years ago * elf32-spu.c (spu_elf_size_stubs): Do consider branches to
Alan Modra [Wed, 5 Dec 2007 03:29:20 +0000 (03:29 +0000)]
* elf32-spu.c (spu_elf_size_stubs): Do consider branches to
non-function symbols for overlay stubs.

16 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Wed, 5 Dec 2007 03:27:21 +0000 (03:27 +0000)]
* config.sub, config.guess: Update from upstream sources.

16 years agoFrom Craig Silverstein: Support -o -.
Ian Lance Taylor [Wed, 5 Dec 2007 01:13:28 +0000 (01:13 +0000)]
From Craig Silverstein: Support -o -.

16 years agoFrom Craig Silverstein: Test some flags.
Ian Lance Taylor [Wed, 5 Dec 2007 01:10:16 +0000 (01:10 +0000)]
From Craig Silverstein: Test some flags.

16 years agoStringpool stats. Also make Symbol_table support functions inline.
Ian Lance Taylor [Wed, 5 Dec 2007 00:48:49 +0000 (00:48 +0000)]
Stringpool stats.  Also make Symbol_table support functions inline.

16 years agoFrom Craig Silverstein: Support irregular output files.
Ian Lance Taylor [Tue, 4 Dec 2007 23:42:28 +0000 (23:42 +0000)]
From Craig Silverstein: Support irregular output files.

16 years agoPrint symbol table statistics with --stats.
Ian Lance Taylor [Tue, 4 Dec 2007 23:11:35 +0000 (23:11 +0000)]
Print symbol table statistics with --stats.

16 years agodaily update
Alan Modra [Tue, 4 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Create DT_PLTGOT
Bob Wilson [Tue, 4 Dec 2007 22:41:59 +0000 (22:41 +0000)]
* elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Create DT_PLTGOT
entry for all dynamic objects.

16 years ago * elf32-spu.c (spu_elf_size_stubs): Correct section alignment.
Alan Modra [Tue, 4 Dec 2007 03:29:43 +0000 (03:29 +0000)]
* elf32-spu.c (spu_elf_size_stubs): Correct section alignment.

16 years agoFrom Craig Silverstein: Use gold_fatal in options.h, beef up value checks.
Ian Lance Taylor [Tue, 4 Dec 2007 01:30:46 +0000 (01:30 +0000)]
From Craig Silverstein: Use gold_fatal in options.h, beef up value checks.

16 years ago * readelf.c (is_32bit_abs_reloc, is_32bit_pcrel_reloc): Add SPU.
Alan Modra [Mon, 3 Dec 2007 23:19:25 +0000 (23:19 +0000)]
* readelf.c (is_32bit_abs_reloc, is_32bit_pcrel_reloc): Add SPU.

16 years ago * config/tc-ppc.c (ppc_tc): Allow a space between toc symbol
Alan Modra [Mon, 3 Dec 2007 23:14:24 +0000 (23:14 +0000)]
* config/tc-ppc.c (ppc_tc): Allow a space between toc symbol
name and bracket.

16 years agodaily update
Alan Modra [Mon, 3 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Sun, 2 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Sat, 1 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoMore -fPIC options.
Ian Lance Taylor [Sat, 1 Dec 2007 06:53:32 +0000 (06:53 +0000)]
More -fPIC options.

16 years agoAdd missing space.
Ian Lance Taylor [Sat, 1 Dec 2007 06:51:45 +0000 (06:51 +0000)]
Add missing space.

16 years agoCompile shared library code with -fPIC. Also, alphabetize.
Ian Lance Taylor [Sat, 1 Dec 2007 06:50:09 +0000 (06:50 +0000)]
Compile shared library code with -fPIC.  Also, alphabetize.

16 years agoAdd casts to avoid warnings.
Ian Lance Taylor [Sat, 1 Dec 2007 06:45:21 +0000 (06:45 +0000)]
Add casts to avoid warnings.

16 years agoCompress all debug sections.
Ian Lance Taylor [Sat, 1 Dec 2007 06:34:12 +0000 (06:34 +0000)]
Compress all debug sections.

16 years agogas/
Bob Wilson [Fri, 30 Nov 2007 23:47:55 +0000 (23:47 +0000)]
gas/
* config/tc-xtensa.h (md_allow_eh_opt): Define.
gas/testsuite/
* gas/elf/elf.exp: Disable ehopt test for Xtensa.

16 years agodaily update
Alan Modra [Fri, 30 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoFrom Cary Coutant: Avoid compilation warnings if no zlib.h.
Ian Lance Taylor [Fri, 30 Nov 2007 22:38:01 +0000 (22:38 +0000)]
From Cary Coutant: Avoid compilation warnings if no zlib.h.

16 years agobfd/
Richard Sandiford [Fri, 30 Nov 2007 09:01:35 +0000 (09:01 +0000)]
bfd/
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use the
ELF header to choose between 32-bit and 64-bit relocation structures.

16 years agoFrom Craig Silverstein: Add support for compressing .debug_str section.
Ian Lance Taylor [Fri, 30 Nov 2007 00:35:27 +0000 (00:35 +0000)]
From Craig Silverstein: Add support for compressing .debug_str section.

16 years agodaily update
Alan Modra [Thu, 29 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoClean up setting address and section offset.
Ian Lance Taylor [Thu, 29 Nov 2007 20:10:17 +0000 (20:10 +0000)]
Clean up setting address and section offset.

16 years ago2007-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Paolo Bonzini [Thu, 29 Nov 2007 15:36:39 +0000 (15:36 +0000)]
2007-11-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

        * config-ml.in: Robustify against white space in absolute file
        names.

16 years ago bfd/
Mark Shinwell [Thu, 29 Nov 2007 12:23:44 +0000 (12:23 +0000)]
bfd/
* archures.c (bfd_mach_mips_loongson_2e): New.
(bfd_mach_mips_loongson_2f): New.
* bfd-in2.h (bfd_mach_mips_loongson_2e): New.
(bfd_mach_mips_loongson_2f): New.
* cpu-mips.c: Add I_loongson_2e and I_loongson_2f to
anonymous enum.
(arch_info_struct): Add Loongson-2E and Loongson-2F entries.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle Loongson-2E
and Loongson-2F flags.
(mips_set_isa_flags): Likewise.
(mips_mach_extensions): Add Loongson-2E and Loongson-2F
entries.

binutils/
* readelf.c (get_machine_flags): Handle Loongson-2E and -2F
flags.

gas/
* config/tc-mips.c (mips_cpu_info_table): Add loongson2e
and loongson2f entries.
* doc/c-mips.texi: Document -march=loongson{2e,2f} options.

gas/testsuite/
* gas/mips/mips.exp: Add loongson-2e and -2f tests.
* gas/mips/loongson-2e.d: New.
* gas/mips/loongson-2e.s: New.
* gas/mips/loongson-2f.d: New.
* gas/mips/loongson-2f.s: New.

include/elf/
* mips.h (E_MIPS_MACH_LS2E): New.
(E_MIPS_MACH_LS2F): New.

include/opcode/
* mips.h (INSN_LOONGSON_2E): New.
(INSN_LOONGSON_2F): New.
(CPU_LOONGSON_2E): New.
(CPU_LOONGSON_2F): New.
(OPCODE_IS_MEMBER): Update for Loongson-2E and -2F flags.

opcodes/
* mips-dis.c (mips_arch_choices): Add Loongson-2E and -2F
entries.
* mips-opc.c (IL2E): New.
(IL2F): New.
(mips_builtin_opcodes): Add Loongson-2E and -2F instructions.
Allow movz and movn for Loongson-2E and -2F.  Add movnz entry.
Move coprocessor encodings to the end of the table.  Allow
certain MIPS V .ps instructions on the Loongson-2E and -2F.

16 years ago include/opcode/
Mark Shinwell [Thu, 29 Nov 2007 11:55:19 +0000 (11:55 +0000)]
include/opcode/
* mips.h (INSN_ISA*): Redefine certain values as an
enumeration.  Update comments.
(mips_isa_table): New.
(ISA_MIPS*): Redefine to match enumeration.
(OPCODE_IS_MEMBER): Modify to correctly test new INSN_ISA*
values.

opcodes/
* mips-opc.c (I3_32, I3_33, I4_32, I4_33, I5_33): New.
(mips_builtin_opcodes): Use these new I* values.

16 years ago2007-11-29 Martin Schwidefsky <schwidefsky@de.ibm.com>
Martin Schwidefsky [Thu, 29 Nov 2007 09:34:14 +0000 (09:34 +0000)]
2007-11-29  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* config/tc-s390.c (md_begin): If the -mesa option is specified
add zarch opcodes to the hash table only if there is no variant
that is available for the esa mode as well.

2007-11-29  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* gas/s390/esa-z9-109.d: Add check for old version of sske.
* gas/s390/esa-z9-109.s: Likewise.

16 years agoPR ld/5398
Nick Clifton [Thu, 29 Nov 2007 08:14:22 +0000 (08:14 +0000)]
PR ld/5398
* elf32-arm.c (bfd_elf32_arm_process_before_allocation): Do not complain if
  there is no glue bfd, just return.

16 years agodaily update
Alan Modra [Wed, 28 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoDon't try to delete the output file if we don't know its name yet.
Ian Lance Taylor [Wed, 28 Nov 2007 19:39:40 +0000 (19:39 +0000)]
Don't try to delete the output file if we don't know its name yet.

16 years agoFrom Craig Silverstein: Fix up comments.
Ian Lance Taylor [Wed, 28 Nov 2007 19:38:35 +0000 (19:38 +0000)]
From Craig Silverstein: Fix up comments.

16 years agoFrom Craig Silverstein: Better handling of ODR violations which are
Ian Lance Taylor [Wed, 28 Nov 2007 18:01:06 +0000 (18:01 +0000)]
From Craig Silverstein: Better handling of ODR violations which are
not in a function.

16 years ago * internal.h (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with
Nathan Sidwell [Wed, 28 Nov 2007 13:53:05 +0000 (13:53 +0000)]
* internal.h (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with
segments at the end of memory.

16 years ago* elf-m10300.c (mn10300_elf_relax_section): Extend previous fix to cover forward...
Nick Clifton [Wed, 28 Nov 2007 13:04:18 +0000 (13:04 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Extend previous fix to cover forward jumps.
* ld-mn10300/i135409-5.s: New test case.  Check for relaxation to a 16-bit backward jump instruction.
* ld-mn10300/i135409-5.t: Linker script for the new test.
* ld-mn10300/i135409-5.d: Expected disassembly of new test.
* ld-mn10300/mn10300.exp: Run the new test.

16 years agodaily update
Alan Modra [Tue, 27 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago2007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>
Andreas Krebbel [Tue, 27 Nov 2007 15:33:28 +0000 (15:33 +0000)]
2007-11-27  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt",
"tgxt"): Removed.
("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.

16 years ago2007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>
Andreas Krebbel [Tue, 27 Nov 2007 15:31:59 +0000 (15:31 +0000)]
2007-11-27  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt",
"tgxt"): Removed.
("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.

2007-11-27  Andreas Krebbel  <krebbel1@de.ibm.com>

* gas/s390/zarch-z9-ec.d: ("tcet", "tcdt", "tcxt", "tget",
"tgdt", "tgxt"): Removed.
        ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.
* gas/s390/zarch-z9-ec.s: Likewise.

16 years agoRework merge_map for speed.
Ian Lance Taylor [Tue, 27 Nov 2007 06:13:33 +0000 (06:13 +0000)]
Rework merge_map for speed.

16 years agodaily update
Alan Modra [Mon, 26 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * cxxfilt.c (demangle_it): Don't call printf without format string.
Alan Modra [Mon, 26 Nov 2007 01:53:59 +0000 (01:53 +0000)]
* cxxfilt.c (demangle_it): Don't call printf without format string.

16 years ago * config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand.
Alan Modra [Mon, 26 Nov 2007 01:43:43 +0000 (01:43 +0000)]
* config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand.

16 years agodaily update
Alan Modra [Sun, 25 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Sat, 24 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Fri, 23 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Thu, 22 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoMake Merge_key_less operator() inline.
Ian Lance Taylor [Thu, 22 Nov 2007 00:45:46 +0000 (00:45 +0000)]
Make Merge_key_less operator() inline.

16 years agoAdd threading support.
Ian Lance Taylor [Thu, 22 Nov 2007 00:05:51 +0000 (00:05 +0000)]
Add threading support.

16 years agodaily update
Alan Modra [Wed, 21 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * dwarf.c (display_debug_loc): Cast section_end - start to long
Hans-Peter Nilsson [Wed, 21 Nov 2007 17:50:41 +0000 (17:50 +0000)]
* dwarf.c (display_debug_loc): Cast section_end - start to long
for output format.

16 years ago* elf-m10300.c (mn10300_elf_relax_section): Allow for alignment relocs when
Nick Clifton [Wed, 21 Nov 2007 12:06:26 +0000 (12:06 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Allow for alignment relocs when
   computing whether instructions can be relaxed.
* ld-mn10300/i135409-4.s: New test case.  Check for relaxation to a 16-bit
    jump instruction.
* ld-mn10300/i135409-4.t: Linker script for the new test.
* ld-mn10300/i135409-4.d: Expected disassembly of new test.
* ld-mn10300/mn10300.exp: Run the new test.

16 years ago* dwarf.c (display_debug_loc): Issue a warning if there are bytes at the end
Nick Clifton [Wed, 21 Nov 2007 11:58:00 +0000 (11:58 +0000)]
* dwarf.c (display_debug_loc): Issue a warning if there are bytes at the end
  of the .debug_loc section which are not referenced by any attribute in the
  .debug_info section.

16 years agodaily update
Alan Modra [Tue, 20 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agooops - omitted from previous delta
Nick Clifton [Tue, 20 Nov 2007 16:58:47 +0000 (16:58 +0000)]
oops - omitted from previous delta

16 years ago* elflink.c (elf_link_output_extsym): Weaken assertion: if --gc-section is set, there...
Nick Clifton [Tue, 20 Nov 2007 15:08:25 +0000 (15:08 +0000)]
* elflink.c (elf_link_output_extsym): Weaken assertion: if --gc-section is set, there may be no TLS segment.
* lib/ld-lib.exp (check_gc_sections_available): New proc, based on the version in gcc/testsuite/lib/target-supports.exp.
* ld-elf/eld.exp: Use check_gc_sections_available.

16 years agoFrom Craig Silverstein: Also set entsize for .debug_str sections.
Ian Lance Taylor [Tue, 20 Nov 2007 04:26:15 +0000 (04:26 +0000)]
From Craig Silverstein: Also set entsize for .debug_str sections.

16 years agodaily update
Alan Modra [Mon, 19 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoFrom Craig Silverstein: Force .debug_str sections to be SHF_MERGE and
Ian Lance Taylor [Mon, 19 Nov 2007 22:49:38 +0000 (22:49 +0000)]
From Craig Silverstein: Force .debug_str sections to be SHF_MERGE and
SHF_STRINGS.

16 years ago * config/xtensa-istack.h (tinsn_struct): Replace linenum field
Bob Wilson [Mon, 19 Nov 2007 19:40:55 +0000 (19:40 +0000)]
* config/xtensa-istack.h (tinsn_struct): Replace linenum field
with loc_directive_seen and debug_line.
* config/tc-xtensa.c: Include xtensa-istack.h after dwarf2dbg.h.
(xg_build_to_insn): Copy the new fields instead of linenum.
(xg_build_token_insn): Likewise.  Abort on INSTR_LABEL_DEF and move
common code out of the switch.
(md_assemble): Set new tinsn fields from DWARF information.  Call
dwarf2_consume_line_info.
(xg_assemble_vliw_tokens): Update the code to select the "best" line
number to use new information.  Call dwarf2_gen_line_info instead
of dwarf2_emit_insn.

16 years ago * dwarf2dbg.h (dwarf2_loc_directive_seen): New.
Bob Wilson [Mon, 19 Nov 2007 19:37:18 +0000 (19:37 +0000)]
* dwarf2dbg.h (dwarf2_loc_directive_seen): New.
* dwarf2dbg.c (loc_directive_seen): Make external and rename to...
(dwarf2_loc_directive_seen): ...this.
(dwarf2_emit_insn, dwarf2_consume_line_info)
(dwarf2_emit_label, dwarf2_directive_loc): Use new name.

16 years ago * dwarf2dbg.c (dwarf2_emit_label): Use dwarf2_consume_line_info.
Bob Wilson [Mon, 19 Nov 2007 19:33:23 +0000 (19:33 +0000)]
* dwarf2dbg.c (dwarf2_emit_label): Use dwarf2_consume_line_info.

16 years ago * dwarf2dbg.c (dwarf2_consume_line_info): New.
Bob Wilson [Mon, 19 Nov 2007 18:15:53 +0000 (18:15 +0000)]
* dwarf2dbg.c (dwarf2_consume_line_info): New.
(dwarf2_emit_insn): Use it here.
(dwarf2_directive_loc): Fix check for consecutive .loc directives
when debug_type is DEBUG_DWARF2.
* dwarf2dbg.h (dwarf2_consume_line_info): New prototype.
* config/tc-ia64.c (ia64_flush_insns): Call dwarf2_consume_line_info.
(md_assemble): Likewise.
testsuite/
* gas/lns/lns.exp: Run lns-common-1 with alternate source for ia64.
* gas/lns/lns-common-1-ia64.s: New file.

16 years ago* readelf.c (is_32bit_abs_reloc): Add support for NIOS relocs.
Nick Clifton [Mon, 19 Nov 2007 12:01:42 +0000 (12:01 +0000)]
* readelf.c (is_32bit_abs_reloc): Add support for NIOS relocs.
   (is_64bit_abs_reloc): Add support for HPPA relocs.
   (is_16bit_abs_reloc): Add support for NIOS relocs.

16 years ago * elf-bfd.h (bfd_elf_perform_complex_relocation): Update prototype.
Alan Modra [Mon, 19 Nov 2007 02:19:39 +0000 (02:19 +0000)]
* elf-bfd.h (bfd_elf_perform_complex_relocation): Update prototype.
* elflink.c (bfd_elf_perform_complex_relocation): Return status.
Don't print reloc overflow message.
* elf32-mep.c (mep_elf_relocate_section): Handle status from
bfd_elf_perform_complex_relocation.

16 years agodaily update
Alan Modra [Sun, 18 Nov 2007 23:00:07 +0000 (23:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Sat, 17 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * config/tc-mips.c (md_parse_option): Match mips_optimize to the -O
Thiemo Seufer [Sat, 17 Nov 2007 14:19:19 +0000 (14:19 +0000)]
* config/tc-mips.c (md_parse_option): Match mips_optimize to the -O
option supplied, but still keep mips_optimize == 2 as default value.

16 years ago [ld/testsuite/ChangeLog]
Thiemo Seufer [Sat, 17 Nov 2007 13:38:57 +0000 (13:38 +0000)]
[ld/testsuite/ChangeLog]
* ld-mips-elf/attr-gnu-4-14.d, ld-mips-elf/attr-gnu-4-41.d:
Adjust warning message for -mfp64 flag.
* ld-mips-elf/attr-gnu-4-5.s, ld-mips-elf/attr-gnu-4-04.d,
ld-mips-elf/attr-gnu-4-51.d, ld-mips-elf/attr-gnu-4-05.d,
ld-mips-elf/attr-gnu-4-15.d, ld-mips-elf/attr-gnu-4-24.d,
ld-mips-elf/attr-gnu-4-25.d, ld-mips-elf/attr-gnu-4-34.d,
ld-mips-elf/attr-gnu-4-35.d, ld-mips-elf/attr-gnu-4-42.d,
ld-mips-elf/attr-gnu-4-43.d, ld-mips-elf/attr-gnu-4-44.d,
ld-mips-elf/attr-gnu-4-45.d, ld-mips-elf/attr-gnu-4-40.d,
ld-mips-elf/attr-gnu-4-14.d: New testcases files.
* ld-mips-elf/mips-elf.exp: Run new testcases.

[binutils/ChangeLog]
* readelf.c (display_mips_gnu_attribute): Recognize -mips32r2 -mfp64
objects.

[include/ChangeLog]
* elf/mips.h (Tag_GNU_MIPS_ABI_FP): Mention -mips32r2 -mfp64 variant
in comment.

[bfd/ChangeLog]
* elfxx-mips.c (mips_elf_merge_obj_attributes): Handle -mips32r2
-mfp64 attribute.

[gas/ChangeLog]
* doc/as.texinfo: Document the new attribute value.

16 years agoFrom Craig Silverstein: Quote the symbol name in the ODR violation
Ian Lance Taylor [Sat, 17 Nov 2007 02:49:22 +0000 (02:49 +0000)]
From Craig Silverstein: Quote the symbol name in the ODR violation
message to avoid a gcc collect2 demangling bug.

16 years agodaily update
Alan Modra [Fri, 16 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoReleased gold 0.8
Craig Silverstein [Fri, 16 Nov 2007 21:18:22 +0000 (21:18 +0000)]
Released gold 0.8

16 years agoIgnore empty archives.
Ian Lance Taylor [Fri, 16 Nov 2007 18:44:20 +0000 (18:44 +0000)]
Ignore empty archives.

16 years ago2007-11-16 Eric B. Weddington <eric.weddington@atmel.com>
Eric B. Weddington [Fri, 16 Nov 2007 17:39:22 +0000 (17:39 +0000)]
2007-11-16  Eric B. Weddington  <eric.weddington@atmel.com>

* config/tc-avr.c (mcu_types): Add ATmega32HVB device.
* doc/c-avr.texi: Likewise.

16 years ago2007-11-16 Eric B. Weddington <eric.weddington@atmel.com>
Eric B. Weddington [Fri, 16 Nov 2007 17:25:28 +0000 (17:25 +0000)]
2007-11-16  Eric B. Weddington  <eric.weddington@atmel.com>

* config/tc-avr.c (mcu_types): Add ATmega1284P device.
* doc/c-avr.texi: Likewise.

16 years agoWhen looking for ODR violations, only check the file base name. Also,
Ian Lance Taylor [Fri, 16 Nov 2007 16:54:19 +0000 (16:54 +0000)]
When looking for ODR violations, only check the file base name.  Also,
never demangle if --no-demangle was used.

16 years ago* dwarf2.h: Mention the location of the DWARF3 spec on the web.
Nick Clifton [Fri, 16 Nov 2007 15:36:21 +0000 (15:36 +0000)]
* dwarf2.h: Mention the location of the DWARF3 spec on the web.
  (DW_AT_stride_size): Rename to DW_AT_bit_stride.
  (DW_AT_stride): Rename to DW_AT_byte_stride.
* dwarf.c (process_extended_line_op): Add cases for HP extensions to the line ops.
  Mention if an unknown op code is in the user defined range.
  (decode_location_expression): Add cases for HP extensions, the DW_OP_GNU_uninit extension and the DW_OP_call_frame_cfa and DW_OP_bit_piece DWARF3 operators.
  (read_and_display_attr): Correct list of attributes which can reference a location list.
  (read_and_display_attr_value): Add cases for DWARF3 values and HP extensions.
  Correct list of attributes which can reference a location list.
  (get_AT_name): Add cases for DWARF3 values and HP and PGI extensions.

16 years ago* ld-mn10300/mn10300.exp: Fix the start address of the .bss section for the i1127740...
Nick Clifton [Fri, 16 Nov 2007 09:48:05 +0000 (09:48 +0000)]
* ld-mn10300/mn10300.exp: Fix the start address of the .bss section for the i1127740.s test.
* elf-m10300.c (mn10300_elf_check_relocs): Fix memory leak and check that bfd_elf_get_elf_syms is only called once.

16 years agoDW_LNE_end_sequence indicates that the address points to the byte
Ian Lance Taylor [Fri, 16 Nov 2007 06:47:53 +0000 (06:47 +0000)]
DW_LNE_end_sequence indicates that the address points to the byte
*after* the current target sequence.

16 years agobfd/ChangeLog:
Ulrich Weigand [Thu, 15 Nov 2007 23:47:58 +0000 (23:47 +0000)]
bfd/ChangeLog:

* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Set udata.p of
synthetic symbol to point to the ELF symbol it was derived from.

gdb/ChangeLog:

* elfread.c (ST_REGULAR, ST_DYNAMIC, ST_SYNTHETIC): New defines.
(elf_symtab_read): Rename DYNAMIC argument to TYPE.  Do not access
ELF-private symbol data when processing synthetic symbols.  Use
udata.p to get at size of ppc64 synthetic 'dot' symbols.
(elf_symfile_read): Pass TYPE argument to elf_symtab_read.

16 years agoFrom Cary Coutant: Count textrel with output sections rather than
Ian Lance Taylor [Thu, 15 Nov 2007 23:46:46 +0000 (23:46 +0000)]
From Cary Coutant: Count textrel with output sections rather than
setting a flag as we add each reloc in the target code.

16 years agoFrom Craig Silverstein: Add --strip-debug-gdb.
Ian Lance Taylor [Thu, 15 Nov 2007 23:03:45 +0000 (23:03 +0000)]
From Craig Silverstein: Add --strip-debug-gdb.

16 years agodaily update
Alan Modra [Thu, 15 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoWorkaround bug in gcc 4.0.3 STL.
Ian Lance Taylor [Thu, 15 Nov 2007 20:41:19 +0000 (20:41 +0000)]
Workaround bug in gcc 4.0.3 STL.

16 years agoMove changelog entries to the right ChangeLog
Vladimir Prus [Thu, 15 Nov 2007 07:11:52 +0000 (07:11 +0000)]
Move changelog entries to the right ChangeLog

16 years ago Apply const qualifier to some users of bp_location.
Vladimir Prus [Thu, 15 Nov 2007 06:52:53 +0000 (06:52 +0000)]
Apply const qualifier to some users of bp_location.
* breakpoint.h (struct bpstats): Make
the breakpoint_at field point at const bp_location.
* breakpoint.c (bpstat_alloc): Accept const
bp_location.
(breakpoint_here_p, breakpoint_inserted_here_p)
(software_breakpoint_inserted_here_p)
(breakpoint_thread_match, bpstat_stop_status)
(read_memory_nobpt, bpstat_have_active_hw_watchpoints): Use
const bp_location for iteration.
(print_it_typical, print_bp_stop_message): Use
const bp_location variable.

16 years ago Make mark_breakpoints_out static.
Vladimir Prus [Thu, 15 Nov 2007 06:46:20 +0000 (06:46 +0000)]
Make mark_breakpoints_out static.
* breakpoint.h (mark_breakpoints_out): Remove
declaration.
* breakpoint.c (mark_breakpoints_out): Make static.

16 years ago Prevent clear_command from directly modifying breakpoint list.
Vladimir Prus [Thu, 15 Nov 2007 06:28:18 +0000 (06:28 +0000)]
Prevent clear_command from directly modifying breakpoint list.
* Makefile.in (breakpoint_h): Update dependency.
* breakpoint.c (clear_command): Do not remove
breakpoints from breakpoint_chain.  Collect breakpoints
to delete in a vector.
* breakpoint.h (breakpoint_p): New typedef for pointer to
breakpoint.  Register vector of breakpoint_p.

16 years ago Remove 'run_cleanup'.
Vladimir Prus [Thu, 15 Nov 2007 06:24:17 +0000 (06:24 +0000)]
Remove 'run_cleanup'.
* defs.h (do_run_cleanups, make_run_cleanup): Remove
declarations.
* infcmd.c (run_command_1): Call clear_solib instead
of do_run_cleanups.
* jv-lang.c (java_rerun_cleanup): Remove, for lack of
any use.
* solib.c (solib_cleanup_queued, do_clear_solib): Remove.
(update_solib_lib): Don't setup run cleanup.
(no_shared_libraries): Call clear_solib, not do_clear_solib.
* utils.c (run_cleanup_chain, make_run_cleanup)
(do_run_cleanups): Remove.

16 years ago Remove CLEAR_SOLIB use.
Vladimir Prus [Thu, 15 Nov 2007 06:14:25 +0000 (06:14 +0000)]
Remove CLEAR_SOLIB use.
* corelow.c (core_close): Don't check for CLEAR_SOLIB.
* infcmd.c (attach_command): Likewise.

16 years ago PR 5328
Alan Modra [Thu, 15 Nov 2007 05:20:30 +0000 (05:20 +0000)]
PR 5328
* opncls.c (separate_debug_file_exists): Use fopen/fread
rather than open/read and open in binary mode.

16 years agoFrom Craig Silverstein: Add support for --demangle.
Ian Lance Taylor [Thu, 15 Nov 2007 01:12:55 +0000 (01:12 +0000)]
From Craig Silverstein: Add support for --demangle.

16 years agodaily update
Alan Modra [Wed, 14 Nov 2007 23:00:07 +0000 (23:00 +0000)]
daily update

16 years agogas/
H.J. Lu [Wed, 14 Nov 2007 22:31:54 +0000 (22:31 +0000)]
gas/

2007-11-14  Tristan Gingold  <gingold@adacore.com>

* config/tc-ia64.c (AR_RUC): Defined.
(ar): Add "ar.ruc".
(specify_resource): Handle AR_RUC like AR_ITC.

gas/testsuite/

2007-11-14  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/dv-raw-err.s: Add tests for ar.ruc.
* gas/ia64/dv-waw-err.s: Likewise.
* gas/ia64/invalid-ar.s: Likewise.

* gas/ia64/regs.s: Add tests for ar.ruc and ar44.

* gas/ia64/dv-raw-err.l: Updated.
* gas/ia64/dv-waw-err.l: Likewise.
* gas/ia64/invalid-ar.l: Likewise.
* gas/ia64/regs.d: Likewise.

opcodes/

2007-11-14  H.J. Lu  <hongjiu.lu@intel.com>

* ia64-ic.tbl: Updated for Itanium 9100 series.
* ia64-raw.tbl: Likewise.
* ia64-waw.tbl: Likewise.
* ia64-asmtab.c: Regenerated.

2007-11-14  Tristan Gingold  <gingold@adacore.com>

* ia64-dis.c (print_insn_ia64): Handle ar.ruc.
* ia64-gen.c (lookup_regindex): Likewise.

16 years agoFrom Cary Coutant: Improve i386 shared library TLS support.
Ian Lance Taylor [Wed, 14 Nov 2007 22:31:02 +0000 (22:31 +0000)]
From Cary Coutant: Improve i386 shared library TLS support.

16 years agobfd/
Richard Sandiford [Wed, 14 Nov 2007 20:46:15 +0000 (20:46 +0000)]
bfd/
2007-09-18  Richard Sandiford  <richard@codesourcery.com>

* elfxx-mips.c (mips_got_page_range): New structure.
(mips_got_page_entry): Likewise.
(mips_got_info): Add page_gotno and got_page_entries fields.
(mips_elf_got_per_bfd_arg): Add max_pages field.  Delete
primary_count and current_count fields.
(mips_got_page_entry_hash, mips_got_page_entry_eq): New functions.
(mips_elf_pages_for_range, mips_elf_record_got_page_entry): Likewise.
(mips_elf_get_got_for_bfd): New function, split out from
mips_elf_make_got_per_bfd.  Initialize the page_gotno and
got_page_entries fields when creating a new GOT structure.
(mips_elf_make_got_pages_per_bfd): New function.
(mips_elf_merge_got_with): New function, split out from
mips_elf_make_got_per_bfd.  Merge page entries as well as
non-page entries.  Use the minimum of max_pages and the sum
of the page_gotnos to estimate the number of page entries.
(mips_elf_merge_gots): Use the minimum of max_pages and the
bfd's page_gotno to estimate the number of page entries.
Use the above functions.
(mips_elf_multi_got): Add page entries as well as non-page entries
to the individual per-bfd GOTs.  Initialize got_per_bfd_arg.max_pages.
Initialize the page_gotno and got_page_entries fields when creating
a new primary GOT.  Use the minimum of pages and page_gotno when
adding the number of pages entries to local_gotno.
(mips_elf_create_got_section): Initialize the page_gotno and
got_page_entries fields of the GOT structure.
(mips_elf_rel_relocation_p, mips_elf_read_rel_addend)
(mips_elf_add_lo16_rel_addend, mips_elf_get_section_contents): New
functions, split out from...
(_bfd_mips_elf_relocate_section): ...here.
(_bfd_mips_elf_check_relocs): Record GOT page entries too.
(_bfd_mips_relax_section): Use mips_elf_get_section_contents.
(_bfd_mips_elf_always_size_sections): Use the smaller of the
loadable_size- and page_gotno-derived estimates.

ld/testsuite/
2007-09-18  Richard Sandiford  <richard@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* ld-mips-elf/got-page-1.d, ld-mips-elf/got-page-1.s,
* ld-mips-elf/got-page-2.d, ld-mips-elf/got-page-2.s,
* ld-mips-elf/got-page-3.d, ld-mips-elf/got-page-3a.s,
* ld-mips-elf/got-page-3b.s, ld-mips-elf/got-page-3c.s,
* ld-mips-elf/got-page-1.ld: New tests.
* ld-mips-elf/mips-elf.exp: Run them.
* ld-mips-elf/multi-got-1.d, ld-mips-elf/multi-got-no-shared.d,
* ld-mips-elf/tls-hidden2-got.d, ld-mips-elf/tls-hidden2.d,
* ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got,
* ld-mips-elf/tls-hidden3.r, ld-mips-elf/tls-hidden4.got,
* ld-mips-elf/tls-hidden4.r, ld-mips-elf/tls-multi-got-1.d,
* ld-mips-elf/tls-multi-got-1.got, ld-mips-elf/tls-multi-got-1.r,
* ld-mips-elf/tlsbin-o32.d, ld-mips-elf/tlsbin-o32.got,
* ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-1.got,
* ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.got,
* ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-3.got,
* ld-mips-elf/tlsdyn-o32.d, ld-mips-elf/tlsdyn-o32.got,
* ld-mips-elf/tlslib-o32-hidden.got, ld-mips-elf/tlslib-o32-ver.got,
* ld-mips-elf/tlslib-o32.d, ld-mips-elf/tlslib-o32.got: Update for
GOT allocation changes.