external/binutils.git
17 years ago2007-07-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 19 Jul 2007 19:56:10 +0000 (19:56 +0000)]
2007-07-19  Roland McGrath  <roland@redhat.com>

* genscripts.sh (source_em, fragment): New sh functions.
Truncate e${EMULATION_NAME}.c file before .em script fills it.
Use source_em in place of . for the .em script.
* emultempl/generic.em: Use fragment and source_em functions.
* emultempl/aix.em: Likewise.
* emultempl/alphaelf.em: Likewise.
* emultempl/armcoff.em: Likewise.
* emultempl/armelf.em: Likewise.
* emultempl/avrelf.em: Likewise.
* emultempl/beos.em: Likewise.
* emultempl/cr16elf.em: Likewise.
* emultempl/crxelf.em: Likewise.
* emultempl/elf-generic.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/genelf.em: Likewise.
* emultempl/gld960.em: Likewise.
* emultempl/gld960c.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/ia64elf.em: Likewise.
* emultempl/irix.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/lnk960.em: Likewise.
* emultempl/m68hc1xelf.em: Likewise.
* emultempl/m68kcoff.em: Likewise.
* emultempl/m68kelf.em: Likewise.
* emultempl/mipsecoff.em: Likewise.
* emultempl/mipself.em: Likewise.
* emultempl/mmix-elfnmmo.em: Likewise.
* emultempl/mmixelf.em: Likewise.
* emultempl/mmo.em: Likewise.
* emultempl/needrelax.em: Likewise.
* emultempl/netbsd.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/pep.em: Likewise.
* emultempl/ppc32elf.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/scoreelf.em: Likewise.
* emultempl/sh64elf.em: Likewise.
* emultempl/spuelf.em: Likewise.
* emultempl/sunos.em: Likewise.
* emultempl/ticoff.em: Likewise.
* emultempl/vanilla.em: Likewise.
* emultempl/vxworks.em: Likewise.
* emultempl/xtensaelf.em: Likewise.
* emultempl/z80.em: Likewise.

17 years agoPR binutils/4797
Nick Clifton [Thu, 19 Jul 2007 16:51:10 +0000 (16:51 +0000)]
PR binutils/4797
* dwarf2.c: (find_line) Do not dereference functionname_ptr if do_line is true.

17 years agoPR gas/4804
Nick Clifton [Thu, 19 Jul 2007 16:47:40 +0000 (16:47 +0000)]
PR gas/4804
* gas/elf/elf.exp (target_machine): Treat the arm-linux-gnu target in the same way as the arm-eabi target.
* gas/arm/mapshort-eabi.d: Use this file for the arm-linux-gnu target.
* gas/arm/mapshort-elf.d: Do not use this file for the arm-linux-gnu target.

17 years agoPR binutils/4801
Nick Clifton [Thu, 19 Jul 2007 16:23:47 +0000 (16:23 +0000)]
PR binutils/4801
* maxq-dis.c (get_reg_name): Fix the scan of the mem_access_syntax_table.

17 years agoPR binutils/4802
Nick Clifton [Thu, 19 Jul 2007 16:17:38 +0000 (16:17 +0000)]
PR binutils/4802
* srconv.c (strip_suffix): Add const qualifier to argument

17 years ago * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
Kevin Buettner [Thu, 19 Jul 2007 00:46:45 +0000 (00:46 +0000)]
* gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
prior to `gdb_start'.

17 years ago * config/sid.exp (gdb_load): Add test for empty argument. Adjust
Kevin Buettner [Thu, 19 Jul 2007 00:41:27 +0000 (00:41 +0000)]
* config/sid.exp (gdb_load): Add test for empty argument.  Adjust
return value to be compatible with gdb_run_cmd in lib/gdb.exp.
Remove call to gdb_unload.

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

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

17 years ago * elf32-xtensa.c (xtensa_callback_required_dependence): Ignore
Bob Wilson [Wed, 18 Jul 2007 21:06:06 +0000 (21:06 +0000)]
* elf32-xtensa.c (xtensa_callback_required_dependence): Ignore
non-ELF sections.

17 years ago * xtensa-config.h (XCHAL_HAVE_THREADPTR): New.
Bob Wilson [Wed, 18 Jul 2007 18:52:30 +0000 (18:52 +0000)]
* xtensa-config.h (XCHAL_HAVE_THREADPTR): New.
(XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): New.

17 years ago * elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Get section
Bob Wilson [Wed, 18 Jul 2007 18:23:47 +0000 (18:23 +0000)]
* elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Get section
vma and size for dynamic tags from the output sections.

17 years ago * remote-utils.c (remote_open): Set SO_KEEPALIVE on remote_desc
Pedro Alves [Wed, 18 Jul 2007 12:36:51 +0000 (12:36 +0000)]
* remote-utils.c (remote_open): Set SO_KEEPALIVE on remote_desc
instead of on tmp_desc.

17 years ago * elf-bfd.h (struct sym_sec_cache): Delete "sec". Add "shndx".
Alan Modra [Wed, 18 Jul 2007 11:23:37 +0000 (11:23 +0000)]
* elf-bfd.h (struct sym_sec_cache): Delete "sec".  Add "shndx".
* elf.c (bfd_section_from_r_symndx): Don't cache bfd section of
symbol.  Instead cache ELF section index.  Remove redundant
checks of st_shndx.

17 years ago.
Roland McGrath [Wed, 18 Jul 2007 09:46:09 +0000 (09:46 +0000)]
.

17 years ago2007-07-18 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 18 Jul 2007 09:46:05 +0000 (09:46 +0000)]
2007-07-18  Roland McGrath  <roland@redhat.com>

* emultempl/elf32.em (gld${EMULATION_NAME}_write_build_id_section):
Use ASEC->contents for CONTENTS when missing, and allocate
ASEC->size if needed.

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

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

17 years agomerge from gcc
DJ Delorie [Tue, 17 Jul 2007 18:05:02 +0000 (18:05 +0000)]
merge from gcc

17 years ago* COPYING3: New file. Contains version 3 of the GNU General Public License.
Nick Clifton [Tue, 17 Jul 2007 13:50:23 +0000 (13:50 +0000)]
* COPYING3: New file.  Contains version 3 of the GNU General Public License.
* COPYING3.LIB: New file.  Contains version 3 of the GNU Lesser General Public License.

17 years ago2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
Daniel Jacobowitz [Tue, 17 Jul 2007 12:51:41 +0000 (12:51 +0000)]
2007-07-17  Pedro Alves  <pedro_alves@portugalmail.pt>
    Daniel Jacobowitz  <dan@codesourcery.com>

* config/i386/cygwin.mt (TDEPFILES): Add solib-target.o.
* coff-pe-read.c (read_pe_exported_syms): Delete verbose
printf.
* NEWS: Mention gdbserver DLL support.

* gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
for __WIN32__.
(SHLIB_NAME): Delete definition.  Always pass dlerror to fprintf.
* gdb.base/unload.exp: Use shared library test routines.

* inferiors.c (all_dlls, dlls_changed, get_dll): New.
(add_thread): Minor cleanups.
(clear_inferiors): Move lower in the file.  Clear the DLL
list.
(free_one_dll, match_dll, loaded_dll, unloaded_dll, clear_list): New.
* remote-utils.c (prepare_resume_reply): Check dlls_changed.
(xml_escape_text): New.
* server.c (handle_query): Handle qXfer:libraries:read.  Report it
for qSupported.
(handle_v_cont): Report errors.
(gdbserver_version): Update.
(main): Correct size of own_buf.  Do not report initial DLL events.
* server.h (struct dll_info, all_dlls, dlls_changed, loaded_dll)
(unloaded_dll, xml_escape_text): New.
* win32-low.c (enum target_waitkind): Update comments.
(win32_add_one_solib, get_image_name, winapi_EnumProcessModules)
(winapi_GetModuleInformation, winapi_GetModuleFileNameExA)
(win32_EnumProcessModules, win32_GetModuleInformation)
(win32_GetModuleFileNameExA, load_psapi, psapi_get_dll_name)
(winapi_CreateToolhelp32Snapshot, winapi_Module32First)
(winapi_Module32Next, win32_CreateToolhelp32Snapshot)
(win32_Module32First, win32_Module32Next, load_toolhelp)
(toolhelp_get_dll_name, handle_load_dll, handle_unload_dll): New.
(get_child_debug_event): Handle DLL events.
(win32_wait): Likewise.

17 years ago * dwarf2read.c (dwarf_decode_lines): Detect address size mismatches.
Daniel Jacobowitz [Tue, 17 Jul 2007 12:46:35 +0000 (12:46 +0000)]
* dwarf2read.c (dwarf_decode_lines): Detect address size mismatches.

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

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

17 years agogas/testsuite/
H.J. Lu [Mon, 16 Jul 2007 19:16:44 +0000 (19:16 +0000)]
gas/testsuite/

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

* gas/i386/simd.s: Add tests for punpcklbw, punpckldq,
punpcklwd and punpcklqdq.
* 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.

opcodes/

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

* i386-dis.c (EMq): Removed.
(EMx): New.
(prefix_user_table): Replace EMq with EMx.

17 years ago2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 16 Jul 2007 18:34:50 +0000 (18:34 +0000)]
2007-07-16  H.J. Lu  <hongjiu.lu@intel.com>

* i386-linux-nat.c (fetch_regs): Work around gcc 3.4 alias
warning bug.

17 years agoFix spelling typo
Nick Clifton [Mon, 16 Jul 2007 10:12:35 +0000 (10:12 +0000)]
Fix spelling typo

17 years agoUpdate Dutch opcodes translation.
Nick Clifton [Mon, 16 Jul 2007 10:11:01 +0000 (10:11 +0000)]
Update Dutch opcodes translation.
Add new Ukranian binutils translation.

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

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

17 years ago* trad-core.c (NBPG): If not defined, set to getpagesize().
Mike Frysinger [Sun, 15 Jul 2007 06:33:34 +0000 (06:33 +0000)]
* trad-core.c (NBPG): If not defined, set to getpagesize().

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

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

17 years ago* config/tc-arm.c (create_register_alias): Return a boolean rather than an integer.
Nick Clifton [Sat, 14 Jul 2007 16:19:18 +0000 (16:19 +0000)]
* config/tc-arm.c (create_register_alias): Return a boolean rather than an integer.
  Check the return value of insert_reg_alias and do not continue to create aliases once an insertion has failed.
  (s_unreq): Delete the all-upper-case and all-lower-case alternatives as well.
* testsuite/gas/arm/arm.s: Add tests for re-aliasing a previously removed alias.
* testsuite/gas/arm/arm.l: Add new expected warning message.

17 years ago * mep-tdep.c (mep_analyze_prologue): Update comment for BRA
Kevin Buettner [Sat, 14 Jul 2007 00:15:50 +0000 (00:15 +0000)]
* mep-tdep.c (mep_analyze_prologue): Update comment for BRA
instruction case.

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

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

17 years agomerge from gcc
DJ Delorie [Fri, 13 Jul 2007 18:23:23 +0000 (18:23 +0000)]
merge from gcc

17 years ago.
Roland McGrath [Fri, 13 Jul 2007 10:44:44 +0000 (10:44 +0000)]
.

17 years ago2007-07-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 13 Jul 2007 10:44:28 +0000 (10:44 +0000)]
2007-07-13  Roland McGrath  <roland@redhat.com>

* sha1.h: New file (from gnulib).
* sha1.c: New file (from gnulib).
* Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add them.
(sha1.o): New target.
* Makefile.in: Regenerated.

17 years ago2007-07-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 13 Jul 2007 10:44:26 +0000 (10:44 +0000)]
2007-07-13  Roland McGrath  <roland@redhat.com>

* emultempl/elf32.em (struct build_id_info): New type.
(gld${EMULATION_NAME}_id_note_section_size): New function.
(gld${EMULATION_NAME}_write_build_id_section): New function.
(gld${EMULATION_NAME}_after_open): Use them.
(DEFAULT_BUILD_ID_STYLE): Change to "sha1".
* ld.texinfo (Options): Mention --build-id=sha1.

17 years ago2007-07-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 13 Jul 2007 10:44:12 +0000 (10:44 +0000)]
2007-07-13  Roland McGrath  <roland@redhat.com>

* elf-bfd.h (struct elf_obj_tdata): Revert last change.
Add after_write_object_contents, after_write_object_contents_info.
* elf.c (_bfd_elf_write_object_contents): Revert last change.
Instead, call after_write_object_contents if set.

17 years ago * ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being
Nathan Sidwell [Fri, 13 Jul 2007 09:09:25 +0000 (09:09 +0000)]
* ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being
zero.

17 years ago * ldlang.c (strip_excluded_output_sections): Don't ignore sections
Alan Modra [Fri, 13 Jul 2007 07:34:25 +0000 (07:34 +0000)]
* ldlang.c (strip_excluded_output_sections): Don't ignore sections
with update_dot_tree.

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

17 years ago * mep-tdep.c (IS_BRA, BRA_DISP): New macros.
Kevin Buettner [Fri, 13 Jul 2007 00:00:15 +0000 (00:00 +0000)]
* mep-tdep.c (IS_BRA, BRA_DISP): New macros.
(mep_analyze_prologue): Add case for BRA instruction.

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

17 years ago * solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic.
Ulrich Weigand [Thu, 12 Jul 2007 20:15:24 +0000 (20:15 +0000)]
* solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic.

17 years ago * configure.srv: Set srv_linux_regsets for sh*-*-linux*.
Daniel Jacobowitz [Thu, 12 Jul 2007 19:59:00 +0000 (19:59 +0000)]
* configure.srv: Set srv_linux_regsets for sh*-*-linux*.
* linux-sh-low.c (sh_fill_gregset, target_regsets): New.

17 years ago * splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types
Hans-Peter Nilsson [Thu, 12 Jul 2007 13:30:24 +0000 (13:30 +0000)]
* splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types
work-a-round whitespace problem in gcc gengtype.

17 years ago * scripttempl/pe.sc: Don't include .gcc_except_table and
Nathan Sidwell [Thu, 12 Jul 2007 12:57:02 +0000 (12:57 +0000)]
* scripttempl/pe.sc: Don't include .gcc_except_table and
.eh_frame on partial links.
* scripttempl/pep.sc: Likewise.

17 years ago * configure.ac: Fix my previous change to really match GCC.
Bernd Schmidt [Thu, 12 Jul 2007 11:51:39 +0000 (11:51 +0000)]
* configure.ac: Fix my previous change to really match GCC.
* configure: Regenerate.

17 years ago*** empty log message ***
Nick Roberts [Thu, 12 Jul 2007 07:58:38 +0000 (07:58 +0000)]
*** empty log message ***

17 years ago(Server Prefix): New node. Adapt from existing node
Nick Roberts [Thu, 12 Jul 2007 07:57:57 +0000 (07:57 +0000)]
(Server Prefix): New node.  Adapt from existing node
in annotate.texinfo.
(Command History): Link to new node.

17 years agoUpdated Vietnamese and Dutch translations
Nick Clifton [Thu, 12 Jul 2007 07:28:27 +0000 (07:28 +0000)]
Updated Vietnamese and Dutch translations

17 years agoAdd support for building on a 64-bit Windows host.
Nick Clifton [Thu, 12 Jul 2007 07:16:41 +0000 (07:16 +0000)]
Add support for building on a 64-bit Windows host.

17 years agomerge from gcc
DJ Delorie [Thu, 12 Jul 2007 03:10:12 +0000 (03:10 +0000)]
merge from gcc

17 years ago* maint-tool (deps): Output stamp-h instead of config.h.
Alexandre Oliva [Thu, 12 Jul 2007 02:24:41 +0000 (02:24 +0000)]
* maint-tool (deps): Output stamp-h instead of config.h.
* Makefile.in: Rebuild deps.
(maintainer-clean-subdir): Depend on stamp-h rather than config.h.

17 years ago PR 4782
Alan Modra [Thu, 12 Jul 2007 01:40:25 +0000 (01:40 +0000)]
PR 4782
* ldlang.c (lang_size_sections_1 <output_section_statement>): Only
use expld.result when valid.

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

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

17 years ago * emultempl/spuelf.em (embedded_spu_file): Test for NULL path
Alan Modra [Wed, 11 Jul 2007 22:58:09 +0000 (22:58 +0000)]
* emultempl/spuelf.em (embedded_spu_file): Test for NULL path
before calling base_name, not after.

17 years agoMerge from gcc:
DJ Delorie [Wed, 11 Jul 2007 19:12:27 +0000 (19:12 +0000)]
Merge from gcc:
2007-07-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
* configure.ac: Rewrite 'configure --help' strings to look nicer.
* configure: Regenerate.

2007-07-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
* configure.ac: Add some missing m4 quotation.
* configure: Regenerate.

17 years ago2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 11 Jul 2007 19:09:22 +0000 (19:09 +0000)]
2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>

* tls.m4 (GCC_CHECK_CC_TLS): New.

2007-07-05  Sebastian Pop  <sebpop@gmail.com>

PR bootstrap/32622
* mh-x86omitfp (BOOT_CFLAGS): Add -fomit-frame-pointer,
don't reset its value.

17 years ago * config/tc-mips.c (mips_dwarf2_format, mips_dwarf2_addr_size): Use
Daniel Jacobowitz [Wed, 11 Jul 2007 15:11:15 +0000 (15:11 +0000)]
* config/tc-mips.c (mips_dwarf2_format, mips_dwarf2_addr_size): Use
HAVE_64BIT_SYMBOLS.

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

17 years ago*** empty log message ***
gdbadmin [Wed, 11 Jul 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agoInclude "top.h".
Nick Roberts [Tue, 10 Jul 2007 22:59:42 +0000 (22:59 +0000)]
Include "top.h".
(breakpoint_1): Don't set convenience variable $_ if server prefix
is used.
(_initialize_breakpoint): Describe this behaviour in command help.

17 years ago*** empty log message ***
Nick Roberts [Tue, 10 Jul 2007 22:58:42 +0000 (22:58 +0000)]
*** empty log message ***

17 years ago2007-07-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 10 Jul 2007 15:03:03 +0000 (15:03 +0000)]
2007-07-10  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.in: Regenerated.

17 years ago2007-07-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 10 Jul 2007 14:51:55 +0000 (14:51 +0000)]
2007-07-10  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elfvers/vers.exp: Add tests for --defsym.

* ld-elfvers/vers32.map: Likewise.
* ld-elfvers/vers32a.c: Likewise.
* ld-elfvers/vers32a.dsym: Likewise.
* ld-elfvers/vers32a.ver: Likewise.
* ld-elfvers/vers32b.c: Likewise.
* ld-elfvers/vers32b.dsym: Likewise.
* ld-elfvers/vers32b.ver: Likewise.
* ld-elfvers/vers32c.dsym: Likewise.
* ld-elfvers/vers32c.ver: Likewise.
* ld-elfvers/vers32d.ver: Likewise.

17 years ago * objdump.c (dump_dwarf): Correct setting of is_relocatable.
Alan Modra [Tue, 10 Jul 2007 13:52:39 +0000 (13:52 +0000)]
* objdump.c (dump_dwarf): Correct setting of is_relocatable.

17 years ago2007-07-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 10 Jul 2007 13:49:04 +0000 (13:49 +0000)]
2007-07-10  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4756
* simple.c (bfd_simple_get_relocated_section_content): Don't
apply relocation on executable and shared library.

17 years ago * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't eliminate
Nathan Sidwell [Tue, 10 Jul 2007 07:42:30 +0000 (07:42 +0000)]
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't eliminate
copy relocs on vxworks.

17 years ago * scripttempl/elf.sc (DISCARDED): Renamed from STACKNOTE. Add
Alan Modra [Tue, 10 Jul 2007 04:53:13 +0000 (04:53 +0000)]
* scripttempl/elf.sc (DISCARDED): Renamed from STACKNOTE.  Add
.gnu.debuglink.
* scripttempl/armbpabi.sc: Likewise.
* scripttempl/elf32sh-symbian.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/mep.sc: Likewise.

17 years ago * elf32-arm.c (elf32_arm_size_info): Init checksum_contents field.
Alan Modra [Tue, 10 Jul 2007 04:08:12 +0000 (04:08 +0000)]
* elf32-arm.c (elf32_arm_size_info): Init checksum_contents field.
* elf64-alpha.c (alpha_elf_size_info): Likewise.
* elf64-hppa.c (hppa64_elf_size_info): Likewise.
* elf64-mips.c (mips_elf64_size_info): Likewise.
* elf64-s390.c (s390_elf64_size_info): Likewise.
* elf64-sparc.c (elf64_sparc_size_info): Likewise.

17 years ago2007-07-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 10 Jul 2007 02:40:31 +0000 (02:40 +0000)]
2007-07-09  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (bfd_elf_record_link_assignment): Handle indirect
symbol.
(_bfd_elf_merge_symbol): Properly update normal symbol when
overriding the versioned symbol from a dynamic library.

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

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

17 years ago.
Roland McGrath [Mon, 9 Jul 2007 21:25:39 +0000 (21:25 +0000)]
.

17 years ago2007-07-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 9 Jul 2007 21:25:34 +0000 (21:25 +0000)]
2007-07-09  Roland McGrath  <roland@redhat.com>

* emultempl/elf32.em (gld${EMULATION_NAME}_add_option): Add --build-id.
(gld${EMULATION_NAME}_handle_option): Handle --build-id.
(gld${EMULATION_NAME}_list_options): List --build-id.
(gld${EMULATION_NAME}_after_open): If --build-id was given,
synthesize a ".note.gnu.build-id" section and cache it in elf_tdata.
* ld.texinfo (Options): Describe --build-id.
* NEWS: Mention --build-id.

17 years ago2007-07-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 9 Jul 2007 21:23:43 +0000 (21:23 +0000)]
2007-07-09  Roland McGrath  <roland@redhat.com>

* elf-bfd.h (struct elf_obj_tdata): Add members
emit_note_gnu_build_id and note_gnu_build_id_sec.
* elf.c (_bfd_id_note_section_size): New global function.
(read_hex, _bfd_elf_write_build_id_section): New static functions.
(_bfd_elf_write_object_contents): Call _bfd_elf_write_build_id_section
if emit_note_gnu_build_id is set.
* Makefile.am (elf.lo): Update dependencies.

17 years ago2007-07-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 9 Jul 2007 21:23:39 +0000 (21:23 +0000)]
2007-07-09  Roland McGrath  <roland@redhat.com>

* elf-bfd.h (struct elf_obj_tdata): Add members
emit_note_gnu_build_id and note_gnu_build_id_sec.
* elf.c (_bfd_id_note_section_size): New global function.
(read_hex, _bfd_elf_write_build_id_section): New static functions.
(_bfd_elf_write_object_contents): Call _bfd_elf_write_build_id_section
if emit_note_gnu_build_id is set.
* Makefile.am (elf.lo): Update dependencies.
* elf-bfd.h (struct elf_size_info): Add checksum_contents hook.
(bfd_elf32_checksum_contents, bfd_elf64_checksum_contents): Declare.
* elfcode.h (elf_checksum_contents): New macro and function.
(NAME(_bfd_elf,size_info)): Initialize checksum_contents hook.

17 years ago2007-07-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 9 Jul 2007 21:23:37 +0000 (21:23 +0000)]
2007-07-09  Roland McGrath  <roland@redhat.com>

* elf-bfd.h (struct elf_size_info): Add checksum_contents hook.
(bfd_elf32_checksum_contents, bfd_elf64_checksum_contents): Declare.
* elfcode.h (elf_checksum_contents): New macro and function.
(NAME(_bfd_elf,size_info)): Initialize checksum_contents hook.

17 years ago2007-07-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 9 Jul 2007 21:21:42 +0000 (21:21 +0000)]
2007-07-09  Roland McGrath  <roland@redhat.com>

* bfdlink.h (struct bfd_link_info): Add member emit_note_gnu_build_id.

17 years ago2007-07-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 9 Jul 2007 21:19:51 +0000 (21:19 +0000)]
2007-07-09  Roland McGrath  <roland@redhat.com>

* readelf.c (get_gnu_elf_note_type): New function.
(process_note): Use it for "GNU" name.

17 years ago2007-07-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 9 Jul 2007 21:17:42 +0000 (21:17 +0000)]
2007-07-09  Roland McGrath  <roland@redhat.com>

* common.h (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros.

17 years agoImport patch from FSF gcc sources to add support for building windmc tool.
Nick Clifton [Mon, 9 Jul 2007 09:16:05 +0000 (09:16 +0000)]
Import patch from FSF gcc sources to add support for building windmc tool.

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

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

17 years ago * win32-low.c (handle_output_debug_string): Ignore event if not
Pedro Alves [Sun, 8 Jul 2007 19:37:46 +0000 (19:37 +0000)]
* win32-low.c (handle_output_debug_string): Ignore event if not
waiting.

17 years ago * solib-target.c (library_list_start_segment): Cast address to
Pedro Alves [Sun, 8 Jul 2007 19:31:11 +0000 (19:31 +0000)]
* solib-target.c (library_list_start_segment): Cast address to
CORE_ADDR.

17 years ago * Makefile.am (HFILES): Add dwarf.h, sysdep.h and unwind-ia64.h.
Andreas Schwab [Sun, 8 Jul 2007 14:31:20 +0000 (14:31 +0000)]
* Makefile.am (HFILES): Add dwarf.h, sysdep.h and unwind-ia64.h.
(CFILES): Add unwind-ia64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.

17 years ago * Makefile.am (HFILES): Add dwarf.h, sysdep.h and unwind-ia64.h.
Andreas Schwab [Sun, 8 Jul 2007 12:57:07 +0000 (12:57 +0000)]
* Makefile.am (HFILES): Add dwarf.h, sysdep.h and unwind-ia64.h.
(CFILES): Add unwind-ia64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.

17 years ago * win32-arm-low.c (arm_wince_breakpoint): Fix typo.
Pedro Alves [Sun, 8 Jul 2007 00:25:30 +0000 (00:25 +0000)]
* win32-arm-low.c (arm_wince_breakpoint): Fix typo.

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

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

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

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

17 years ago2007-07-06 Mark Kettenis <kettenis@gnu.org>
H.J. Lu [Fri, 6 Jul 2007 14:35:50 +0000 (14:35 +0000)]
2007-07-06  Mark Kettenis  <kettenis@gnu.org>
    H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
(ia64-asmtab.c): Likewise.
* Makefile.in: Regenerate.