external/binutils.git
17 years ago* emultempl/pep.em: (pep_enable_stdcall_fixup): Set to value 1.
Nick Clifton [Mon, 6 Aug 2007 14:32:08 +0000 (14:32 +0000)]
* emultempl/pep.em: (pep_enable_stdcall_fixup): Set to value 1.
  (gld_xxx_recognized_file): Use pep_bfd_is_dll for detection of shared objects.
* pe-dll.c: (autofilter_symbollist_i386): Define set for amd64 mingw target.

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

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

17 years ago* macroexp.c (init_buffer): Remove testing code that overrides the
Jim Blandy [Sun, 5 Aug 2007 21:41:09 +0000 (21:41 +0000)]
* macroexp.c (init_buffer): Remove testing code that overrides the
caller's length guess.
(gather_arguments): Use a larger initial size, now that the vector
growth code has been exercised.

17 years ago * solib-target.c (solib_target_relocate_section_addresses): Add
Pedro Alves [Sun, 5 Aug 2007 09:57:06 +0000 (09:57 +0000)]
* solib-target.c (solib_target_relocate_section_addresses): Add
orig_delta to addr_high.

17 years ago2007-08-04 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Sun, 5 Aug 2007 01:04:31 +0000 (01:04 +0000)]
2007-08-04  Michael Snyder  <msnyder@access-company.com>

* remote-fileio.c (remote_fileio_func_write): Memory leak.

17 years ago2007-08-04 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Sun, 5 Aug 2007 00:43:34 +0000 (00:43 +0000)]
2007-08-04  Michael Snyder  <msnyder@access-company.com>

* breakpoint.c (print_one_breakpoint): Off by one error.

17 years ago2007-08-04 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Sun, 5 Aug 2007 00:36:53 +0000 (00:36 +0000)]
2007-08-04  Michael Snyder  <msnyder@access-company.com>

* tracepoint.c (add_register): Off by one error.
(stringify_collection_list): Free malloc buffer.

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

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

17 years ago2007-08-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 4 Aug 2007 16:31:00 +0000 (16:31 +0000)]
2007-08-04  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (xvec_get_elf_backend_data): Add const.

* elfcode.h (elf_object_p): Use xvec_get_elf_backend_data.
* elfcore.h (elf_core_file_p): Likewise.

17 years ago PR 4888
Alan Modra [Sat, 4 Aug 2007 08:26:38 +0000 (08:26 +0000)]
PR 4888
* objcopy.c (setup_section): Do modify section flags for ELF
STRIP_NONDEBUG (reverting part of 2007-05-30 change).  Prevent
header rewrite by twiddling input section flags instead.
Simplify code setting SHT_NOBITS.

17 years ago2007-08-03 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Sat, 4 Aug 2007 03:00:40 +0000 (03:00 +0000)]
2007-08-03  Michael Snyder  <msnyder@access-company.com>

* mi-cmd-var.c (mi_cmd_var_delete): Remove unused variable,
stop memory leak, straighten out cleanups.

17 years ago2007-08-03 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Sat, 4 Aug 2007 02:50:16 +0000 (02:50 +0000)]
2007-08-03  Michael Snyder  <msnyder@access-company.com>

* jv-lang.c (java_link_class_type): Guard against NULL.

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

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

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

17 years agoFix resource dependency problems for xmpy.
Jim Wilson [Fri, 3 Aug 2007 18:54:22 +0000 (18:54 +0000)]
Fix resource dependency problems for xmpy.

17 years ago * ld-srec/srec.exp: XFAIL for powerpc*-*-*.
Daniel Jacobowitz [Fri, 3 Aug 2007 12:53:47 +0000 (12:53 +0000)]
* ld-srec/srec.exp: XFAIL for powerpc*-*-*.

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

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

17 years ago2007-08-02 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 2 Aug 2007 21:08:12 +0000 (21:08 +0000)]
2007-08-02  Michael Snyder  <msnyder@access-company.com>

* gdbtypes.c (create_set_type): Test should only be done within
the preceeding if block.  Otherwise, variable is uninitialized.

17 years ago2007-08-02 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 2 Aug 2007 21:01:37 +0000 (21:01 +0000)]
2007-08-02  Michael Snyder  <msnyder@access-company.com>

* gdbtypes.c (check_typedef): Guard NULL.

17 years agobfd/
H.J. Lu [Thu, 2 Aug 2007 16:02:01 +0000 (16:02 +0000)]
bfd/

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

* coffcode.h (ALIGN_SET): Removed.
(ELIFALIGN_SET): Likewise.
(coff_set_alignment_hook): Handle IMAGE_SCN_ALIGN_128BYTES,
IMAGE_SCN_ALIGN_256BYTES, IMAGE_SCN_ALIGN_512BYTES,
IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_2048BYTES,
IMAGE_SCN_ALIGN_4096BYTES and IMAGE_SCN_ALIGN_8192BYTES.

include/coff/

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

* pe.h (IMAGE_SCN_ALIGN_POWER_BIT_POS): New.
(IMAGE_SCN_ALIGN_POWER_BIT_MASK): Likewise.
(IMAGE_SCN_ALIGN_POWER_NUM): Likewise.
(IMAGE_SCN_ALIGN_POWER_CONST): Likewise.
(IMAGE_SCN_ALIGN_128BYTES): Likewise.
(IMAGE_SCN_ALIGN_256BYTES): Likewise.
(IMAGE_SCN_ALIGN_512BYTES): Likewise.
(IMAGE_SCN_ALIGN_1024BYTES): Likewise.
(IMAGE_SCN_ALIGN_2048BYTES): Likewise.
(IMAGE_SCN_ALIGN_4096BYTES): Likewise.
(IMAGE_SCN_ALIGN_8192BYTES): Likewise.
(IMAGE_SCN_ALIGN_1BYTES): Redefined with
IMAGE_SCN_ALIGN_POWER_CONST.
(IMAGE_SCN_ALIGN_2BYTES): Likewise.
(IMAGE_SCN_ALIGN_4BYTES): Likewise.
(IMAGE_SCN_ALIGN_8BYTES): Likewise.
(IMAGE_SCN_ALIGN_16BYTES): Likewise.
(IMAGE_SCN_ALIGN_32BYTES): Likewise.
(IMAGE_SCN_ALIGN_64BYTES): Likewise.

17 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 2 Aug 2007 00:40:02 +0000 (00:40 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* i386-dis.c (print_insn): Guard against NULL.

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

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

17 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Wed, 1 Aug 2007 20:34:36 +0000 (20:34 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* remote-utils.c (putpkt_binary): Memory leak, free buf2.

17 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Wed, 1 Aug 2007 20:26:31 +0000 (20:26 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* cli/cli-decode.c (lookup_cmd): Check for null earlier, to
avoid dereference in lookup_cmd_1.

17 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Wed, 1 Aug 2007 20:15:36 +0000 (20:15 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* tui/tui-data.c (tui_alloc_content): Move assign out of if,
clean up long lines.
(tui_alloc_generic_win_info): Tidy by using XMALLOC macro.
(tui_alloc_win_info): Ditto.
(tui_add_content_elements): Ditto.
* tui/tui-file.c (tui_file_magic): Ditto.

17 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Wed, 1 Aug 2007 20:06:05 +0000 (20:06 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* vms-tir.c (new_section): Fix cut and paste error.

17 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Wed, 1 Aug 2007 19:58:40 +0000 (19:58 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

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

17 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Wed, 1 Aug 2007 19:55:10 +0000 (19:55 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* elf.c (bfd_elf_print_symbol): Macro dereferences pointer, so
pointer must be non-null.

17 years ago2007-07-31 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Wed, 1 Aug 2007 19:43:08 +0000 (19:43 +0000)]
2007-07-31  Michael Snyder  <msnyder@access-company.com>

* cp-demangle.c (d_print_comp): Guard against null.

17 years ago * ld-mips-elf/reloc-4.s, ld-mips-elf/reloc-4.d,
Adam Nemet [Wed, 1 Aug 2007 17:41:30 +0000 (17:41 +0000)]
* ld-mips-elf/reloc-4.s, ld-mips-elf/reloc-4.d,
ld-mips-elf/reloc-5.s, ld-mips-elf/reloc-5.d: New tests.
* ld-mips-elf/mips-elf.exp: Invoke them.

17 years agoga.po: Updated Irish translation.
Nick Clifton [Wed, 1 Aug 2007 17:00:08 +0000 (17:00 +0000)]
ga.po: Updated Irish translation.

17 years ago* coffcode.h (coff_sort_func_alent): New function.
Nick Clifton [Wed, 1 Aug 2007 16:55:54 +0000 (16:55 +0000)]
* coffcode.h (coff_sort_func_alent): New function.
  (coff_slurp_line_table): Sort line table if not already sorted.

17 years agoCorrect ChangeLog entries.
H.J. Lu [Wed, 1 Aug 2007 15:27:55 +0000 (15:27 +0000)]
Correct ChangeLog entries.

17 years agoAdd a newline.
H.J. Lu [Wed, 1 Aug 2007 15:19:35 +0000 (15:19 +0000)]
Add a newline.

17 years ago * elf.c (_bfd_elf_map_sections_to_segments): Work around buggy
Jakub Jelinek [Wed, 1 Aug 2007 08:57:23 +0000 (08:57 +0000)]
* elf.c (_bfd_elf_map_sections_to_segments): Work around buggy
GCC 3.4.x warning.

17 years ago * aoutx.h (swap_ext_reloc_in): Set howto to NULL for unknown
Alan Modra [Wed, 1 Aug 2007 07:50:16 +0000 (07:50 +0000)]
* aoutx.h (swap_ext_reloc_in): Set howto to NULL for unknown
r_type.
(swap_std_reloc_in): Likewise.
(aout_link_input_section_std): Likewise.  Return with an error
on unexpected relocation type.
(aout_link_input_section_ext): Likewise.

17 years ago PR4694
Alan Modra [Wed, 1 Aug 2007 07:43:36 +0000 (07:43 +0000)]
PR4694
* aoutx.h (final_link): Write a zero in first word of
stringtab if no symbols rather than corrupting last byte
of text/data.

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

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

17 years ago2007-07-31 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 31 Jul 2007 23:08:22 +0000 (23:08 +0000)]
2007-07-31  Michael Snyder  <msnyder@access-company.com>

* breakpoint.c (breakpoint_init_inferior): Add 'else' to 'if'.
True and false paths are mutually exclusive.

17 years ago2007-07-31 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 31 Jul 2007 22:01:03 +0000 (22:01 +0000)]
2007-07-31  Michael Snyder  <msnyder@access-company.com>

* event-top.c (command_line_handler): Add pedantic return.

17 years ago2007-07-31 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 31 Jul 2007 21:56:00 +0000 (21:56 +0000)]
2007-07-31  Michael Snyder  <msnyder@access-company.com>

* f-valprint.c (info_common_command): Bail out to prevent null
pointer deref.  Break up a long line.

17 years ago2007-07-31 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 31 Jul 2007 21:49:21 +0000 (21:49 +0000)]
2007-07-31  Michael Snyder  <msnyder@access-company.com>

* exec.c (xfer_memory): Remove redundant condition from 'if'.

17 years ago2007-07-31 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 31 Jul 2007 21:42:19 +0000 (21:42 +0000)]
2007-07-31  Michael Snyder  <msnyder@access-company.com>

* symfile.c (reread_separate_symbols): Free xmalloced memory.

17 years ago2007-07-31 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 31 Jul 2007 21:36:13 +0000 (21:36 +0000)]
2007-07-31  Michael Snyder  <msnyder@access-company.com>

* printcmd.c (build_address_symbolic): Remove dead code and dead
variable.

17 years ago * linespec.c (minsym_found): Advance to the next line if possible.
Daniel Jacobowitz [Tue, 31 Jul 2007 19:58:40 +0000 (19:58 +0000)]
* linespec.c (minsym_found): Advance to the next line if possible.

* gdb.base/prologue.c, gdb.base/prologue.exp: New.
* lib/gdb.exp (gdb_breakpoint): Handle "temporary".

17 years ago * win32-low.c (winapi_CloseToolhelp32Snapshot) [_WIN32_WCE]: New
Pedro Alves [Tue, 31 Jul 2007 13:58:19 +0000 (13:58 +0000)]
* win32-low.c (winapi_CloseToolhelp32Snapshot) [_WIN32_WCE]: New
typedef.
(win32_CloseToolhelp32Snapshot) [_WIN32_WCE]: New global var.
(load_toolhelp) [_WIN32_WCE]: Load TOOLHELP.DLL.  Get
CloseToolhelp32Snapshot.
(toolhelp_get_dll_name) [_WIN32_WCE]: Close the snapshot with
CloseToolhelp32Snapshot.

17 years ago * arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related call.
Pedro Alves [Tue, 31 Jul 2007 13:50:11 +0000 (13:50 +0000)]
* arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related call.
* config/arm/wince.mt (TDEPFILES): Remove solib-legacy.o and
solib-svr4.o, and add solib-target.o

17 years ago * elf.c (get_program_header_size): Adjacent loadable .note*
Jakub Jelinek [Tue, 31 Jul 2007 08:15:44 +0000 (08:15 +0000)]
* elf.c (get_program_header_size): Adjacent loadable .note*
sections need just one PT_NOTE segment.
(_bfd_elf_map_sections_to_segments): Likewise.

17 years ago2007-07-30 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 31 Jul 2007 03:53:24 +0000 (03:53 +0000)]
2007-07-30  Michael Snyder  <msnyder@access-company.com>

* coffgen.c (_bfd_coff_read_internal_relocs): Revert change of
2007-07-26.  Buffer still in use, can't be freed.

17 years ago*** empty log message ***
gdbadmin [Tue, 31 Jul 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

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

17 years ago* gdb.base/dump.exp: Force the correct endianness for binary
Maciej W. Rozycki [Mon, 30 Jul 2007 12:24:22 +0000 (12:24 +0000)]
* gdb.base/dump.exp: Force the correct endianness for binary
formats not carrying this information.

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

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

17 years agogas/testsuite/
H.J. Lu [Sun, 29 Jul 2007 19:43:36 +0000 (19:43 +0000)]
gas/testsuite/

2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4834
* gas/i386/simd-intel.d: Updated.
* gas/i386/simd.d: Likewise.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd.d: Likewise.

* gas/i386/simd.s: Add tests for SSE4 instructions.
* gas/i386/x86-64-simd.s: Likewise.

opcodes/

2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4834
* i386-dis.c (EXw): New.
(prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
instructions when appropriated.

17 years agoThe fix is for PR 4834, not PR 4835.
H.J. Lu [Sun, 29 Jul 2007 18:37:21 +0000 (18:37 +0000)]
The fix is for PR 4834, not PR 4835.

17 years agogas/
H.J. Lu [Sun, 29 Jul 2007 18:27:59 +0000 (18:27 +0000)]
gas/

2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (check_long_reg): Allow cvtss2si to convert
DWORD memory to Reg64 in Intel synax.
(check_qword_reg): Allow cvtsd2si to convert QWORD memory to
Reg32 in Intel syntax.

gas/testsuite/

2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/simd.s: Add tests for cvtss2si/cvtsd2si in Intel
mode.
* gas/i386/x86-64-simd.s: Likewise.

* gas/i386/simd-intel.d: Updated.
* gas/i386/simd.d: Likewise.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd.d: Likewise.

17 years agold/
Alan Modra [Sun, 29 Jul 2007 12:33:38 +0000 (12:33 +0000)]
ld/
* ldlang.c (lang_insert_orphan): When searching through linker
script to place an orphan, don't stop on statements that appear
outside of SECTIONS.
* emultempl/elf32.em (output_rel_find): Prefer read-only alloc
sections over read/write alloc sections.
ld/testsuite/
* ld-elf/weak-dyn-1.rd: Adjust.

17 years ago*** empty log message ***
gdbadmin [Sun, 29 Jul 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

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

17 years agogas/testsuite/
H.J. Lu [Sat, 28 Jul 2007 23:34:14 +0000 (23:34 +0000)]
gas/testsuite/

2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4835
* gas/i386/simd-intel.d: Updated.
* gas/i386/simd.d: Likewise.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd.d: Likewise.

* gas/i386/simd.s: Add new tests.
* gas/i386/x86-64-simd.s: Likewise.

opcodes/

2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4835
* i386-dis.c (Eq): New.
(EMC): Renamed to ...
(EMCq): This.  Use q_mode instead of v_mode.
(prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
when appropriated.

17 years ago* MAINTAINERS: Update my email address.
Christopher Faylor [Sat, 28 Jul 2007 17:39:16 +0000 (17:39 +0000)]
* MAINTAINERS: Update my email address.

17 years agogas/testsuite/
H.J. Lu [Sat, 28 Jul 2007 16:32:01 +0000 (16:32 +0000)]
gas/testsuite/

2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-opcode.d: Updated.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd.d: Likewise.

* gas/i386/x86-64-simd.s: Add movq.

opcodes/

2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (dis386_twobyte): Change "movd" to "movK".
(prefix_user_table): Likewise.  Use EXq instead of EXx on
"movq".

17 years ago2007-07-27 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Sat, 28 Jul 2007 01:16:39 +0000 (01:16 +0000)]
2007-07-27  Michael Snyder  <msnyder@access-company.com>

* tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof.

17 years agodaily update
Alan Modra [Sat, 28 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sat, 28 Jul 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * scripttempl/elf.sc: Add .note.gnu.build-id.
Jakub Jelinek [Fri, 27 Jul 2007 22:33:24 +0000 (22:33 +0000)]
* scripttempl/elf.sc: Add .note.gnu.build-id.

17 years ago2007-07-27 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 27 Jul 2007 22:04:23 +0000 (22:04 +0000)]
2007-07-27  Michael Snyder  <msnyder@access-company.com>

* cofflink.c (coff_link_add_symbols): Return if count is zero.

17 years ago2007-07-27 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 27 Jul 2007 21:23:01 +0000 (21:23 +0000)]
2007-07-27  Michael Snyder  <msnyder@access-company.com>

* coff-i386.c (coff_i386_rtype_to_howto): Off by one error.

17 years ago2007-07-27 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 27 Jul 2007 19:04:39 +0000 (19:04 +0000)]
2007-07-27  Michael Snyder  <msnyder@access-company.com>

* aoutx.h (slurp_symbol_table): Return if count == 0.

17 years ago2007-07-27 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 27 Jul 2007 18:54:04 +0000 (18:54 +0000)]
2007-07-27  Michael Snyder  <msnyder@access-company.com>

* coffgen.c (_bfd_coff_read_internal_relocs): Return if count is zero.

17 years ago2007-07-27 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 27 Jul 2007 18:50:18 +0000 (18:50 +0000)]
2007-07-27  Michael Snyder  <msnyder@access-company.com>

* elf32-i386.c (elf_i386_check_relocs): Check for null pointer.

17 years ago2007-07-27 Michael Snyder <michael.snyder@access-company.com>
Michael Snyder [Fri, 27 Jul 2007 18:44:40 +0000 (18:44 +0000)]
2007-07-27  Michael Snyder  <michael.snyder@access-company.com>

* server.c (main): Check for inferior exit before main loop.

17 years ago * gdb.threads/staticthreads.exp: Match .*sem_post.
Daniel Jacobowitz [Fri, 27 Jul 2007 15:45:06 +0000 (15:45 +0000)]
* gdb.threads/staticthreads.exp: Match .*sem_post.

17 years ago * gdb.base/readline.exp (operate_and_get_next): Match the final
Daniel Jacobowitz [Fri, 27 Jul 2007 15:15:02 +0000 (15:15 +0000)]
* gdb.base/readline.exp (operate_and_get_next): Match the final
prompt.

17 years ago * ppc-opc (PPC7450): New.
Nathan Sidwell [Fri, 27 Jul 2007 14:24:27 +0000 (14:24 +0000)]
* ppc-opc (PPC7450): New.
(powerpc_opcodes): Use it in dcba.

17 years ago2007-07-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 27 Jul 2007 13:26:44 +0000 (13:26 +0000)]
2007-07-27  H.J. Lu  <hongjiu.lu@intel.com>

* config.bfd (x86_64-*-mingw*): Don't include x86_64coff_vec.

17 years ago2007-07-26 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 27 Jul 2007 01:15:27 +0000 (01:15 +0000)]
2007-07-26  Michael Snyder  <msnyder@access-company.com>

* coff-i386.c (coff_i386_rtype_to_howto): Guard against null.

17 years ago2007-07-26 Michael Snyder <msnyder@svkmacdonelllnx>
Michael Snyder [Fri, 27 Jul 2007 01:04:29 +0000 (01:04 +0000)]
2007-07-26  Michael Snyder  <msnyder@svkmacdonelllnx>

* linker.c (bfd_section_already_linked_table_insert): Change
return type from void to boolean.  Return FALSE on failure.
(_bfd_generic_section_already_linked): Test return value of
bfd_section_already_linked_table_insert, call fatal on error.

* elflink.c (_bfd_elf_section_already_linked): Test return value
of bfd_section_already_linked_table_insert, call fatal on error.

* libbfd-in.h (bfd_section_already_linked_table_insert): Update
return type to bfd_boolean.

* libbfd.h: Regenerate.

17 years ago * archive.c (do_slurp_bsd_armap, do_slurp_coff_armap,
Adam Nemet [Fri, 27 Jul 2007 00:49:06 +0000 (00:49 +0000)]
* archive.c (do_slurp_bsd_armap, do_slurp_coff_armap,
bfd_slurp_armap): Improve function comment.

17 years ago * readelf.c (process_archive): Also skip Irix6-style archive symbol
Adam Nemet [Fri, 27 Jul 2007 00:48:30 +0000 (00:48 +0000)]
* readelf.c (process_archive): Also skip Irix6-style archive symbol
tables.

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

17 years ago*** empty log message ***
gdbadmin [Fri, 27 Jul 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agoFix bollixed check-in
Michael Snyder [Thu, 26 Jul 2007 21:58:44 +0000 (21:58 +0000)]
Fix bollixed check-in

17 years ago2007-07-26 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 26 Jul 2007 21:53:35 +0000 (21:53 +0000)]
2007-07-26  Michael Snyder  <msnyder@access-company.com>

* linker.c (already_linked_newfunc): Check for NULL return from
bfd_hash_allocate.

17 years ago2007-07-26 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 26 Jul 2007 19:06:12 +0000 (19:06 +0000)]
2007-07-26  Michael Snyder  <msnyder@access-company.com>

* coffgen.c (fixup_symbol_value): Guard against null;
bfd_is_com_section will dereference the section pointer.

17 years ago2007-07-26 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 26 Jul 2007 18:53:51 +0000 (18:53 +0000)]
2007-07-26  Michael Snyder  <msnyder@access-company.com>

* syms.c (bfd_decode_symclass): Guard against NULL, since
bfd_is_com_section dereferences the pointer.

17 years ago2007-07-26 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 26 Jul 2007 18:45:13 +0000 (18:45 +0000)]
2007-07-26  Michael Snyder  <msnyder@access-company.com>

* srec.c (srec_scan): Check for EOF (critical because return value
will be used as array index).

17 years ago2007-07-26 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 26 Jul 2007 18:43:24 +0000 (18:43 +0000)]
2007-07-26  Michael Snyder  <msnyder@access-company.com>

* coffgen.c (_bfd_coff_read_internal_relocs): If internal_relocs
are not to be cached, free the temporary buffer.

17 years ago2007-07-26 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 26 Jul 2007 18:30:28 +0000 (18:30 +0000)]
2007-07-26  Michael Snyder  <msnyder@access-company.com>

* aoutx.h (slurp_reloc_table): Return TRUE if reloc_size == zero
or count == zero.

17 years ago2007-07-26 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 26 Jul 2007 18:18:07 +0000 (18:18 +0000)]
2007-07-26  Michael Snyder  <msnyder@access-company.com>

* tekhex.c (first_phase): Check return value for null.

17 years ago2007-07-26 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 26 Jul 2007 18:15:46 +0000 (18:15 +0000)]
2007-07-26  Michael Snyder  <msnyder@access-company.com>

* elf.c (_bfd_elf_get_synthetic_symtab): Remove meaningless
pointer increment.

17 years ago * elflink.c (_bfd_elf_fix_symbol_flags): Remove unnecessary
Alan Modra [Thu, 26 Jul 2007 13:45:59 +0000 (13:45 +0000)]
* elflink.c (_bfd_elf_fix_symbol_flags): Remove unnecessary
check on dynobj.  Remove bed shadow.

17 years ago * srec.c (srec_get_section_contents): Return immediately on
Alan Modra [Thu, 26 Jul 2007 12:34:43 +0000 (12:34 +0000)]
* srec.c (srec_get_section_contents): Return immediately on
count zero.  Check that offset and count are within section.
* libbfd.c (_bfd_generic_get_section_contents): Check that
offset + count does not overflow.