binutils-gdb.git
17 years ago2007-08-17 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 17 Aug 2007 23:17:30 +0000 (23:17 +0000)]
2007-08-17  Michael Snyder  <msnyder@access-company.com>

* varobj.c (value_of_root): Memory leak.

17 years ago2007-08-17 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 17 Aug 2007 23:12:47 +0000 (23:12 +0000)]
2007-08-17  Michael Snyder  <msnyder@access-company.com>

* gdbtypes.h (virtual_base_list): Remove export decl.
* gdbtypes.c (virtual_base_list): Make static.  Not called outside.
(virtual_base_index): Memory leak.
(virtual_base_index_skip_primaries): Ditto.

17 years ago * config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*.
Jakub Jelinek [Fri, 17 Aug 2007 22:00:11 +0000 (22:00 +0000)]
* config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*.
Change sparc64-*-linux-* to sparc64*-*-linux-*.

* configure.host: Handle sparcv*-*-linux-* the same as
sparc-*-linux-*.  Change sparc64-*-linux-* to sparc64*-*-linux-*.

* ld-sparc/tlssunnopic32.dd: Fix up #target.
* ld-sparc/tlssunnopic32.rd: Likewise.
* ld-sparc/tlssunnopic32.sd: Likewise.
* ld-sparc/tlssunnopic64.dd: Likewise.
* ld-sparc/tlssunnopic64.rd: Likewise.
* ld-sparc/tlssunnopic64.sd: Likewise.

17 years ago2007-08-17 Maxim Grigoriev <maxim2405@gmail.com>
Maxim Grigoriev [Fri, 17 Aug 2007 21:53:29 +0000 (21:53 +0000)]
2007-08-17  Maxim Grigoriev  <maxim2405@gmail.com>

* xtensa-tdep.c (ARG_NOF, ARG_1ST, PS_WOE, PS_EXC, C0_MAXOPDS)
(C0_NREGS, C0_CLESV, C0_SP, C0_FP, C0_RA, C0_ARGS, C0_NARGS)
(C0_CONST, C0_INEXP, C0_NOSTK): New macros.
(xtensa_read_register): New function.
(xtensa_windowed_frame_cache, xtensa_call0_frame_cache, xtensa_c0reg)
(xtensa_insn_kind): New types.
(xtensa_frame_cache, xtensa_alloc_frame_cache, xtensa_frame_cache)
(xtensa_frame_prev_register, xtensa_return_value, xtensa_skip_prologue)
(xtensa_verify_config, xtensa_pseudo_register_read)
(xtensa_pseudo_register_write, xtensa_extract_return_value)
(xtensa_store_return_value)
(xtensa_push_dummy_call): Extended to support Xtensa Call0 ABI.
(windowing_enabled, extract_call_winsize, xtensa_unwind_dummy_id)
(xtensa_frame_this_id, xtensa_frame_prev_register)
(xtensa_register_type, xtensa_reg_to_regnum): Cosmetic changes.
(call0_frame_cache, call0_frame_get_reg_at_entry)
(call0_classify_opcode, call0_track_op)
(call0_analyze_prologue, call0_frame_cache): New functions.

17 years agomerge from gcc
DJ Delorie [Fri, 17 Aug 2007 19:31:01 +0000 (19:31 +0000)]
merge from gcc

17 years ago * breakpoint.c (bpstat_free): New.
Vladimir Prus [Fri, 17 Aug 2007 17:06:04 +0000 (17:06 +0000)]
* breakpoint.c (bpstat_free): New.
(bpstat_clear): Use bpstat_free.
(delete_breakpoint): Document why we cannot
remove bpstats from stop_bpstat.
* breakpoint.h (bpstat_free): Declare.

17 years ago PR gas/4079
Alan Modra [Fri, 17 Aug 2007 14:12:43 +0000 (14:12 +0000)]
PR gas/4079
* config/tc-i386.c (x86_cons): Complain about invalid @got etc.
expressions.
(i386_immediate): Detect and complain about more cases of
invalid immediate expressions.  Return failure rather than
converting them to zero.
(i386_displacement): Likewise.

17 years ago * emultempl/alphaelf.em: Format option help.
Alan Modra [Fri, 17 Aug 2007 13:50:48 +0000 (13:50 +0000)]
* emultempl/alphaelf.em: Format option help.
* emultempl/armcoff.em: Likewise.
* emultempl/armelf.em: Likewise.
* emultempl/avrelf.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/ia64elf.em: Likewise.
* emultempl/m68hc1xelf.em: Likewise.
* emultempl/ppc32elf.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/scoreelf.em: Likewise.
* emultempl/spuelf.em: Likewise.
* emultempl/ticoff.em: Likewise.
* emultempl/vxworks.em: Likewise.
* emultempl/xtensaelf.em: Likewise.

17 years ago * ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages.
Alan Modra [Fri, 17 Aug 2007 13:23:08 +0000 (13:23 +0000)]
* ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages.
* lexsup.c (ld_options): Don't use tabs in help text.
* emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Fix typo.
* emultempl/pe.em (gld${EMULATION_NAME}_finish): Fix typo.

17 years agold/testsuite/
Richard Sandiford [Fri, 17 Aug 2007 13:22:44 +0000 (13:22 +0000)]
ld/testsuite/
* lib/ld-lib.exp (run_dump_test): Allow [big_or_little_endian]
to appear in assembler and linker options.
* ld-mips-elf/vxworks1-static.d (ld): Add [big_or_little_endian].

17 years ago2007-08-17 Richard Sandiford <richard@codesourcery.com>
Richard Sandiford [Fri, 17 Aug 2007 13:15:24 +0000 (13:15 +0000)]
2007-08-17  Richard Sandiford  <richard@codesourcery.com>
    Nigel Stephens  <nigel@mips.com>

* config/mt-sde: New file.
* configure.ac (mips*-sde-elf*): New stanza.  Use config/mt-sde
as target_makefile_frag.
* configure: Regenerate.

17 years ago * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
Alan Modra [Fri, 17 Aug 2007 01:04:52 +0000 (01:04 +0000)]
* po/Make-in: Add --msgid-bugs-address to xgettext invocation.

17 years ago* Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):
Alexandre Oliva [Fri, 17 Aug 2007 00:03:44 +0000 (00:03 +0000)]
* Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):
Add to flags_to_pass.  Adjust uses of BOOT_CFLAGS.
(bootstrap2-debug, bootstrap-debug): New bootstrap stages.
* Makefile.tpl (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS): New.
(do-compare, do-compare3, do-compare-debug): New.
([+compare-target+]): Use them.

17 years ago*** empty log message ***
gdbadmin [Fri, 17 Aug 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 17 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years agobfd/
H.J. Lu [Thu, 16 Aug 2007 18:49:42 +0000 (18:49 +0000)]
bfd/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c: Revert last change.

binutils/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c: Revert last change.

include/elf/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* common.h: Revert last change.

17 years agoevent-loop.c (gdb_wait_for_event): Move statement into if block.
Michael Snyder [Thu, 16 Aug 2007 14:51:22 +0000 (14:51 +0000)]
event-loop.c (gdb_wait_for_event): Move statement into if block.

17 years ago * ld-srec/srec.exp: Always pass "-G 0". Remove all powerpc
Alan Modra [Thu, 16 Aug 2007 13:51:27 +0000 (13:51 +0000)]
* ld-srec/srec.exp: Always pass "-G 0".  Remove all powerpc
xfails.

17 years agobfd/
H.J. Lu [Thu, 16 Aug 2007 13:38:09 +0000 (13:38 +0000)]
bfd/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR.
(bfd_section_from_phdr): Likewise.
(get_program_header_size): Likewise. Add a PT_GNU_ATTR segment
if there is an attribute section.
(_bfd_elf_map_sections_to_segments): Likewise.
(IS_SECTION_IN_INPUT_SEGMENT): Likewise.

binutils/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (get_segment_type): Change PT_GNU_STACK to
PT_GNU_ATTR.

include/elf/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* common.h (PT_GNU_STACK): Renamed to ...
(PT_GNU_ATTR): This.
(PT_GNU_STACK): New.  Make an alias of PT_GNU_ATTR.

17 years agodaily update
Alan Modra [Thu, 16 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Thu, 16 Aug 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * ada-lang.c (resolve_subexp): Correct arity of binary operators.
Joel Brobecker [Wed, 15 Aug 2007 18:43:15 +0000 (18:43 +0000)]
    * ada-lang.c (resolve_subexp): Correct arity of binary operators.

17 years ago * ada-lang.c (possible_user_operator_p): Alternative fix to last
Joel Brobecker [Wed, 15 Aug 2007 18:36:37 +0000 (18:36 +0000)]
    * ada-lang.c (possible_user_operator_p): Alternative fix to last
        checkin guarding against NULL.

17 years ago PR 4923
Alan Modra [Wed, 15 Aug 2007 06:03:11 +0000 (06:03 +0000)]
PR 4923
* emultempl/elf32.em (after_open): Return immediately when
        non-ELF output.

17 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Wed, 15 Aug 2007 00:19:44 +0000 (00:19 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* tui-command.c, tui-data.c, tui-disasm.c, tui-file.c, tui-io.c,
tui-layout.c, tui-regs.c, tui-source.c, tui-win.c, tui-windata.c,
tui-wingeneral.c, tui-winsource.c: Coding standard, && and ||
go at beginning of new line.

17 years agodaily update
Alan Modra [Wed, 15 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Wed, 15 Aug 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 14 Aug 2007 23:50:39 +0000 (23:50 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* tui-data.c, tui-data.h, tui-disasm.c, tui-disasm.h, tui-hooks.c,
tui-io.c, tui-layout.c, tui-layout.h, tui-out.c, tui-regs.c,
tui-source.c, tui-source.h, tui-stack.c, tui-win.c, tui-win.h,
tui-windata.c, tui-windata.h, tui-wingeneral.c, tui-winsource.c,
tui-winsource.h, tui.c, tui.h: Function declarations and
definitions, wrap long lines.

17 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 14 Aug 2007 21:39:22 +0000 (21:39 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* tui-command.c, tui-data.c, tui-disasm.c, tui-layout.c,
tui-regs.c, tui-win.c, tui-windata.c, tui-winsource.c, tui.c:
Reformat block comments to GNU standard.

17 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 14 Aug 2007 21:20:09 +0000 (21:20 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* tui-command.c, tui-data.c, tui-data.h, tui-disasm.c, tui-file.c,
tui-hooks.c, tui-interp.c, tui-io.c, tui-layout.c, tui-out.c,
tui-regs.c, tui-regs.h, tui-source.c, tui-stack.c, tui-win.c,
tui-windata.c, tui-wingeneral.c, tui-winsource.c, tui-winsource.h,
tui.c, tui.h: Comment reformatting to coding standard (capitals,
spaces after periods, etc).

17 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 14 Aug 2007 20:23:29 +0000 (20:23 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* tui-data.c, tui-data.h, tui-disasm.c, tui-hooks.c, tui-layout.c,
tui-regs.c, tui-source.c, tui-stack.c, tui-win.c, tui-windata.c,
tui-wingeneral.c, tui-wingeneral.h, tui-winsource.c, tui.c,
tui-winsource.h: Whitespace changes, fix pointer declarations
to be consistant.

17 years ago * ada-lang.c (field_alignment): Guard against NULL.
Joel Brobecker [Tue, 14 Aug 2007 20:16:18 +0000 (20:16 +0000)]
    * ada-lang.c (field_alignment): Guard against NULL.

17 years ago * MAINTAINERS (Global Maintainers): Add self.
Joel Brobecker [Tue, 14 Aug 2007 20:10:47 +0000 (20:10 +0000)]
    * MAINTAINERS (Global Maintainers): Add self.

17 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 14 Aug 2007 19:51:37 +0000 (19:51 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* mi/mi-interp.c (mi_cmd_interpreter_exec): Dead code, dead variable.

17 years agobfd/
H.J. Lu [Tue, 14 Aug 2007 19:48:21 +0000 (19:48 +0000)]
bfd/

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

PR ld/4918
* elf32-i386.c (elf_i386_relocate_section): Allow R_386_PC32
on ___tls_get_addr for GD->LE/LD->LE transitions when not
building shared library.

* elf64-x86-64.c (elf64_x86_64_relocate_section): Allow
R_X86_64_PC32 on __tls_get_addr for GD->LE/LD->LE transitions
when not building shared library.

ld/testsuite/

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

PR ld/4918
* ld-i386/i386.exp (i386tests): Add tlsgd1 and tlsld1 tests.
* ld-x86-64/x86-64.exp (x86_64tests): Likewise.

* ld-i386/tlsgd1.dd: New file.
* ld-i386/tlsgd1.s: Likewise.
* ld-i386/tlsld1.dd: Likewise.
* ld-i386/tlsld1.s: Likewise.
* ld-x86-64/tlsgd1.dd: Likewise.
* ld-x86-64/tlsgd1.s: Likewise.
* ld-x86-64/tlsld1.dd: Likewise.
* ld-x86-64/tlsld1.s: Likewise.

17 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 14 Aug 2007 18:32:45 +0000 (18:32 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* ada-lang.c (possible_user_operator_p): Guard against NULL.

17 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 14 Aug 2007 18:26:46 +0000 (18:26 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* varobj.c (cplus_describe_child): Guard against null.
Use "NULL" instead of "0" to initialize pointers.

17 years ago * arm-tdep.c (arm_gdbarch_init): Allow unknown ABI and FPU settings
Daniel Jacobowitz [Tue, 14 Aug 2007 15:47:00 +0000 (15:47 +0000)]
* arm-tdep.c (arm_gdbarch_init): Allow unknown ABI and FPU settings
to match any gdbarch with matching OSABI.  Set default ABI and FPU
after running the OSABI handler.

17 years ago * config/i386/linux.mh (NATDEPFILES): Move corelow.o from here...
Daniel Jacobowitz [Tue, 14 Aug 2007 12:51:59 +0000 (12:51 +0000)]
* config/i386/linux.mh (NATDEPFILES): Move corelow.o from here...
* config/i386/linux.mt (TDEPFILES): ...to here.

17 years agoFix changelog formatting
Vladimir Prus [Tue, 14 Aug 2007 11:18:56 +0000 (11:18 +0000)]
Fix changelog formatting

17 years ago gdb/
Vladimir Prus [Tue, 14 Aug 2007 11:09:45 +0000 (11:09 +0000)]
gdb/
* breakpoint.c (disable_breakpoints_in_shlibs): Remove
the 'silent' parameter and code to implement that.
* breakpoint.h (disable_breakpoints_in_shlibs): Adjust
prototype.
* win32-nat.c: Adjust.
* solib.c: Adjust.

17 years ago * config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is
Andreas Schwab [Tue, 14 Aug 2007 10:44:12 +0000 (10:44 +0000)]
* config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is
unrepresentable.

17 years ago gdb/
Vladimir Prus [Tue, 14 Aug 2007 08:11:45 +0000 (08:11 +0000)]
    gdb/
        * breakpoint.c (update_breakpoints_after_exec): Don't
        set address to zero.

17 years ago2007-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan Kratochvil [Tue, 14 Aug 2007 08:04:47 +0000 (08:04 +0000)]
2007-08-14  Jan Kratochvil  <jan.kratochvil@redhat.com>

* elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): LOADBASE is now
initialized only on the first PT_LOAD.  New variable LOADBASE_SET.
Removed PF_R checking for IA-64 vDSOs as redundant now.
Code advisory: Roland McGrath

17 years ago2007-08-13 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 14 Aug 2007 00:31:40 +0000 (00:31 +0000)]
2007-08-13  Michael Snyder  <msnyder@access-company.com>

* valops.c: Whitespace clean-up.

17 years ago*** empty log message ***
gdbadmin [Tue, 14 Aug 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 14 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago2007-08-13 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Mon, 13 Aug 2007 23:06:34 +0000 (23:06 +0000)]
2007-08-13  Michael Snyder  <msnyder@access-company.com>

* tui/tui-winsource.c (tui_alloc_source_buffer): Clean up allocation.

17 years ago2007-08-13 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Mon, 13 Aug 2007 23:02:08 +0000 (23:02 +0000)]
2007-08-13  Michael Snyder  <msnyder@access-company.com>

* event-top.c (command_line_handler): Memory leak.

17 years ago2007-08-13 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Mon, 13 Aug 2007 22:57:39 +0000 (22:57 +0000)]
2007-08-13  Michael Snyder  <msnyder@access-company.com>

* mi/mi-cmd-var.c (mi_cmd_var_set_format): Memory leak.
No need to make copy.

17 years ago2007-08-13 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Mon, 13 Aug 2007 22:25:14 +0000 (22:25 +0000)]
2007-08-13  Michael Snyder  <msnyder@access-company.com>

* source.c (find_source_lines): Require symtab 's'.

17 years agobfd/
Richard Sandiford [Mon, 13 Aug 2007 21:16:39 +0000 (21:16 +0000)]
bfd/
* elfxx-mips.c (mips_elf_link_hash_table): Add computed_got_sizes.
(mips_elf_record_global_got_symbol): Increment local_gotno for
each forced-local symbol.
(_bfd_mips_elf_check_relocs): Pass forced-local call symbols to
mips_elf_record_global_got_symbol for VxWorks too.
(_bfd_mips_elf_always_size_sections): Set computed_got_sizes
to true after computing the GOT size.
(_bfd_mips_elf_hide_symbol): Increase local_gotno whenever
got.offset == 1.  Only adjust global_gotno if computed_got_sizes.
For VxWorks, add a local entry when hiding a symbol that needs a
plt but has not been marked as needing a global got entry.
(_bfd_mips_elf_link_hash_table_create): Set computed_got_sizes to
false.

ld/testsuite/
* ld-mips-elf/vxworks-forced-local-1.d,
* ld-mips-elf/vxworks-forced-local-1.s,
* ld-mips-elf/vxworks-forced-local-1.ver: New test.
* ld-mips-elf/mips-elf.exp: Run it.
* ld-mips-elf/tlsdyn-o32-2.d: Adjust for removal of unnecessary
local GOT entry.
* ld-mips-elf/tlsdyn-o32-2.got: Likewise.
* ld-mips-elf/tlsdyn-o32-3.d: Likewise.
* ld-mips-elf/tlsdyn-o32-3.got: Likewise.
* ld-mips-elf/vxworks1-lib.dd: Likewise.
* ld-mips-elf/vxworks1-lib.rd: Likewise.

17 years ago * config/default.exp: New file.
Daniel Jacobowitz [Mon, 13 Aug 2007 14:35:59 +0000 (14:35 +0000)]
* config/default.exp: New file.

17 years ago* standards.texi: Import 22 July 2007 version.
Nick Clifton [Mon, 13 Aug 2007 09:45:22 +0000 (09:45 +0000)]
* standards.texi: Import 22 July 2007 version.
* fdl.texi: Import version 1.2.
* make-stds.texi: Import 2006 version.

17 years ago * NEWS: Add a marker for the 2.18 features.
Daniel Jacobowitz [Mon, 13 Aug 2007 01:56:12 +0000 (01:56 +0000)]
* NEWS: Add a marker for the 2.18 features.

17 years ago * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
Daniel Jacobowitz [Mon, 13 Aug 2007 01:53:01 +0000 (01:53 +0000)]
* doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
$(top_srcdir)/../../bfd/doc.
* doc/Makefile.in: Regenerate.

17 years ago * coffgen.c (coff_get_normalized_symtab): Correct cast.
Daniel Jacobowitz [Mon, 13 Aug 2007 01:45:11 +0000 (01:45 +0000)]
* coffgen.c (coff_get_normalized_symtab): Correct cast.

17 years ago * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Pass
Ben Elliston [Mon, 13 Aug 2007 01:32:36 +0000 (01:32 +0000)]
* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Pass
--silent if $silent.
* configure: Regenerate.

17 years ago * elf.c (elf_modify_segment_map): Add remove_empty_load param.
Alan Modra [Mon, 13 Aug 2007 00:44:20 +0000 (00:44 +0000)]
* elf.c (elf_modify_segment_map): Add remove_empty_load param.
Don't remove empty PT_LOAD header if false.
(_bfd_elf_map_sections_to_segments): If user phdrs, pass false
to elf_modify_segment_map.
(assign_file_positions_for_load_sections): Pass false to
elf_modify_segment_map.

17 years agobfd/
Alan Modra [Mon, 13 Aug 2007 00:20:59 +0000 (00:20 +0000)]
bfd/
* elf64-ppc.c (ADDI_R12_R12, LD_R11_0R2, LD_R2_0R2): Define.
Update stub comments.
(build_plt_stub): Build two variants, one without "addis".
(ppc_build_one_stub): Build stubs without "addis" if possible.
(ppc_size_one_stub): Size new stubs.
ld/testsuite/
* ld-powerpc/relbrlt.s (.text.pad2): Adjust space.
* ld-powerpc/relbrlt.d: Update.
* ld-powerpc/tlsexe.d: Update.
* ld-powerpc/tlsexe.g: Update.
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.d: Update.
* ld-powerpc/tlsexetoc.g: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-powerpc/tlsso.d: Update.
* ld-powerpc/tlsso.g: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.d: Update.
* ld-powerpc/tlstocso.g: Update.

17 years agodaily update
Alan Modra [Mon, 13 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Mon, 13 Aug 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * src-release (DEVO_SUPPORT): Add COPYING3 and COPYING3.LIB.
Daniel Jacobowitz [Sun, 12 Aug 2007 19:05:42 +0000 (19:05 +0000)]
* src-release (DEVO_SUPPORT): Add COPYING3 and COPYING3.LIB.

17 years ago * configure.in (ALL_LINGUAS): Add fi.
Daniel Jacobowitz [Sun, 12 Aug 2007 18:59:46 +0000 (18:59 +0000)]
* configure.in (ALL_LINGUAS): Add fi.
* po/fi.po: New file.
* configure: Regenerated.

17 years agodaily update
Alan Modra [Sun, 12 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sun, 12 Aug 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2007-08-11 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Sat, 11 Aug 2007 20:08:37 +0000 (20:08 +0000)]
2007-08-11  Michael Snyder  <msnyder@access-company.com>

* completer.c: Spelling fix in comments.

17 years agobfd/
Richard Sandiford [Sat, 11 Aug 2007 17:31:23 +0000 (17:31 +0000)]
bfd/
* config.bfd (sh-*-vxworks): Define targ_underscore to "yes".

17 years ago2007-08-10 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Sat, 11 Aug 2007 00:28:30 +0000 (00:28 +0000)]
2007-08-10  Michael Snyder  <msnyder@access-company.com>

* gdbtypes.c: Coding standard cleanup.

17 years ago2007-08-10 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Sat, 11 Aug 2007 00:22:21 +0000 (00:22 +0000)]
2007-08-10  Michael Snyder  <msnyder@access-company.com>

* gdbtypes.c: Comment/whitespace cleanup.

17 years ago*** empty log message ***
gdbadmin [Sat, 11 Aug 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 11 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago2007-08-10 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 10 Aug 2007 22:08:22 +0000 (22:08 +0000)]
2007-08-10  Michael Snyder  <msnyder@access-company.com>

* stabsread.c (read_huge_number): Attempt to compute value before
values that it depends on.

17 years ago2007-08-10 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 10 Aug 2007 22:01:27 +0000 (22:01 +0000)]
2007-08-10  Michael Snyder  <msnyder@access-company.com>

* linespec.c (decode_dollar): Dead code, ptr can't be non-null.
(decode_objc): Use "NULL" instead of 0.
(find_method): Ditto.
(decode_all_digits): Ditto.
(decode_dollar): Ditto.

17 years ago2007-08-10 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 10 Aug 2007 21:52:38 +0000 (21:52 +0000)]
2007-08-10  Michael Snyder  <msnyder@access-company.com>

* mi/mi-main.c (mi_cmd_data_evaluate_expression): Resource leak.

17 years ago2007-08-10 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 10 Aug 2007 21:44:23 +0000 (21:44 +0000)]
2007-08-10  Michael Snyder  <msnyder@access-company.com>

* mi/mi-cmd-var.c (mi_cmd_var_list_children): Memory leak.

17 years ago2007-08-10 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 10 Aug 2007 20:42:45 +0000 (20:42 +0000)]
2007-08-10  Michael Snyder  <msnyder@access-company.com>

* solib-svr4.c (enable_break): Don't free tmp_pathname until
after closing bfd.

17 years ago2007-08-10 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 10 Aug 2007 20:35:09 +0000 (20:35 +0000)]
2007-08-10  Michael Snyder  <msnyder@access-company.com>

* completer.c: Comment/whitespace cleanup.

17 years ago * Makefile.in (i386nbsd-nat.o): Add missing dependency.
Joel Brobecker [Fri, 10 Aug 2007 17:52:09 +0000 (17:52 +0000)]
    * Makefile.in (i386nbsd-nat.o): Add missing dependency.

17 years ago2007-08-10 Maxim Grigoriev <maxim2405@gmail.com>
Maxim Grigoriev [Fri, 10 Aug 2007 17:49:48 +0000 (17:49 +0000)]
2007-08-10  Maxim Grigoriev  <maxim2405@gmail.com>

* remote-fileio.c (remote_fileio_resize_fd_map): Initialize newly
allocated file descriptors.

17 years ago * Makefile.in: Minor cleanup throughout; add some missing variables,
Joel Brobecker [Fri, 10 Aug 2007 17:26:45 +0000 (17:26 +0000)]
    * Makefile.in: Minor cleanup throughout; add some missing variables,
        add some missing rules, remove some rules that are no longer needed,
        and fix the dependencies in several rules.

17 years ago* sim-memopt.c (memory_options): Mention that the memory-size switch accepts suffixes.
Nick Clifton [Fri, 10 Aug 2007 14:26:33 +0000 (14:26 +0000)]
* sim-memopt.c (memory_options): Mention that the memory-size switch accepts suffixes.
  (parse_size): Handle a suffix on the size value.
* sim-options.c (standard_options): Mention that the mem-size switch accepts suffixes.
  (standard_option_handler): Handle a suffix on the size value.

17 years agoAdd M R Swami Reddy as CR16/CRX support maintainer.
Nick Clifton [Fri, 10 Aug 2007 13:25:31 +0000 (13:25 +0000)]
Add M R Swami Reddy as CR16/CRX support maintainer.

17 years agoAdd a marker for the 2.18 features.
Nick Clifton [Fri, 10 Aug 2007 13:21:40 +0000 (13:21 +0000)]
Add a marker for the 2.18 features.

17 years agoUpdated Finnish, Irish and Vietnamese translations
Nick Clifton [Fri, 10 Aug 2007 13:16:32 +0000 (13:16 +0000)]
Updated Finnish, Irish and Vietnamese translations

17 years agoMention PR ld/4877.
H.J. Lu [Fri, 10 Aug 2007 12:41:33 +0000 (12:41 +0000)]
Mention PR ld/4877.

17 years ago2007-08-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 10 Aug 2007 12:36:21 +0000 (12:36 +0000)]
2007-08-10  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

17 years ago2007-08-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 10 Aug 2007 12:25:30 +0000 (12:25 +0000)]
2007-08-10  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4875
* elf-hints-local.h: Include bfd_stdint.h.  Use uint32_t
instead of u_int32_t.

* sha1.h: Include bfd_stdint.h instead of <stdint.h>.

17 years agopatch: Correct documentation of windmc.
Kai Tietz [Fri, 10 Aug 2007 07:12:37 +0000 (07:12 +0000)]
patch: Correct documentation of windmc.

17 years ago*** empty log message ***
gdbadmin [Fri, 10 Aug 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 10 Aug 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago2007-08-09 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 9 Aug 2007 23:14:55 +0000 (23:14 +0000)]
2007-08-09  Michael Snyder  <msnyder@access-company.com>

* aoutx.h (aout_get_external_symbols): Return if count is zero.

17 years ago2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 9 Aug 2007 23:13:41 +0000 (23:13 +0000)]
2007-08-09  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4909
* elf.c (print_segment_map): New function.
(assign_file_positions_for_load_sections): Call print_segment_map
when a section can't be allocated in segment.

17 years agoRe-instated Guile/Scheme support.
Ludovic Courtès [Thu, 9 Aug 2007 23:01:17 +0000 (23:01 +0000)]
Re-instated Guile/Scheme support.

17 years agoAdd Emacs local variables for UTF-8.
Ludovic Courtès [Thu, 9 Aug 2007 22:44:38 +0000 (22:44 +0000)]
Add Emacs local variables for UTF-8.

17 years agoAdded myself to `MAINTAINERS'.
Ludovic Courtès [Thu, 9 Aug 2007 21:52:04 +0000 (21:52 +0000)]
Added myself to `MAINTAINERS'.

17 years ago2007-08-09 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 9 Aug 2007 18:37:08 +0000 (18:37 +0000)]
2007-08-09  Michael Snyder  <msnyder@access-company.com>

* solib.c (solib_open): Memory leak -- openp returns xmalloc buffer.

17 years ago * solib-som.c (som_relocate_section_addresses): Stop saving
Joel Brobecker [Thu, 9 Aug 2007 16:45:32 +0000 (16:45 +0000)]
    * solib-som.c (som_relocate_section_addresses): Stop saving
        the $CODE$ section in the so_list structure.

17 years ago2007-08-09 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 9 Aug 2007 15:11:07 +0000 (15:11 +0000)]
2007-08-09  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (relaxed_symbol_addr): Compensate for alignment.

gas/testsuite/
* gas/arm/relax_load_align.d: new test.
* gas/arm/relax_load_align.s: new test.

17 years ago * opncls.c (bfd_openr_iovec): Fix the OPEN parameter macro expansion.
Jan Kratochvil [Thu, 9 Aug 2007 14:22:03 +0000 (14:22 +0000)]
* opncls.c (bfd_openr_iovec): Fix the OPEN parameter macro expansion.