OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
15 years agoAdd Spanish translation to gold.
nickc [Tue, 10 Mar 2009 09:20:59 +0000 (09:20 +0000)]
Add Spanish translation to gold.
Update Indonesian translation for opcodes.

15 years ago * libc/machine/arm/arm_asm.h: Fix typo.
corinna [Tue, 10 Mar 2009 09:02:31 +0000 (09:02 +0000)]
* libc/machine/arm/arm_asm.h: Fix typo.

15 years ago * disasm.c (gdb_disassembly): Remove unused argument
teawater [Tue, 10 Mar 2009 08:53:53 +0000 (08:53 +0000)]
* disasm.c (gdb_disassembly): Remove unused argument
"line_num".
* disasm.h (gdb_disassembly): Ditto.
* cli/cli-cmds.c (print_disassembly): Ditto.
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Ditto.

15 years agoinclude/opcode/
amodra [Tue, 10 Mar 2009 06:53:45 +0000 (06:53 +0000)]
include/opcode/
* ppc.h (ppc_parse_cpu): Declare.
opcodes/
* ppc-dis.c: Include "opintl.h".
(struct ppc_mopt, ppc_opts): New.
(ppc_parse_cpu): New function.
(powerpc_init_dialect): Use it.
(print_ppc_disassembler_options): Dump options from ppc_opts.
Internationalize message.
gas/
* config/tc-ppc.c (parse_cpu): Delete.
(md_parse_option, ppc_machine): Use ppc_parse_cpu.
gas/testsuite/
* gas/ppc/altivec_and_spe.d (objdump): Add -Maltivec.
* gas/ppc/common.d: Adjust for -Mcom not including -Mppc.

15 years agobinutils/
hjl [Tue, 10 Mar 2009 00:48:09 +0000 (00:48 +0000)]
binutils/

2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/9933
* objcopy.c (filter_symbols): Properly handle common symbols
in relocatable file.

binutils/testsuite/

2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/9933
* binutils-all/copy-4.d: New.

* binutils-all/objcopy.exp: Run copy-4.

15 years ago*** empty log message ***
gdbadmin [Tue, 10 Mar 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Tue, 10 Mar 2009 00:00:08 +0000 (00:00 +0000)]
daily update

15 years ago2009-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
ppluzhnikov [Mon, 9 Mar 2009 22:38:37 +0000 (22:38 +0000)]
2009-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>

* solib.c (solib_contains_address_p): New function.
(solib_name_from_address): Use it.
* printcmd.c (display_uses_solib_p): Use it.
* solib.h (solib_contains_address_p): Declare it.

15 years ago * varobj.c (free_variable): Call value_free.
jkratoch [Mon, 9 Mar 2009 22:35:43 +0000 (22:35 +0000)]
* varobj.c (free_variable): Call value_free.

15 years ago PR gdb/9873:
jkratoch [Mon, 9 Mar 2009 18:53:48 +0000 (18:53 +0000)]
PR gdb/9873:
* dwarf2read.c (dwarf_decode_macros): New variable `at_commandline'.
Move the variable `macinfo_type' out of the loop.  Create a new
processing pass before the current one to pre-create `current_file'.
New complaint on misplaced zero/non-zero definitions/includes.
Skip first DW_MACINFO_start_file with `at_commandline' set.

15 years ago2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 9 Mar 2009 18:33:42 +0000 (18:33 +0000)]
2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/9915
* config/tc-i386.h (LOCAL_LABELS_DOLLAR): New.  Defined as 0.
(LOCAL_LABELS_FB): Undefine befoe define.

15 years ago * fhandler.h (fhandler_socket::wait_for_events): Take additional
corinna [Mon, 9 Mar 2009 14:40:44 +0000 (14:40 +0000)]
* fhandler.h (fhandler_socket::wait_for_events): Take additional
parameter "dontwait".
* fhandler_socket.cc (fhandler_socket::wait_for_events): Act as if the
socket is non-blocking if dontwait is true.
(fhandler_socket::recv_internal): Use incoming MSG_DONTWAIT flag to
set the wait_for_events dontwait parameter.
(fhandler_socket::send_internal): Ditto.  Optimize code slightly.
* include/cygwin/socket.h (MSG_DONTWAIT): Define.
* include/cygwin/version.h: Bump API minor number.

15 years ago * cygwin.din: Export wcsftime.
corinna [Mon, 9 Mar 2009 13:22:37 +0000 (13:22 +0000)]
* cygwin.din: Export wcsftime.
* posix.sgml: Move wcsftime to SUSv4 list.
* include/cygwin/version.h: Bump API minor number.

15 years ago * solib.c (reload_shared_libraries): Give
vprus [Mon, 9 Mar 2009 13:19:19 +0000 (13:19 +0000)]
   * solib.c (reload_shared_libraries): Give
       inferior a chance to reset solib breakpoint.
       Reinit frame cache.

15 years ago * libc/time/strftime.c: Adapt for dual-purpose use so not only
corinna [Mon, 9 Mar 2009 12:35:03 +0000 (12:35 +0000)]
* libc/time/strftime.c:  Adapt for dual-purpose use so not only
defines strftime(), but can also define wcsftime(); add optional
test package; speed up %Y handling.
* libc/time/wcsftime.c:  New file, defining wcsftime() (albeit
indirectly by including strftime.c) and its documentation.
* libc/time/time.tex:  Enhance tm_isdst explanation, change strftime
description to match modified description in strftime.c
* libc/time/Makefile.am:  Add wcsftime.c and wcsftime.def.  Add a rule
so that wcsftime.o gets rebuilt when strftime changes.
* libc/time/Makefile.in:  Regenerate.
* libc/include/wchar.h (wcsftime): Declare.

15 years ago * pathnames.sgml: Try to be more clear explain raw devices.
corinna [Mon, 9 Mar 2009 10:23:44 +0000 (10:23 +0000)]
* pathnames.sgml: Try to be more clear explain raw devices.

15 years ago * utils.sgml: Fix typo.
corinna [Mon, 9 Mar 2009 09:20:38 +0000 (09:20 +0000)]
* utils.sgml: Fix typo.

15 years agoMinor formatting change
cgf [Mon, 9 Mar 2009 05:35:56 +0000 (05:35 +0000)]
Minor formatting change

15 years ago*** empty log message ***
gdbadmin [Mon, 9 Mar 2009 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Mon, 9 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago* cygcheck.cc (usage): Fix typo.
cgf [Sun, 8 Mar 2009 21:13:26 +0000 (21:13 +0000)]
* cygcheck.cc (usage): Fix typo.

15 years ago* windows-nat.c (dr): Redefine to use largest possible integer which holds a
cgf [Sun, 8 Mar 2009 21:01:51 +0000 (21:01 +0000)]
* windows-nat.c (dr): Redefine to use largest possible integer which holds a
pointer.
(cygwin_set_dr): Avoid coercion.
* windows-nat.c (windows_create_inferior): implement --tty handling on
non-cygwin.

15 years agodaily update
amodra [Sun, 8 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sun, 8 Mar 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * ld-elf/empty2.d: Remove xfail for hppa*-*-*.
danglin [Sat, 7 Mar 2009 23:42:28 +0000 (23:42 +0000)]
* ld-elf/empty2.d: Remove xfail for hppa*-*-*.
* ld-elf/merge.d: Change xfail for hppa to hppa*64*-*-*.

15 years ago PR binutils/9921
danglin [Sat, 7 Mar 2009 23:38:12 +0000 (23:38 +0000)]
PR binutils/9921
* som.c (som_bfd_derive_misc_symbol_info): Set symbol type ST_ABSOLUTE
for unknown symbols in absolute section.

15 years agodaily update
amodra [Sat, 7 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sat, 7 Mar 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * options.cc (parse_short_option): Keep dash_z from registering itself.
ccoutant [Fri, 6 Mar 2009 23:12:37 +0000 (23:12 +0000)]
* options.cc (parse_short_option): Keep dash_z from registering itself.

15 years ago2009-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
ppluzhnikov [Fri, 6 Mar 2009 18:51:04 +0000 (18:51 +0000)]
2009-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>

Rename solib_address to solib_name_from_address.
* breakpoint.c (insert_bp_location, disable_breakpoints_in_shlibs)
(disable_breakpoints_in_unloaded_shlib): Update.
* printcmd.c (display_uses_solib_p): Likewise.
* stack.c (print_frame): Likewise.
* solib.c: Rename.
* solib.h: Rename.

15 years ago * libc/reent/reent.c (_reclaim_reent): Make a block from MP-related
corinna [Fri, 6 Mar 2009 17:11:19 +0000 (17:11 +0000)]
* libc/reent/reent.c (_reclaim_reent): Make a block from MP-related
statements in _REENT_SMALL case.  Check if _atexit is not NULL before
dereferencing it.
(_wrapup_reent): Check if _atexit is not NULL before dereferencing it.

15 years ago * cygwin.din: Export gethostbyname2.
corinna [Fri, 6 Mar 2009 16:31:24 +0000 (16:31 +0000)]
* cygwin.din: Export gethostbyname2.
* net.cc: define _CYGWIN_IN_H and include resolv.h.
(realloc_ent): New function.
(dup_ent): Call realloc_ent.
(memcpy4to6): New function.
(dn_length1): New function.
(gethostby_helper): New function.
(gethostbyname2): New function.
* posix.sgml: Add gethostbyname2.
* include/cygwin/version.h: Bump API minor number.
* libc/minires.c (get_options): Look for "inet6" and apply bounds
to "retry" and "retrans".
(res_ninit): Set the default options at the beginning.
(dn_expand): Fix "off by one".

15 years agoUpdated Spanish translations.
nickc [Fri, 6 Mar 2009 12:14:37 +0000 (12:14 +0000)]
Updated Spanish translations.

15 years ago * cygwin.din: Export wprintf, fwprintf, swprintf, vwprintf, vfwprintf,
corinna [Fri, 6 Mar 2009 10:09:54 +0000 (10:09 +0000)]
* cygwin.din: Export wprintf, fwprintf, swprintf, vwprintf, vfwprintf,
vswprintf.  Sort.
* posix.sgml: Move fwprintf, swprintf, vwprintf, vfwprintf, vswprintf
to SUSv4 list.  Sort SUSv4 list.
* include/cygwin/version.h: Bump API minor number.

15 years ago * libc/include/stdio.h (__VALIST): Guard against multiple definition.
corinna [Fri, 6 Mar 2009 09:55:52 +0000 (09:55 +0000)]
* libc/include/stdio.h (__VALIST): Guard against multiple definition.
* libc/include/wchar.h: Include stdarg.h.
(__VALIST): Define conditionally.
(fwprintf, swprintf, vfwprintf, vswprintf, vwprintf, wprintf: Declare.
(_fwprintf_r, _swprintf_r, _vfwprintf_r, _vswprintf_r, _vwprintf_r,
 _wprintf_r): Declare.
* libc/stdio/Makefile.am: Add new files.
* libc/stdio/Makefile.in: Regenerate.
* libc/stdio/fwprintf.c: New file.
* libc/stdio/local.h (_svfwprintf_r, _svfiwprintf_r): Declare.
(__CH_CLASS, __STATE, __ACTION): Move definition from vfprintf.c here
and move to the __ namespace.
(__chclass, __state_table, __action_table): Declare.
* libc/stdio/stdio.tex: Add new documentation references.
* libc/stdio/swprintf.c: New file.
* libc/stdio/vfprintf.c (__SPRINT): New macro to call the right
__sprint_r function according to compilation unit.  Use throughout.
(__ssprint_r): Rename STRING_ONLY variant from __sprint_r.
Make externaly available.  Only define if INTEGER_ONLY is defined.
(__sprint_r): Make externaly available.  Only define if INTEGER_ONLY
is defined.  Handle stream orientation.
(__sbprintf): Copy FILE's _flags2 member as well.
(__chclass, __state_table, __action_table): Prepend __ to name and
make externally available.
* libc/stdio/vfwprintf.c: New file.
* libc/stdio/vswprintf.c: New file.
* libc/stdio/vwprintf.c: New file.
* libc/stdio/wprintf.c: New file.

15 years ago09-03-05 Christophe Lyon <christophe.lyon@st.com>
clyon [Fri, 6 Mar 2009 08:57:57 +0000 (08:57 +0000)]
09-03-05  Christophe Lyon  <christophe.lyon@st.com>

bfd/
* elf32-arm.c (group_sections): Take next section size into
account before accepting to group it.

testsuite/
* ld-arm/arm-elf.exp: Add new farcall-group-limit test.
* ld-arm/farcall-group-limit.d: New file.
* ld-arm/farcall-group3.s: New file.
* ld-arm/farcall-group4.s: New file.

15 years ago*** empty log message ***
gdbadmin [Fri, 6 Mar 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Fri, 6 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
ppluzhnikov [Thu, 5 Mar 2009 23:45:13 +0000 (23:45 +0000)]
2009-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>

* printcmd.c (do_one_display): Reparse exp_string.
(display_uses_solib_p): New function.
(clear_dangling_display_expressions): New function.
(_initialize_printcmd): Add observer.
* solib.c (no_shared_libraries): Swap order of calls to
clear_solib and objfile_purge_solibs.

15 years ago Implement the target-specific part of Ada tasking support
brobecke [Thu, 5 Mar 2009 23:42:31 +0000 (23:42 +0000)]
    Implement the target-specific part of Ada tasking support
        on Tru64.

        * dec-thread.c (dec_thread_get_ada_task_ptid): New function.
        (init_dec_thread_ops): Set the to_get_ada_task_ptid method.

15 years ago Get rid of the global "base_target" and use "find_target_beneath"
brobecke [Thu, 5 Mar 2009 23:37:19 +0000 (23:37 +0000)]
    Get rid of the global "base_target" and use "find_target_beneath"
        to find the underlying target.
        * dec-thread.c (base_target): Delete.
        (enable_dec_thread): Remove assignement to base_target.
        (dec_thread_detach, dec_thread_wait, dec_thread_wait)
        (dec_thread_fetch_registers, dec_thread_store_registers)
        (dec_thread_mourn_inferior, dec_thread_pid_to_str):
        Update the function profile if necessary.
        Use find_target_beneath to call the same method but from
        the underlying target, removing the need for "base_target".

        * dec-thread.c (dec_thread_get_regsets, dec_thread_set_regsets):
        Fix a copy/paste error in a few debug traces...

        * solib-osf.c (init_so): Use a simpler method for computing
        the size of lm_info structure. This also gets rid of warning
        emitted by the compiler.

15 years ago * gdb.texinfo (Background Execution): Better describe the set
palves [Thu, 5 Mar 2009 23:11:11 +0000 (23:11 +0000)]
* gdb.texinfo (Background Execution): Better describe the set
target-async command.
(Maintenance Commands): Delete description of the `maint set/show
linux-async' and `maint set/show remote-async' commands.

15 years agogdb/
palves [Thu, 5 Mar 2009 22:37:09 +0000 (22:37 +0000)]
gdb/
2009-03-05  Pedro Alves  <pedro@codesourcery.com>

* breakpoint.c (check_duplicates_for): Skip permanent breakpoints
duplicates of permanent breakpoints.

gdb/testsuite/
2009-03-05  Pedro Alves  <pedro@codesourcery.com>

* gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.

15 years ago2009-03-05 Christophe Lyon <christophe.lyon@st.com>
clyon [Thu, 5 Mar 2009 17:28:20 +0000 (17:28 +0000)]
2009-03-05  Christophe Lyon  <christophe.lyon@st.com>

bfd/
* elf32-arm.c (arm_type_of_stub): Handle long branches targetting
PLT entries.
(elf32_arm_final_link_relocate): Likewise.

testsuite/
* ld-arm/arm-elf.exp: Add 2 more tests to check long branch stubs
in PLT context.
* ld-arm/farcall-mixed-app-v5.d: New file.
* ld-arm/farcall-mixed-app.d: Likewise.
* ld-arm/farcall-mixed-app.r: Likewise.
* ld-arm/farcall-mixed-app.s: Likewise.
* ld-arm/farcall-mixed-app.sym: Likewise.
* ld-arm/farcall-mixed-lib.d: Likewise.
* ld-arm/farcall-mixed-lib.r: Likewise.

15 years ago * objdump.c (disassemble_section): If the computed next offset is
nickc [Thu, 5 Mar 2009 16:31:50 +0000 (16:31 +0000)]
    * objdump.c (disassemble_section): If the computed next offset is
        not beyond the current offset then just continue to the end.

15 years agogas:
jsm28 [Thu, 5 Mar 2009 15:27:58 +0000 (15:27 +0000)]
gas:
* read.c (s_fill, s_space, s_float_space, float_cons, stringer,
s_incbin): Call md_cons_align (1).

gas/testsuite:
* gas/arm/mapmisc.d, gas/arm/mapmisc.dat, gas/arm/mapmisc.s: New.

15 years ago2009-03-05 Kai Tietz <kai.tietz@onevision.com>
ironhead [Thu, 5 Mar 2009 14:48:38 +0000 (14:48 +0000)]
2009-03-05  Kai Tietz  <kai.tietz@onevision.com>

        * pseudo-reloc.c: Rewrite to enable pseudo_reloc version 2.

15 years ago PR 9923
amodra [Thu, 5 Mar 2009 01:04:55 +0000 (01:04 +0000)]
PR 9923
* peXXigen.c (_bfd_XXi_final_link_postscript): Check h->root.type.

15 years ago*** empty log message ***
gdbadmin [Thu, 5 Mar 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Thu, 5 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years agoWrap long line.
palves [Wed, 4 Mar 2009 22:52:00 +0000 (22:52 +0000)]
Wrap long line.

15 years ago * inferior.h (notice_new_inferior): Declare.
palves [Wed, 4 Mar 2009 22:50:58 +0000 (22:50 +0000)]
* inferior.h (notice_new_inferior): Declare.
* infcmd.c (notice_new_inferior): New.
* remote.c (remote_add_inferior, remote_add_thread): New.
(notice_new_inferiors): Rename to...
(remote_notice_new_inferior): ... this.  Add RUNNING argument.
Use remote_add_thread instead of add_thread, passing it the
RUNNING argument.  Add an inferior with remote_add_inferior.  If
we just learned about an inferior, call notice_new_inferior.
(record_currthread): Adjust.
(remote_threads_info): Adjust to use remote_notice_new_inferior.
(remote_start_remote, extended_remote_attach_1): Use remote_add_inferior.
(process_stop_reply): Adjust.  Call remote_notice_new_inferior
after handling expedited registers and watchpoint state.
(extended_remote_create_inferior_1): Use remote_add_inferior.

15 years ago* infcmd.c (registers_info): Remove register number case.
aristovski [Wed, 4 Mar 2009 17:58:33 +0000 (17:58 +0000)]
* infcmd.c (registers_info): Remove register number case.

15 years ago * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
nickc [Wed, 4 Mar 2009 16:15:41 +0000 (16:15 +0000)]
    * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
        based targets.
        (s_alpha_comm): Only define "temp" and "log_align" local variables
        for EVAX targets.

15 years ago2009-03-04 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 4 Mar 2009 15:18:41 +0000 (15:18 +0000)]
2009-03-04  Tristan Gingold  <gingold@adacore.com>

* MAINTAINERS: Add myself as VMS maintainer.

15 years ago * dcrt0.cc (disable_dep): Disable. Explain why.
corinna [Wed, 4 Mar 2009 11:45:57 +0000 (11:45 +0000)]
* dcrt0.cc (disable_dep): Disable.  Explain why.
(dll_crt0_0): Disable calling disable_dep.  Explain why.

15 years ago PR 9918
ian [Wed, 4 Mar 2009 06:46:27 +0000 (06:46 +0000)]
PR 9918
* target-reloc.h (relocate_section): Pass output_section to
relocate.
* i386.cc (Target_i386::should_apply_static_reloc): Add
output_section parameter.  Change all callers.
(Target_i386::Relocate::relocate): Add output_section parameter.
* x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.
* sparc.cc (Target_sparc::Relocate::relocate): Likewise.
* powerpc.cc (Target_powerpc::Relocate::relocate): Likewise.
* testsuite/two_file_shared.sh: New script.
* testsuite/Makefile.am (check_SCRIPTS): Add two_file_shared.sh.
(check_DATA): Add two_file_shared.dbg.
(two_file_shared.dbg): New target.
* testsuite/Makefile.in: Rebuild.

15 years agoinclude/elf/
amodra [Wed, 4 Mar 2009 05:50:48 +0000 (05:50 +0000)]
include/elf/
* ppc.h (R_PPC_TLSGD, R_PPC_TLSLD): Add new relocs.
* ppc64.h (R_PPC64_TLSGD, R_PPC64_TLSLD): Add new relocs.
bfd/
* reloc.c (BFD_RELOC_PPC_TLSGD, BFD_RELOC_PPC_TLSLD): New.
* section.c (struct bfd_section): Add has_tls_get_addr_call.
(BFD_FAKE_SECTION): Init new flag.
* ecoff.c (bfd_debug_section): Likewise.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_TLSGD and R_PPC_TLSLD.
(ppc_elf_reloc_type_lookup): Handle new relocs.
(ppc_elf_check_relocs): Set has_tls_get_addr_call on finding such
without marker relocs.
(ppc_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs
if section has no old-style calls.
(ppc_elf_relocate_section): Set tls_mask for non-tls relocs too.
Don't try to optimize new-style __tls_get_addr call when handling
arg setup relocs.  Instead do so for R_PPC_TLSGD and R_PPC_TLSLD
relocs.
* elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_TLSGD, R_PPC64_TLSLD.
(ppc64_elf_reloc_type_lookup): Handle new relocs.
(ppc64_elf_check_relocs): Set has_tls_get_addr_call on finding such
without marker relocs.
(ppc64_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs
if section has no old-style calls.  Set toc_ref for new relocs as
appropriate.
(ppc64_elf_relocate_section): Set tls_mask for non-tls relocs too.
Don't try to optimize new-style __tls_get_addr call when handling
arg setup relocs.  Instead do so for R_PPC_TLSGD and R_PPC_TLSLD
relocs.
gas/
* config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
have non-zero addend.
(md_assemble): Parse args of __tls_get_addr calls.
(md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
ld/testsuite/
* ld-powerpc/tlsmark.s, * ld-powerpc/tlsmark.d: New test.
* ld-powerpc/tlsmark32.s, * ld-powerpc/tlsmark32.d: New test.
* ld-powerpc/powerpc.exp: Run them.

15 years agobfd/
amodra [Wed, 4 Mar 2009 02:10:32 +0000 (02:10 +0000)]
bfd/
PR 6768
* configure.in: Test for ld --as-needed support.  Link shared
libbfd against libm.
* configure: Regenerate.
opcodes/
PR 6768
* configure.in: Test for ld --as-needed support.  Link shared
libopcodes against libm.
* configure: Regenerate.

15 years agomissing from make dep-am commit
amodra [Wed, 4 Mar 2009 01:16:12 +0000 (01:16 +0000)]
missing from make dep-am commit

15 years agoopcodes/
bergner [Wed, 4 Mar 2009 01:00:53 +0000 (01:00 +0000)]
opcodes/
* ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
instructions from newer processors are listed before older ones.

15 years ago*** empty log message ***
gdbadmin [Wed, 4 Mar 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Wed, 4 Mar 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * config/hppa.sed: Fix spelling.
danglin [Tue, 3 Mar 2009 23:27:13 +0000 (23:27 +0000)]
* config/hppa.sed: Fix spelling.

15 years ago binutils/3807
danglin [Tue, 3 Mar 2009 23:21:52 +0000 (23:21 +0000)]
binutils/3807
* config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
local scope for ELF targets.

15 years ago * config/tc-ppc.c (md_assemble): APUinfo only for e500.
amodra [Tue, 3 Mar 2009 23:15:03 +0000 (23:15 +0000)]
* config/tc-ppc.c (md_assemble): APUinfo only for e500.

15 years ago * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook.
davek [Tue, 3 Mar 2009 18:22:10 +0000 (18:22 +0000)]
* emultempl/pe.em (debug_section_p):  New bfd_map_over_sections hook.
(gld_${EMULATION_NAME}_after_open):  Use it to iterate all sections
of all input BFDs, looking for debug info.  Enable long section names
if any found.
* emultempl/pe.em (debug_section_p):  Likewise.
(gld_${EMULATION_NAME}_after_open):  Likewise.
* NEWS:  Retrospectively adjust news announcement.
* ld.texinfo:  Update documentation to mention new behaviour.

15 years ago * top.c (quit_target): Check for target_has_execution before
palves [Tue, 3 Mar 2009 13:35:23 +0000 (13:35 +0000)]
* top.c (quit_target): Check for target_has_execution before
killing or detaching from inferiors.

15 years ago * net.cc: Include asm/byteorder.h.
corinna [Tue, 3 Mar 2009 11:44:17 +0000 (11:44 +0000)]
* net.cc: Include asm/byteorder.h.
(htonl): Move to end of file.  Add comment to explain why.  Align
definition to POSIX.  Use related macro from asm/byteorder.h.
(ntohl): Ditto.
(htons): Ditto.
(ntohs): Ditto.
* include/asm/byteorder.h: Revert previous patch.

15 years ago * include/asm/byteorder.h: Disable optimization when building
corinna [Tue, 3 Mar 2009 11:11:26 +0000 (11:11 +0000)]
* include/asm/byteorder.h: Disable optimization when building
Cygwin network code.

15 years ago * faq-using.xml: Rework UTF FAQ to accommodate latest setlocale
corinna [Tue, 3 Mar 2009 10:36:59 +0000 (10:36 +0000)]
* faq-using.xml: Rework UTF FAQ to accommodate latest setlocale
change in newlib.

15 years ago2009-03-03 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 3 Mar 2009 10:04:58 +0000 (10:04 +0000)]
2009-03-03  Tristan Gingold  <gingold@adacore.com>
    Eric Botcazou  <ebotcazou@adacore.com>
    Douglas B Rupp  <rupp@gnat.com>

* doc/as.texinfo (Overview): Mention -replace/-noreplace options
for Alpha.
* doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
* config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
(OBJ_SYMFIELD_TYPE): Remove.
(tc_canonicalize_symbol_name): Define to evax_shorten_name.
(TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
(tc_frob_file_before_fix): Do not defined on evax.
* config/tc-alpha.c: Always includes dwarf2dbg.h.
Include vms.h if OBJ_EVAX.
(struct alpha_fixup): Add xtrasym and procsym (evax only).
(enum alpha_macro_arg): Remove trailing comma.
(md_longopts): Add replace and noreplace arguments (evax only).
(alpha_evax_proc_hash): New variable.
(alpha_link_section): Make it global.
(alpha_ctors_section, alpha_dtors_section): Removed.
(alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
(alpha_lit8_section): Ifndef'ed on evax.
(alpha_lit8_symbol): Ditto.
(alpha_prologue_label): New variable.
(alpha_linkage_symbol): New variable (evax only).
(alpha_flag_replace): Ditto.
(struct alpha_evax_procs): Add handler and handler_data field.
(alpha_evax_proc): Now of type pointer.
(alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
(struct alpha_reloc_tag): Add sym and psym fields (evax only).
(get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
(alpha_adjust_relocs): Ifndef'ed on evax.
(load_expression): Add opname argument.
Implement LDA/BSR optimization for evax.
(emit_lda): Adjust for new prototype of load_expression.
(emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
(emit_loadstore): Likewise.
(emit_ldXu): Likewise.
(emit_stX): Likewise.
(emit_jsrjmp): Likewise.  Implement LDA/BSR optimization for evax.
(emit_ldgp): Avoid warning in evax case.
(add_to_link_pool): Make it static.  Return symbolic expression rather
than number expression for the offset.
(s_alpha_text): Create .text symbol for evax if not already created.
(s_alpha_comm): Do not create specific section for common symbol.
Fill common area with zeros for evax.
(s_alpha_prologue): Create alpha_prologue_label.
(s_alpha_section_name): New function (evax).
(s_alpha_section_word): Likewise.
(section_name): New static variabke moved out from ...
(s_alpha_section): ... here.  Create new sections on demand.
(s_alpha_literals): New function (evax).
(s_alpha_ent): Create alpha_evax_proc instance and insert it in the
alpha_evax_proc_hash table.
(s_alpha_handler): New function (evax).
(s_alpha_frame): Adjust for new type of alpha_evax_proc.
(s_alpha_prologue): New function (evax).
(s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
handling of procedures with hash table.
Add support for condition handlers.
(s_alpha_linkage): Create linkage_fixup instance and chain it.
(s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
(s_alpha_mask): Likewise.
(s_alpha_fmask): Likewise.
(s_alpha_end): Clear alpha_evax_proc.
(s_alpha_align): Increase max_alignment to 16.
(alpha_print_token): Call print_expr_1 instead of print_expr.
(md_pseudo_table): Add "section", "literals", "handler" and
"handler_data" (evax).  Do not ignore "prologue" on evax.
Fix indentation.
(md_begin): Create hash table for alpha_evax_proc_hash.
(md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
(md_show_usage): Mention -replace/-noreplace for evax.
(md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
(alpha_force_relocation): Likewise.
(alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
(tc_gen_reloc): Likewise.  Add BFD_RELOC_ALPHA_LINKAGE for evax.
(emit_insn): New cases for evax specific relocs.
(assemble_insn): Fix indentation.
Take care of -MDISP in operand table.
* config/obj-evax.h (struct alpha_linkage_fixups): New struct.
(OBJ_SYMFIELD_TYPE): New macro.
(obj_symbol_new_hook): Define.
(obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
(obj_frob_file_before_fix): Ditto.
(PDSC_S_M_HANDLER_VALID): New macro.
(PDSC_S_M_HANDLER_DATA_VALID): Ditto.
(TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
Add prototypes for functions declared in obj-evax.c
* config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
(s_evax_weak): Convert to ansi-C.
(evax_symbol_new_hook): New function.
(evax_frob_symbol): Ditto.
(evax_frob_file_before_adjust): Ditto.
(evax_frob_file_before_fix): Ditto.
(evax_shorten_name): Ditto.
(crc32): Ditto.
(encode_32): Ditto.
(encode_16): Ditto.
(decode_16): Ditto.
(shorten_identifier): Ditto.
(is_truncated_identifier): Ditto.
* dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
* as.c (close_output_file): Remove #ifndef OBJ_VMS.
(main): Ditto.

15 years ago * libc/locale/locale.c (_setlocale_r): New implementation based on
corinna [Tue, 3 Mar 2009 09:28:44 +0000 (09:28 +0000)]
* libc/locale/locale.c (_setlocale_r): New implementation based on
FreeBSD's setlocale.
(currentlocale): New helper function.
(loadlocale): Ditto.
(__locale_charset): New function.
(__locale_msgcharset): Rename from __locale_charset.
* libc/ctype/local.h (__lc_ctype): Remove declaration.
(__locale_charset): Declare.
* libc/ctype/iswalpha.c (iswalpha): Call __locale_charset instead of
using __lc_ctype directly.  Only compare against the charset alone.
* libc/ctype/iswblank.c (iswblank): Ditto.
* libc/ctype/iswcntrl.c (iswcntrl): Ditto.
* libc/ctype/iswprint.c (iswprint): Ditto.
* libc/ctype/iswpunct.c (iswpunct): Ditto.
* libc/ctype/iswspace.c (iswspace): Ditto.
* libc/ctype/towlower.c (towlower): Ditto.
* libc/ctype/towupper.c (towupper): Ditto.
* libc/stdlib/mbtowc_r.c (_mbtowc_r): Ditto.
* libc/stdlib/wctomb_r.c (_wctomb_r): Ditto.
* libc/sys/linux/intl/loadmsgcat.c (_nl_init_domain_conv): Call
__locale_msgcharset instead of __locale_charset.

15 years ago * pathnames.sgml: Remove reference to managed mountpoints in mount
corinna [Tue, 3 Mar 2009 09:11:45 +0000 (09:11 +0000)]
* pathnames.sgml: Remove reference to managed mountpoints in mount
entry example.

15 years agoUpdate formatting.
nickc [Tue, 3 Mar 2009 08:30:33 +0000 (08:30 +0000)]
Update formatting.

15 years agomake dep-am and regen
amodra [Tue, 3 Mar 2009 02:41:10 +0000 (02:41 +0000)]
make dep-am and regen
opcodes/
* Makefile.am (HFILES): Move lm32-desc.h and lm32-opc.h from..
(CFILES): ..here.

15 years ago Remove some unused routines.
brobecke [Tue, 3 Mar 2009 02:10:08 +0000 (02:10 +0000)]
    Remove some unused routines.

        * ada-lang.c (is_suppressed_name, ada_suppress_symbol_printing):
        Delete.
        * ada-lang.c (ada_task_list_iterator_ftype)
        (iterate_over_live_ada_tasks): Delete.
        * ada-tasks.c (ada_get_environment_task, iterate_over_live_ada_tasks):
        Delete.

15 years ago * objdump.c (disassemble_section): Mask address before sign extending.
amodra [Tue, 3 Mar 2009 01:27:15 +0000 (01:27 +0000)]
* objdump.c (disassemble_section): Mask address before sign extending.

15 years agodaily update
amodra [Tue, 3 Mar 2009 00:00:07 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Tue, 3 Mar 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * binutils-all/localize-hidden-1.s: Change .equ to .set.
danglin [Mon, 2 Mar 2009 23:33:02 +0000 (23:33 +0000)]
* binutils-all/localize-hidden-1.s: Change .equ to .set.
* binutils-all/localize-hidden-2.s: Likewise.

15 years ago2009-03-02 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 2 Mar 2009 23:30:57 +0000 (23:30 +0000)]
2009-03-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/wctomb_r.c (_wctomb_r): When checking single-byte
        charset, cast wchar to size_t in case wchar_t is signed.
        * libc/stdlib/wctomb.c (wctomb): Add similar single-byte check.

15 years ago2009-03-02 Corinna Vinschen <corinna@vinschen.de>
jjohnstn [Mon, 2 Mar 2009 23:20:28 +0000 (23:20 +0000)]
2009-03-02  Corinna Vinschen  <corinna@vinschen.de>

        * libc/stdlib/wctomb_r.c (_wctomb_r): Return EILSEQ in case of an
        invalid wchar.  Return -1 if wchar doesn't fit into singlebyte
        value in case of using a singlebyte charset.

15 years ago * generic/gdbtk-stack.c (gdb_get_vars_command): Revise cast of
kevinb [Mon, 2 Mar 2009 22:44:33 +0000 (22:44 +0000)]
* generic/gdbtk-stack.c (gdb_get_vars_command): Revise cast of
`clientData' to avoid build error on 64-bit hosts.

15 years agoClean up last entry.
devans [Mon, 2 Mar 2009 22:39:44 +0000 (22:39 +0000)]
Clean up last entry.

15 years ago * itcl/Makefile.in (ITCL_CFLAGS): Renamed from CFLAGS.
kevinb [Mon, 2 Mar 2009 21:50:42 +0000 (21:50 +0000)]
* itcl/Makefile.in (ITCL_CFLAGS): Renamed from CFLAGS.
(COMPILE): Use ITCL_CFLAGS in addition to CFLAGS.
* itk/Makefile.in (ITK_CFLAGS): Renamed from CFLAGS.
(COMPILE): Use ITK_CFLAGS in addition to CFLAGS.

15 years ago * ldgram.y: Add support for REGION_ALIAS operator.
nickc [Mon, 2 Mar 2009 17:27:35 +0000 (17:27 +0000)]
    * ldgram.y: Add support for REGION_ALIAS operator.
        * ldlang.c: Likewise.
        * ldlang.h: Likewise.
        * ldlex.l: Likewise.
        * NEWS: Mention the new feature.
        * ld.texinfo: Document the new feature.
        * ld-scripts/regions-alias-1.t: New file.
        * ld-scripts/regions-alias-2.t: New file.
        * ld-scripts/regions-alias-3.t: New file.
        * ld-scripts/regions-alias-4.t: New file.
        * ld-scripts/script.exp: Run region alias tests.

15 years ago * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
nickc [Mon, 2 Mar 2009 16:18:54 +0000 (16:18 +0000)]
    * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
        (parse_ieee_bb): Set the filename if it has not already been
        discovered.

15 years ago * readelf.c (adjust_relative_path): New function.
nickc [Mon, 2 Mar 2009 16:06:50 +0000 (16:06 +0000)]
    * readelf.c (adjust_relative_path): New function.
        (struct archive_info): New type.
        (setup_archive): New function.
        (release_archive): New function.
        (setup_nested_archive): New function.
        (get_archive_member_name): New function.
        (get_archive_member_name_at): New function.
        (make_qualified_name): New function.
        (process_archive): Factor out code for reading archive index and
        long filename table to setup_archive.  Add support for thin archives.

15 years ago PR 9874
nickc [Mon, 2 Mar 2009 14:47:38 +0000 (14:47 +0000)]
    PR 9874
        * config/tc-ia64.c (fix_insn): Fix warning reported by
        -Wformat-security.

15 years ago * po/sk.po: Updated Slovak translation.
nickc [Mon, 2 Mar 2009 14:42:46 +0000 (14:42 +0000)]
    * po/sk.po: Updated Slovak translation.

15 years ago * utils.sgml: Set example prompt to "$" throughout. Don't use "/"
corinna [Mon, 2 Mar 2009 10:56:19 +0000 (10:56 +0000)]
* utils.sgml: Set example prompt to "$" throughout.  Don't use "/"
as example cygdrive prefix.  Remove reference to -u and -s options.
Add an example using the -o flag.

15 years ago * mount.cc (mount_entries): Handle a "/" cygdrive prefix correctly.
corinna [Mon, 2 Mar 2009 10:47:03 +0000 (10:47 +0000)]
* mount.cc (mount_entries): Handle a "/" cygdrive prefix correctly.
Add comments.

15 years agoAdd support for Score7 architecture.
nickc [Mon, 2 Mar 2009 10:33:05 +0000 (10:33 +0000)]
Add support for Score7 architecture.

15 years ago * symtab.c: Remove trailing whitespace throughout the file.
devans [Mon, 2 Mar 2009 06:33:24 +0000 (06:33 +0000)]
* symtab.c: Remove trailing whitespace throughout the file.
(expand_line_sal): Fix some typos and whitespace.

15 years agoelfcpp:/
ian [Mon, 2 Mar 2009 02:45:28 +0000 (02:45 +0000)]
elfcpp:/
* elfcpp_swap.h: #include "config.h".  Only #include <byteswap.h>
if HAVE_BYTESWAP_H is defined; if not, provide definitions for
bswap_{16,32,64}.  For gcc 4.3 and later, use the builtin bswap
functions.  Check WORDS_BIGENDIAN rather than __BYTE_ORDER.
gold:/
* configure.ac: Check for byteswap.h.
* configure: Rebuild.
* config.in: Rebuild.

15 years ago * Makefile.in (clean): rm -f $(DEPDIR)/*.
devans [Mon, 2 Mar 2009 01:27:34 +0000 (01:27 +0000)]
* Makefile.in (clean): rm -f $(DEPDIR)/*.

15 years ago * Makefile.in (GDB_CFLAGS): Add -I$(srcdir)/common.
devans [Mon, 2 Mar 2009 00:45:12 +0000 (00:45 +0000)]
* Makefile.in (GDB_CFLAGS): Add -I$(srcdir)/common.
(init.c): signals/ -> common/.
(signals.o): Update.
* target.h (target_signal_to_string,target_signal_to_string)
(target_signal_from_name,target_signal_to_host_p)
(target_signal_from_host,target_signal_to_host): Move to ...
* common/gdb_signals.h: ... here.  New file.
* common/signals.c: Moved here from signals/signals.c.
#include gdb_signals.h, remove #include of target.h in gdb case.
(target_signal_from_command,default_target_signal_to_host)
(default_target_signal_from_host): Move inside #ifndef GDBSERVER.

* gdbserver/Makefile.in (INCLUDE_CFLAGS): Add -I$(srcdir)/../common.
(server_h): Add gdb_signals.h.
(signals.o): Update.
* server.h (target_signal_from_host,target_signal_to_host_p)
(target_signal_to_host,target_signal_to_name): Moved to gdb_signals.h.

15 years ago * config/tc-arm.c (md_assemble): Allow barrier instructions on
mmitchel [Mon, 2 Mar 2009 00:29:23 +0000 (00:29 +0000)]
* config/tc-arm.c (md_assemble): Allow barrier instructions on
ARMv6-M cores.

* gas/arm/archv6m.s: Add dmb, dsb, and isb.
* gas/arm/archv6m.d: Likewise.

15 years agodaily update
amodra [Mon, 2 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update