OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
19 years ago* hppabsd-nat.c: Update copyright year. Include "target.h" and
kettenis [Sun, 17 Apr 2005 22:20:14 +0000 (22:20 +0000)]
* hppabsd-nat.c: Update copyright year.  Include "target.h" and
"inf-ptrace.h".
(hppabsd_fetch_registers): Renamed from fetch_inferior_registers;
made static.
(hppabsd_store_registers): Renamed from store_inferior_registers;
made static.
(_initialize_hppabsd_nat): New function and prototype.
* config/pa/obsd.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o.
(NAT_FILE): Remove.
* Makefile.in (hppabsd-nat.o): Update dependencies.

19 years ago2005-04-17 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 17 Apr 2005 14:33:06 +0000 (14:33 +0000)]
2005-04-17  H.J. Lu  <hongjiu.lu@intel.com>

* objdump.c (dump_section_header): Support SEC_GROUP.

19 years ago* som.c (hppa_som_reloc, som_mkobject, som_is_space)
kettenis [Sun, 17 Apr 2005 12:45:27 +0000 (12:45 +0000)]
* som.c (hppa_som_reloc, som_mkobject, som_is_space)
(som_is_subspace, compare_subspaces, som_compute_checksum)
(som_build_and_write_symbol_table, som_slurp_symbol_table): New
protoypes.
(hppa_som_reloc, compare_syms, compare_subspaces)
(som_print_symbol, som_get_section_contents)
(som_set_section_contents): Remove space after 'void *'.
(som_bfd_print_private_bfd_data): Use %lx to print longs.
(som_bfd_merge_private_bfd_data)
(som_bfd_copy_private_header_data, som_bfd_set_private_flags): New
defines.

19 years ago* pa64solib.c, pa64solib.h: Remove files.
kettenis [Sun, 17 Apr 2005 10:24:14 +0000 (10:24 +0000)]
* pa64solib.c, pa64solib.h: Remove files.
* Makefile.in (pa64solib_h): Remove variable
(pa64solib.o): Remove dependency.

19 years ago* pa64solib.c, pa64solib.h: Remove files.
kettenis [Sun, 17 Apr 2005 10:24:05 +0000 (10:24 +0000)]
* pa64solib.c, pa64solib.h: Remove files.
* Makefile.in (pa64solib_h): Remove variable
(pa64solib.o): Remove dependency.

19 years agoActually check in files.
cgf [Sun, 17 Apr 2005 00:12:13 +0000 (00:12 +0000)]
Actually check in files.

19 years agodaily update
amodra [Sun, 17 Apr 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sun, 17 Apr 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* ppcobsd-nat.c: Update copyright year. Include "inf-ptrace.h".
kettenis [Sat, 16 Apr 2005 22:12:03 +0000 (22:12 +0000)]
* ppcobsd-nat.c: Update copyright year.  Include "inf-ptrace.h".
(ppcobsd_fetch_registers): Renamed from fetch_inferior_registers;
made static.
(ppcobsd_store_registers): Renamed from store_inferior_registers;
made static.
(_initialize_ppcobsd_nat): Construct and add target vector.
* config/powerpc/obsd.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o.
(NAT_FILE): Remove.
* Makefile.in (ppcobsd-nat.o): Update dependencies.

19 years agomerge from gcc
dj [Sat, 16 Apr 2005 21:49:05 +0000 (21:49 +0000)]
merge from gcc

19 years ago* ppcobsd-tdep.c: Include "floatformat.h".
kettenis [Sat, 16 Apr 2005 21:37:02 +0000 (21:37 +0000)]
* ppcobsd-tdep.c: Include "floatformat.h".
(ppcobsd_init_abi): Set long_double_bit and long_double_format.
* Makefile.in (ppcobsd-tdep.o): Update dependencies.

19 years ago* ppcobsd-tdep.c: Include "floatformat.h".
kettenis [Sat, 16 Apr 2005 21:34:51 +0000 (21:34 +0000)]
* ppcobsd-tdep.c: Include "floatformat.h".
(ppcobsd_init_abi): Set long_double_bit and long_double_format.
* Makefile.in (ppcobsd-tdep.o): Update dependencies.

19 years ago* ppcobsd-tdep.c: Fix typo in comment.
kettenis [Sat, 16 Apr 2005 21:08:18 +0000 (21:08 +0000)]
* ppcobsd-tdep.c: Fix typo in comment.
(_initialize_ppcobsd_tdep): Register GDB_OSABI_OPENBSD_ELF for
bfd_arch_rs6000 too.

19 years ago(Mode Options): Fix typo.
nickrob [Sat, 16 Apr 2005 20:56:20 +0000 (20:56 +0000)]
(Mode Options): Fix typo.
(GDB/MI): Describe how to invoke GDB/MI.

19 years ago*** empty log message ***
nickrob [Sat, 16 Apr 2005 20:54:31 +0000 (20:54 +0000)]
*** empty log message ***

19 years ago * fhandler_disk_file.cc (fhandler_base::utimes_fs): Ignore
corinna [Sat, 16 Apr 2005 17:17:32 +0000 (17:17 +0000)]
* fhandler_disk_file.cc (fhandler_base::utimes_fs): Ignore
ERROR_NOT_SUPPORTED to workaround Win9x weirdness.
* path.cc (symlink_info::check): Remap ERROR_INVALID_FUNTION to
ERROR_FILE_NOT_FOUND for the same reason.

19 years ago * security.h (cygsidlist::addfromgr): Allow duplicate entries.
corinna [Sat, 16 Apr 2005 15:21:43 +0000 (15:21 +0000)]
* security.h (cygsidlist::addfromgr): Allow duplicate entries.
(get_server_groups): Declare new function.
* security.cc (is_group_member): Simplify.
(get_server_groups): New function.
(get_initgroups_sidlist): Call get_server_groups.
(verify_token): Allow token when supplementary sids are not in
/etc/group but are in the token.
Streamline the code.
* grp.cc (initgroups32): New implementation.
(getgroups32): Handle case where the supplementary groups are set.

19 years ago (Debugging Output): Document "set/show debug
eliz [Sat, 16 Apr 2005 14:27:50 +0000 (14:27 +0000)]
(Debugging Output): Document "set/show debug
solib-frv".  Fix "set/show debugvarobj".
(Set Breaks): Add index entry for "hardware breakpoints".
(Renesas ICE): Document "e7000", "ftplogin", "ftpload", "drain",
and "set/show usehardbreakpoints".
(MIPS Embedded): Document "se/show syn-garbage-limit", "set/show
monitor-prompt", "set/show monitor-warnings", "pmon".
(ARM): Document "rdilogfile", "rdilogenable", "set/show
rdiromatzero", "set/show rdiheartbeat".
(PowerPC): Document SDS-specific commands "set/show sdstimeout",
"sds".
(Embedded Processors): Document the "sim" command.
(Remote): Document the "remote" command.
(DJGPP Native): Document the "info serial" command.
(Threads): Document "maint info sol-threads".
(Files): Document "nosharedlibrary", "add-symbol-file-from-memory".
(Set Breaks): Improve indexing.
(Command Syntax): Add a reference to dont-repeat.
(Define): Document "dont-repeat".
(TUI Commands): Document "tabset".
(WinCE): New subsection.  Document "set/show remotedirectory",
"set/show remoteupload", "set/show remoteaddhost".

19 years ago * cygwinenv.sgml: Add new words for (no)traverse option.
corinna [Sat, 16 Apr 2005 13:16:25 +0000 (13:16 +0000)]
* cygwinenv.sgml: Add new words for (no)traverse option.

19 years ago * environ.cc (environ_init): Don't set traverse checking as default.
corinna [Sat, 16 Apr 2005 13:11:38 +0000 (13:11 +0000)]
* environ.cc (environ_init): Don't set traverse checking as default.

19 years ago * fhandler_disk_file.cc (fhandler_base::utimes_fs): Drop touching
corinna [Sat, 16 Apr 2005 12:53:47 +0000 (12:53 +0000)]
* fhandler_disk_file.cc (fhandler_base::utimes_fs): Drop touching
ChangeTime.

19 years ago (M32R/D): Document "sdireset", "sdistatus", "debug_chaos",
eliz [Sat, 16 Apr 2005 12:03:29 +0000 (12:03 +0000)]
(M32R/D): Document "sdireset", "sdistatus", "debug_chaos",
"use_debug_dma",
"use_mon_code", "use_ib_break", "use_dbt_break".
(Debugging Output): Improve wording.
(Set Breaks): Add index entry for "hardware breakpoints".
(Renesas ICE): Document "e7000", "ftplogin", "ftpload", "drain",
and "set/show usehardbreakpoints".
(MIPS Embedded): Document "se/show syn-garbage-limit", "set/show
monitor-prompt", "set/show monitor-warnings", "pmon".

19 years agoFix typos.
eliz [Sat, 16 Apr 2005 09:14:28 +0000 (09:14 +0000)]
Fix typos.

19 years ago * gdb.texinfo (OS Information): Renamed from Auxiliary Vector; all
eliz [Sat, 16 Apr 2005 08:44:33 +0000 (08:44 +0000)]
* gdb.texinfo (OS Information): Renamed from Auxiliary Vector; all
references changed.  Add descriptgion of "info udot".
(Files): Document "set/show stop-on-solib-events".
(M32R/D): Document "set/show download-path", "set/show
board-address", "set/show server-address", "upload", "tload".
(Maintenance Commands): Improve indexing.
(Target Commands): Document "set/show hash", "set/show debug
monitor".
(SVR4 Process Information): Document "info pidlist" and "info
meminfo".  Document "set/show procfs-tarce" and "set/show
procfs-file".  Document "proc-trace-*" and "proc-untrace-*".
(Symbols, The Print Command with Objective-C): Improve indexing.
(Objective-C): Add references to "info classes" and "info
selectors".
(Debugging Output): Improve wording.

19 years ago(debug_apply_rela_addends): Remove redundant %s from printf string.
nickc [Sat, 16 Apr 2005 07:43:54 +0000 (07:43 +0000)]
(debug_apply_rela_addends): Remove redundant %s from printf string.

19 years ago* fhandler.cc (fhandler::dup): Duplicate flags, too.
cgf [Sat, 16 Apr 2005 05:19:55 +0000 (05:19 +0000)]
* fhandler.cc (fhandler::dup): Duplicate flags, too.
* fhandler.h (fhandler_fifo::owner): Eliminate.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Handle on-disk devices
better.
(fhandler_base::fstat_helper): Ditto.
* fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Don't initialize obsolete
"owner".
(fhandler_fifo::open_not_mine): Add some debugging.  Duplicate correct handle
when we own it.
(fhandler_fifo::open): Set flags from input, not from first pipe.  Flag that
fork fixup is needed.
(fhandler_fifo::dup): Set errno correctly when DuplicateHandle fails.
* pinfo.cc (commune_send): Add debugging for fifo.
* cygwin/version.h: Bump API minor version to 127 to reflect exporting of
sigrelese.

19 years agomerge from gcc
dj [Sat, 16 Apr 2005 01:05:04 +0000 (01:05 +0000)]
merge from gcc

19 years ago*** empty log message ***
gdbadmin [Sat, 16 Apr 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Sat, 16 Apr 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years agoDelete unused variables.
kevinb [Fri, 15 Apr 2005 21:16:09 +0000 (21:16 +0000)]
Delete unused variables.

19 years ago * remote.c (remote_get_thread_local_address): Throw a more
kevinb [Fri, 15 Apr 2005 20:55:50 +0000 (20:55 +0000)]
* remote.c (remote_get_thread_local_address): Throw a more
meaningful exception when remote target doesn't have support
for the qGetTLSAddr packet.

19 years agoAdd remote TLS support.
kevinb [Fri, 15 Apr 2005 19:58:56 +0000 (19:58 +0000)]
Add remote TLS support.

19 years ago* config/tc-mips.c (normalize_constant_expr): Fix formatting.
macro [Fri, 15 Apr 2005 19:16:42 +0000 (19:16 +0000)]
* config/tc-mips.c (normalize_constant_expr): Fix formatting.

19 years ago * remote.c (add_packet_config_cmd): Delete unused variables.
kevinb [Fri, 15 Apr 2005 17:44:49 +0000 (17:44 +0000)]
* remote.c (add_packet_config_cmd): Delete unused variables.

19 years agoEliminate calls to deprecated_show_value_hack(). This also eliminates the
kevinb [Fri, 15 Apr 2005 17:13:18 +0000 (17:13 +0000)]
Eliminate calls to deprecated_show_value_hack().  This also eliminates the
printing of redundant information.

19 years ago (MIPS): Improve documentation of heuristic-fence-post. Document
eliz [Fri, 15 Apr 2005 16:43:50 +0000 (16:43 +0000)]
(MIPS): Improve documentation of heuristic-fence-post.  Document
"set/show mips abi", "set/show mips saved-gpreg-size", "set/show
mips stack-arg-size", "set/show mips mask-address", "set/show mips
remote-mips64-transfers-32bit-regs", "set/show debug mips".
(ARM): Document ARM-specific commands.
(AVR): New section.  Document "info io_registers".
(CRIS): New section.  Document "set/show cris-version" and
"set/show cris-dwarf2-cfi".
(HPPA): New section.  Document "set/show debug hppa" and "maint
print unwind".
(Netrino): New subsection.  Document "set/show debug nto-debug".
(Super-H): New section.  Document the "regs" command.

19 years ago * bfd/bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.
jules [Fri, 15 Apr 2005 16:37:45 +0000 (16:37 +0000)]
* bfd/bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.
* bfd/bfd-in2.h: Regenerate.
* bfd/elf32-arm.c (elf32_arm_link_hash_table): New field, 'use_blx'.
(elf32_arm_link_hash_table_create): Initialise fix_v4bx, use_blx.
(bfd_elf32_arm_set_target_relocs): Handle use_blx.
(elf32_arm_final_link_relocate): Use Thumb BLX for R_ARM_THM_PC22
relocations if requested to.
(allocate_dynrelocs): Don't count size of omitted Thumb stubs based on
use_blx rather than symbian_p.
(elf32_arm_finish_dynamic_symbol): Don't output Thumb PLT stubs if
use_blx is in effect.
(elf32_arm_symbian_link_hash_table_create): Enable use_blx by default
for SymbianOS.
* ld/ld.texinfo: Document --use-blx.
* ld/emultempl/armelf.em (use_blx): New variable.
(arm_elf_create_output_section_statements): Communicate value of
use_blx to bfd.
(PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX.
(PARSE_AND_LIST_OPTIONS): Add --use-blx option.
(PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case.

19 years agoIssue an error message when attmepting to copy an empty input file.
nickc [Fri, 15 Apr 2005 16:28:51 +0000 (16:28 +0000)]
Issue an error message when attmepting to copy an empty input file.

19 years ago * gdb.texinfo (ARM): Document ARM-specific commands.
eliz [Fri, 15 Apr 2005 12:37:55 +0000 (12:37 +0000)]
* gdb.texinfo (ARM): Document ARM-specific commands.

19 years ago *gdb.texinfo (Debugging Output): Document "set/show debug lin-lwp".
eliz [Fri, 15 Apr 2005 12:09:46 +0000 (12:09 +0000)]
*gdb.texinfo (Debugging Output): Document "set/show debug lin-lwp".

19 years ago * gdb.texinfo (Hurd Native): New subsection, documents
eliz [Fri, 15 Apr 2005 11:53:50 +0000 (11:53 +0000)]
* gdb.texinfo (Hurd Native): New subsection, documents
Hurd-specific commands.

19 years agoUse fprintf_vma to print vma values.
nickc [Fri, 15 Apr 2005 11:47:46 +0000 (11:47 +0000)]
Use fprintf_vma to print vma values.

19 years agogas/
jbeulich [Fri, 15 Apr 2005 11:38:57 +0000 (11:38 +0000)]
gas/
2005-04-15  Jan Beulich  <jbeulich@novell.com>

* config/obj-elf.c (obj_elf_struct): New.
(elf_pseudo_table). Use it for .offset and .struct.

gas/testsuite/
2005-04-15  Jan Beulich  <jbeulich@novell.com>

* gas/elf/struct.[sd]: New.
* gas/elf/elf.exp: Run new test.

19 years agogas/
jbeulich [Fri, 15 Apr 2005 11:38:45 +0000 (11:38 +0000)]
gas/
2005-04-15  Jan Beulich  <jbeulich@novell.com>

* config/obj-elf.c (obj_elf_struct): New.
(elf_pseudo_table). Use it for .offset and .struct.

gas/testsuite/
2005-04-15  Jan Beulich  <jbeulich@novell.com>

* gas/elf/struct.[sd]: New.
* gas/elf/elf.exp: Run new test.

19 years ago * syscalls.cc (setuid32): Correct debugging output.
corinna [Fri, 15 Apr 2005 08:19:02 +0000 (08:19 +0000)]
* syscalls.cc (setuid32): Correct debugging output.

19 years ago * configure.ac: Add explicit sh64 case.
corinna [Fri, 15 Apr 2005 08:15:47 +0000 (08:15 +0000)]
* configure.ac: Add explicit sh64 case.
* configure: Regenerate.
* sh64/configure.ac: New file.
* sh64/configure.in: Remove.
* sh64/configure: Regenerate.
* sh64/defs-media.h (sem_fields): Add missing sfmt_ldhil member.
* sh64/sim-if.c (sim_open): Use struct bfd instead of struct _bfd.
(sim_create_inferior): Ditto.

19 years ago * MAINTAINERS: Change sh64-elf state to non-broken.
corinna [Fri, 15 Apr 2005 08:01:07 +0000 (08:01 +0000)]
* MAINTAINERS: Change sh64-elf state to non-broken.
* Makefile.in: Fix dependencies for sh64-tdep.o.
* configure.tgt: Add sh64-*-elf case.
* sh-tdep.c (sh_gdbarch_init): Reactivate bfd_mach_sh5 case.
* sh64-tdep.c: Rework to replace all deprecated mechanisms with
modern methods.
* config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o.
* config/sh/sh64.mt: Resurrect.

19 years ago * gas/all/assign.s: New.
amodra [Fri, 15 Apr 2005 06:06:41 +0000 (06:06 +0000)]
* gas/all/assign.s: New.
* gas/all/assign.d: New.
* gas/all/gas.exp: Run it.

19 years ago * ld-d10v/default_layout.d: Update for unused section removal.
amodra [Fri, 15 Apr 2005 06:02:54 +0000 (06:02 +0000)]
* ld-d10v/default_layout.d: Update for unused section removal.

19 years agoInclude Sterling Augustine as author of previous change.
bwilson [Fri, 15 Apr 2005 04:19:46 +0000 (04:19 +0000)]
Include Sterling Augustine as author of previous change.

19 years ago * config/tc-xtensa.c (get_aligned_diff): Handle target_size larger
bwilson [Fri, 15 Apr 2005 04:15:01 +0000 (04:15 +0000)]
    * config/tc-xtensa.c (get_aligned_diff): Handle target_size larger
        than the section alignment.

19 years ago PR ld/815
amodra [Fri, 15 Apr 2005 03:42:45 +0000 (03:42 +0000)]
PR ld/815
* elflink.c (elf_smash_syms): Clear undef.next if it's not being
used as a list pointer.

19 years ago2005-04-15 Kei Sakamoto <sakamoto.kei@renesas.com>
ksakamot [Fri, 15 Apr 2005 00:28:02 +0000 (00:28 +0000)]
2005-04-15  Kei Sakamoto <sakamoto.kei@renesas.com>

* regformats/reg-m32r.dat: New file.

19 years ago2005-04-15 Ke Sakamoto <sakamoto.kei@renesas.com>
ksakamot [Fri, 15 Apr 2005 00:24:51 +0000 (00:24 +0000)]
2005-04-15    Ke Sakamoto  <sakamoto.kei@renesas.com>

* Makefile.in: Add linux-m32r-low.o, reg-m32r.c and reg-m32r.o.
* configure.srv: Add m32r*-*-linux*.
* linux-m32r-low.c: New file.

19 years ago*** empty log message ***
gdbadmin [Fri, 15 Apr 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Fri, 15 Apr 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago * config/tc-xtensa.h (struct xtensa_frag_type): Add lit_frchain field.
bwilson [Thu, 14 Apr 2005 22:38:48 +0000 (22:38 +0000)]
* config/tc-xtensa.h (struct xtensa_frag_type): Add lit_frchain field.
* config/tc-xtensa.c (xg_translate_sysreg_op,
xtensa_translate_old_userregs_ops,
xtensa_find_unaligned_branch_targets,
xtensa_find_unaligned_loops, xtensa_fix_close_loop_end_frags,
relax_frag_add_nop): Support 64-bit host.
(xtensa_mark_literal_pool_location, xtensa_move_literals): Use
tc_frag_data lit_frchain and lit_seg fields instead of fr_var.

19 years ago* gencode.c (tab): Avoid inserting code before variables all declared.
jlarmour [Thu, 14 Apr 2005 20:16:06 +0000 (20:16 +0000)]
* gencode.c (tab): Avoid inserting code before variables all declared.

19 years ago * lib/gdb.exp (gdb_compile): Handle shlib=.
drow [Thu, 14 Apr 2005 19:06:18 +0000 (19:06 +0000)]
* lib/gdb.exp (gdb_compile): Handle shlib=.
(gdb_compile_shlib): New function.

19 years ago* configure.tgt: Add support for OpenBSD/sparc ELF.
kettenis [Thu, 14 Apr 2005 18:49:03 +0000 (18:49 +0000)]
* configure.tgt: Add support for OpenBSD/sparc ELF.

19 years ago * arm-tdep.c (fp_model_strings): Add terminating NULL.
drow [Thu, 14 Apr 2005 18:40:21 +0000 (18:40 +0000)]
* arm-tdep.c (fp_model_strings): Add terminating NULL.
(arm_abi_strings, arm_abi_global, arm_abi_string): New
variables.
(arm_extract_return_value, arm_store_return_value): Don't use
arm_get_fp_model.
(arm_get_fp_model, arm_set_fp): Delete.
(arm_update_current_architecture): New function.
(set_fp_model_sfunc): Call arm_update_current_architecture.
(show_fp_model): Update output messages.
(arm_set_abi, arm_show_abi): New functions.
(arm_elf_osabi_sniffer): Only handle ELFOSABI_ARM.
(arm_gdbarch_init): Infer the object's ABI separately from its
OSABI.  Search for a matching architecture.  Honor the global
ABI and FPU settings.  Set floating point format based on the
architecture.
(arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs):
Delete.
(_initialize_arm_tdep): Don't call gdbarch_register_osabi.
Create "arm set abi" command.
* arm-tdep.h (arm_get_fp_model): Delete prototype.
(enum arm_abi_kind): New type.
(struct gdbarch_tdep): Add arm_abi field.
* arm-linux-tdep.c (arm_linux_init_abi): Only override
tdep->fp_model if it is ARM_FLOAT_AUTO.
* armnbsd-tdep.c (arm_netbsd_aout_init_abi): Likewise.
(arm_netbsd_elf_init_abi): Likewise.
* defs.h (enum gdb_osabi): Delete ARM-specific OSABIs.
* osabi.c (gdb_osabi_name): Likewise.

19 years ago* dcrt0.cc (do_global_dtors): Run DLL dtors.
cgf [Thu, 14 Apr 2005 17:34:02 +0000 (17:34 +0000)]
* dcrt0.cc (do_global_dtors): Run DLL dtors.
(__main): Don't rely on atexit to run dtors.
(do_exit): Specifically call do_global_dtors here.
(cygwin_exit): Ditto.
* dll_init.cc (dll_global_dtors): Make global.  Only run dtors once.
(dll_list::init): Just set flag that dtors should be run.  Don't rely on
atexit.
* dll_init.h (dll_global_dtors): Declare.
* exceptions.cc (sigrelse): Define.
* path.h (is_fs_device): New method.
(is_lnk_special): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::link): Use "is_lnk_special" rather
than "is_lnk_symlink".
* syscalls.cc (rename): Ditto.
* hookapi.cc (ld_preload): Use colon as a separator rather than space.

19 years ago.
cgf [Thu, 14 Apr 2005 17:08:02 +0000 (17:08 +0000)]
.

19 years ago* configure.tgt: Set emulation for mips-*-openbsd*.
kettenis [Thu, 14 Apr 2005 16:55:46 +0000 (16:55 +0000)]
* configure.tgt: Set emulation for mips-*-openbsd*.
Remove broken mips-dec-openbsd* config.
* configure.in: Set default ABI for mips64-*-openbsd*.
* configure: Regenerate.

19 years ago* config/tc-mips.c (macro) [ldd_std]: Don't attempt the GP
macro [Thu, 14 Apr 2005 15:32:57 +0000 (15:32 +0000)]
* config/tc-mips.c (macro) [ldd_std]: Don't attempt the GP
optimization for constant addresses.

19 years ago * corefile.c (core_init): Call bfd_get_synthetic_symtab.
amodra [Thu, 14 Apr 2005 10:33:55 +0000 (10:33 +0000)]
* corefile.c (core_init): Call bfd_get_synthetic_symtab.

19 years ago* po/fi.po: New translation: Finnish.
nickc [Thu, 14 Apr 2005 09:48:19 +0000 (09:48 +0000)]
* po/fi.po: New translation: Finnish.
* configure.in (ALL_LINGUAS): Add fi.
* configure: Regenerate.

19 years ago* as.c (main): Move parse_args before symbol_begin and frag_init so that the
nickc [Thu, 14 Apr 2005 09:00:33 +0000 (09:00 +0000)]
* as.c (main): Move parse_args before symbol_begin and frag_init so that the
  hash table size can be set before it is used.
* hash.c: Use an unsigned long type for the size of the hash tables.
* hash.h (set_gas_hash_table_size): Update the prototype.

19 years agobfd/
amodra [Thu, 14 Apr 2005 05:26:15 +0000 (05:26 +0000)]
bfd/
* Makefile.am (NO_WERROR): Define.
* warning.m4: New file
* acinclude.m4: Include warning.m4.
* configure.in: Invoke AM_BINUTILS_WARNINGS.
* Makefile.in: Regenerate.
* configure: Regenerate.
bfd/doc/
* Makefile.in: Regenerate.
binutils/
* Makefile.am (NO_WERROR): Define.  Use instead of -Wno-error.
* configure.in: Include ../bfd/warning.m4 contents.
* Makefile.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
gas/
* Makefile.am (NO_WERROR): Define.  Use instead of -Wno-error.
* acinclude.m4: Include ../bfd/warning.m4.
* configure.in: Invoke AM_BINUTILS_WARNINGS.
* Makefile.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
gprof/
* Makefile.am (NO_WERROR): Define.
* acinclude.m4: Include ../bfd/warning.m4.
* configure.in: Invoke AM_BINUTILS_WARNINGS.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
ld/
* Makefile.am (NO_WERROR): Define.  Use instead of -Wno-error.
* configure.in: Include ../bfd/warning.m4 contents.
* Makefile.in: Regenerate.
* configure: Regenerate.
opcodes/
* Makefile.am (NO_WERROR): Define.
* configure.in: Invoke AM_BINUTILS_WARNINGS.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.

19 years agobfd/
amodra [Thu, 14 Apr 2005 05:26:05 +0000 (05:26 +0000)]
bfd/
* Makefile.am (NO_WERROR): Define.
* warning.m4: New file
* acinclude.m4: Include warning.m4.
* configure.in: Invoke AM_BINUTILS_WARNINGS.
* Makefile.in: Regenerate.
* configure: Regenerate.
bfd/doc/
* Makefile.in: Regenerate.
binutils/
* Makefile.am (NO_WERROR): Define.  Use instead of -Wno-error.
* configure.in: Include ../bfd/warning.m4 contents.
* Makefile.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
gas/
* Makefile.am (NO_WERROR): Define.  Use instead of -Wno-error.
* acinclude.m4: Include ../bfd/warning.m4.
* configure.in: Invoke AM_BINUTILS_WARNINGS.
* Makefile.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
gprof/
* Makefile.am (NO_WERROR): Define.
* acinclude.m4: Include ../bfd/warning.m4.
* configure.in: Invoke AM_BINUTILS_WARNINGS.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
ld/
* Makefile.am (NO_WERROR): Define.  Use instead of -Wno-error.
* configure.in: Include ../bfd/warning.m4 contents.
* Makefile.in: Regenerate.
* configure: Regenerate.
opcodes/
* Makefile.am (NO_WERROR): Define.
* configure.in: Invoke AM_BINUTILS_WARNINGS.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.

19 years ago * merge.c (sec_merge_emit): Tidy. Check for bfd_zmalloc errors.
amodra [Thu, 14 Apr 2005 02:27:53 +0000 (02:27 +0000)]
* merge.c (sec_merge_emit): Tidy.  Check for bfd_zmalloc errors.
Write trailing padding.

19 years agomerge from gcc
dj [Thu, 14 Apr 2005 02:22:17 +0000 (02:22 +0000)]
merge from gcc

19 years agomerge from gcc
dj [Thu, 14 Apr 2005 02:22:04 +0000 (02:22 +0000)]
merge from gcc

19 years ago * merge.c (merge_strings): Round up section size for alignment.
amodra [Thu, 14 Apr 2005 00:27:15 +0000 (00:27 +0000)]
* merge.c (merge_strings): Round up section size for alignment.

19 years agodaily update
amodra [Thu, 14 Apr 2005 00:00:04 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Thu, 14 Apr 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-04-14 David S. Miller <davem@davemloft.net>
jakub [Wed, 13 Apr 2005 22:29:33 +0000 (22:29 +0000)]
2005-04-14  David S. Miller  <davem@davemloft.net>

bfd/
Add TLS support for 64-bit Sparc ELF.
*  elf64-sparc.c (sparc64_elf_dyn_relocs,
sparc64_elf_link_hash_entry, sparc64_elf_obj_tdata): New structs.
(GOT_UNKNOWN, GOT_NORMAL, GOT_TLD_GD, GOT_TLD_IE,
sparc64_elf_hash_entry, sparc64_elf_tdata,
sparc64_elf_local_got_tls_type): New defines.
(sparc64_elf_mkobject): New function.
(sparc64_elf_link_hash_table): Add members for dynamic linker
sections PLT, RELPLT, DYNBSS, and RELBSS.  Add tls_ldm_got
uion to track TLS GOT references.  Add sym_sec to cache
mappings from local sym to section.
(link_hash_newfunc): New function.
(sparc64_elf_bfd_link_hash_table_create): Rename to
sparc64_elf_link_hash_table_create for consistency.
Pass link_hash_newfunc to _bfd_elf_link_hash_table_init.
(sparc64_elf_create_dynamic_sections): Initialize new section
members of sparc64_elf_link_hash_table.  Only init srelbss
if not-shared.
(sparc64_elf_copy_indirect_symbol, sparc64_elf_tls_transition):
New functions.
(SPARC_NOP): Define.
(sparc64_elf_build_plt, sparc64_elf_plt_entry_offset,
sparc64_elf_plt_ptr_offset): Delete.
(sparc64_plt_entry_build): New function to build PLT entries
gradually instread of all at once at the end of linking.
(sparc64_elf_check_relocs): Delete dynobj, sgot, and srelgot
local vars.  Get them from sparc64_elf_hash_table instead.
Check early on if r_symndx is in bounds.  Handle TLS transitions.
Account for TLS GOT references and DF_STATIC_TLS, as needed.
For TLS relocs, record the tls_type in either
sparc64_elf_local_got_tls_type or sparc64_elf_hash_entry as
appropriate.  For R_SPARC_TLS_{GD,LDM}_CALL, emit a reference
to the __tls_get_addr symbol.  For PLT relocs, track references
via h->plt.refcount.  When R_SPARC_{PC10,PC22,PC_HH22,PC_HM10,
PC_LM22} and h not-NULL, set h->non_got_ref.  For global data
symbol references, count the number of relocations needed for
that symbol.  For default switch case, don't error, this lets
the TLS relocs not explicitly handled by this function get
accepted.
(sparc64_elf_gc_mark_hook, sparc64_gc_sweep_hook): New functions.
(sparc64_elf_adjust_dynamic_symbol): Remove dynobj local var, get
it from sparc64_elf_hash_table.  Store the real PLT offset
in h->plt.offset, and build PLT entries one at a time.  Also
get .dynbss section pointer from htab.
(allocate_dynrelocs, readonly_dynrelocs,
sparc64_omit_section_dynsym): New functions.
(sparc64_elf_omit_section_dynsym): Use these new functions as
helpers.
(dtpoff_base, tpoff): New functions.
(sparc64_elf_relocate_section): Kill dynobj, sgot, and splt
locals, get them from sparc64_elf_hash_table.  Handle TLS
relocations and refcounting in main relocation loop.
(sparc64_elf_finish_dynamic_symbol): Use
sparc64_elf_link_hash_table.  Build PLT entries as we see
them.  Handle TLS GOT relocations.
(sparc64_elf_finish_dynamic_sections): Get sgot and dynobj
from sparc64_elf_hash_table.  Initialize only PLT header
not all entries since we not build PLT entries one by one.
(elf_backend_copy_indirect_symbol, bfd_elf64_mkobject,
elf_backend_gc_mark_hook, elf_backend_gc_sweep_hook,
elf_backend_can_gc_sections, elf_backend_can_refcount): Define.
ld/testsuite/
* ld-selective/sel-dump.exp: Do not exclude sparc64-*.
* ld-selective/selective.exp: Likewise.
* ld-sparc/sparc.exp: Add {32,64}-bit prefix to test
names so we know which one is failing.  Run sparc64 TLS
tests on multi-arch sparc platforms.
* ld-sparc/tls64.sd, ld-sparc/tlssunbin64.dd,
ld-sparc/tlssunbin64.rd, ld/testsuite/ld-sparc/tlssunbin64.sd,
ld-sparc/tlssunbin64.td, ld-sparc/tlssunnopic64.dd,
ld-sparc/tlssunnopic64.rd, ld-sparc/tlssunnopic64.sd,
ld-sparc/tlssunpic64.dd, ld-sparc/tlssunpic64.rd,
ld-sparc/tlssunpic64.sd, ld-sparc/tlssunpic64.td): Update now
that sparc64 ELF does support TLS.

19 years agogas/:
macro [Wed, 13 Apr 2005 18:17:07 +0000 (18:17 +0000)]
gas/:
* config/tc-mips.c (IS_ZEXT_32BIT_NUM): New macro.
(normalize_address_expr): New function to sign-extend address
offsets that fit into 32 bits in 32-bit mode.
(macro_build_ldst_constoffset): Use normalize_address_expr()
instead of a handcoded sequence.
(load_register): Likewise.  Report oversized numbers in a useful
way.
(macro) [ld_st, ldd_std]: Reject all oversized offsets, not only
for constant addresses.  Report oversized numbers in a useful way.
(mips_ip): Use normalize_address_expr() for addresses.

gas/testsuite/:
* gas/mips/ldstla-32.s: Exclude offsets that are now meant to fail
and include more instructions/offsets that are meant to succeed.
Use $4 instead $3 to avoid register dependencies.
* gas/mips/ldstla-32.d: Update accordingly.
* gas/mips/ldstla-32-shared.d: Likewise.
* gas/mips/ldstla-32-mips3.d: New test based on the above, except
for mips3.
* gas/mips/ldstla-32-mips3-shared.d: Similarly, for PIC.
* gas/mips/ldstla-32-mips3.s: Source for the new tests.
* gas/mips/ldstla-32-1.s: New test for offsets that are meant to
fail.
* gas/mips/ldstla-32-mips3-1.s: Likewise, for mips3.
* gas/mips/ldstla-32-1.l: Stderr output for the new test.
* gas/mips/ldstla-32-mips3-1.l: Likewise.
* gas/mips/mips.exp: Run the new tests.

19 years agoMove entries in ChangeLog-9103 to appropriate */ChangeLog-9103.
hjl [Wed, 13 Apr 2005 17:33:46 +0000 (17:33 +0000)]
Move entries in ChangeLog-9103 to appropriate */ChangeLog-9103.

19 years ago * fhandler.h (class fhandler_socket): Remove utimes.
corinna [Wed, 13 Apr 2005 17:13:41 +0000 (17:13 +0000)]
* fhandler.h (class fhandler_socket): Remove utimes.
* fhandler_socket.cc (fhandler_socket::utimes): Remove.

19 years agoMove entries to appropriate ChangeLog files.
hjl [Wed, 13 Apr 2005 16:53:24 +0000 (16:53 +0000)]
Move entries to appropriate ChangeLog files.

19 years agobfd/
hjl [Wed, 13 Apr 2005 16:43:59 +0000 (16:43 +0000)]
bfd/

2005-04-13  Daniel Jacobowitz  <dan@codesourcery.com>

* elflink.c (elf_link_input_bfd): Update check for removed
sections.

ld/testsuite/

2005-04-13  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/empty.d: New file.
* ld-elf/empty.s: Likewise.

19 years ago * cygerrno.h (__seterrno_from_nt_status): Define. Always set Win32
corinna [Wed, 13 Apr 2005 16:41:25 +0000 (16:41 +0000)]
* cygerrno.h (__seterrno_from_nt_status): Define. Always set Win32
error code as well as errno. Use throughout where errno is set from
NT status.
(set_errno): Evaluate val only once.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Fix typo in
debug output.
* fhandler_mem.cc (fhandler_dev_mem::open): Rely on
__seterrno_from_nt_status setting Win32 error code in debug output.
* fhandler_proc.cc (format_proc_uptime): Ditto.
(format_proc_stat): Ditto.
* fhandler_process.cc (format_process_stat): Ditto.
* sysconf.cc (sysconf): Ditto.

19 years ago* fhandler.h (fhandler_base::utimes_fs): New method.
cgf [Wed, 13 Apr 2005 16:17:32 +0000 (16:17 +0000)]
* fhandler.h (fhandler_base::utimes_fs): New method.
* fhandler.cc (fhandler_base::utimes): Call utimes_fs if on-disk special file.
* fhandler_disk_file.cc (fhandler_disk_file::utimes): Use utimes_fs.
(fhandler_base::utimes_fs): Handle on-disk device files.

19 years ago * fhandler_disk_file.cc (fhandler_disk_file::utimes): Don't set errno
corinna [Wed, 13 Apr 2005 11:07:42 +0000 (11:07 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::utimes): Don't set errno
if open fails, it has already been set by open.

19 years agomerge from gcc
dj [Wed, 13 Apr 2005 01:06:55 +0000 (01:06 +0000)]
merge from gcc

19 years agomerge from gcc
dj [Wed, 13 Apr 2005 01:05:22 +0000 (01:05 +0000)]
merge from gcc

19 years ago2005-04-12 Shaun Jackman <sjackman@gmail.com>
jjohnstn [Wed, 13 Apr 2005 00:01:40 +0000 (00:01 +0000)]
2005-04-12  Shaun Jackman  <sjackman@gmail.com>

        * libgloss/arm/Makefile.in (RDPMON_BSP): librdpmon.a was empty due
        to a typo. Fixed.
        (RDIMON_BSP): Ditto.

19 years ago*** empty log message ***
gdbadmin [Wed, 13 Apr 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Wed, 13 Apr 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
pgilliam [Tue, 12 Apr 2005 20:14:34 +0000 (20:14 +0000)]
2005-04-12  Paul Gilliam  <pgilliam@us.ibm.com>

        * lib/gdb.exp (test_compiler_info): Give argument a default value.

19 years ago2005-04-12 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 12 Apr 2005 19:35:52 +0000 (19:35 +0000)]
2005-04-12  Paul Brook  <paul@codesourcery.com>

* opcode/m88k.h: Rename psr macros to avoid conflicts.

19 years agoinclude/opcode/ChangeLog:
kettenis [Tue, 12 Apr 2005 17:12:30 +0000 (17:12 +0000)]
include/opcode/ChangeLog:
* i386.h (i386_optab): Mark VIA PadLock instructions as ImmExt and
adjust them accordingly.
gas/ChangeLog:
* config/tc-i386.c (output_insn): Handle VIA PadLock instructions
similar to other instructions now that they're marked as ImmExt.

19 years agomerge from gcc
dj [Tue, 12 Apr 2005 15:04:41 +0000 (15:04 +0000)]
merge from gcc

19 years ago * autoload.cc (NtQueryVolumeInformationFile): Add.
corinna [Tue, 12 Apr 2005 14:26:28 +0000 (14:26 +0000)]
* autoload.cc (NtQueryVolumeInformationFile): Add.
* fhandler.cc (fhandler_base::raw_write): Don't touch has_changed flag.
* fhandler.h (enum change_state): Remove.
(fhandler_base::status): Revert has_changed to a simple bit.
(fhandler_base::fstat_helper): Add nAllocSize parameter.  Rename
ftCreationTime to ftChangeTime.
* fhandler_disk_file.cc:
Call fstat_helper with additional
allocation size throughout.
(fhandler_base::fstat_by_handle): Use NT native functions to get
full file information on NT.  Call fstat_helper with LastWriteTime
as ctime, if ChangeTime is not available.
(fhandler_base::fstat_by_name): Call fstat_helper with LastWriteTime
as ctime.
(fhandler_base::fstat_helper): Add comment. Drop special FAT
handling since it's useless. Use nAllocSize for st_blocks if available.
(fhandler_disk_file::touch_ctime): Only touch LastWriteTime.
(fhandler_disk_file::fchmod): Set has_changed on 9x only.
(fhandler_disk_file::fchown): Don't set has_changed.
(fhandler_disk_file::facl): Ditto.
(fhandler_disk_file::ftruncate): Ditto.
(fhandler_disk_file::link): Set has_changed on 9x only and on original
file only.
(fhandler_base::open_fs): Don't set has_changed in O_TRUNC case.
* ntdll.h (FILE_BASIC_INFORMATION): Define.
(FILE_STANDARD_INFORMATION): Define.
(FILE_INTERNAL_INFORMATION): Define.
(FILE_EA_INFORMATION): Define.
(FILE_ACCESS_INFORMATION): Define.
(FILE_POSITION_INFORMATION): Define.
(FILE_MODE_INFORMATION): Define.
(FILE_ALIGNMENT_INFORMATION): Define.
(FILE_NAME_INFORMATION): Don't define with arbitrary FileName size.
(FILE_ALL_INFORMATION): Define.
(FILE_INFORMATION_CLASS): Add FileAllInformation.
(FILE_FS_VOLUME_INFORMATION): Define.
(FS_INFORMATION_CLASS): Define.
(NtQueryVolumeInformationFile): Define.

19 years ago* hash.c (DEFAULT_SIZE): Delete. Replace with:
nickc [Tue, 12 Apr 2005 08:42:37 +0000 (08:42 +0000)]
* hash.c (DEFAULT_SIZE): Delete.  Replace with:
  (gas_hash_table_size): New static variable.
  (set_gas_hash_table_size): New function:  Records a requested size for the hash tables.
  (get_gas_hash_table_size): New function: Return a prime number near the requested size of the hash table.
  (hash_new): Use get_gas_hash_table_size.
* hash.h: Add a prototype for set_gas_hash_table_size.
* as.c (show_usage): Add description of new switches: --hash-size and --reduce-memory-overheads.
  (option_values): Add OPTION_HASH_TABLE_SIZE and OPTION_REDUCE_MEMORY_OVERHEADS.
  (std_longpopts): Add entries for the new options.
  (parse_args): Handle the new options.
* Makefile.am: Add a dependency of as.c on hash.h.
* Makefile.in: Regenerate.
* doc/as.texinfo: Document the new switches.
* NEWS: Mention the new switches.

19 years agoPR gas/818
nickc [Tue, 12 Apr 2005 08:39:29 +0000 (08:39 +0000)]
PR gas/818
* config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3] synonyms.

19 years ago * mips/array.ld, mips/cfe.ld, mips/dve.ld, mips/idt32.ld,
rsandifo [Tue, 12 Apr 2005 08:06:39 +0000 (08:06 +0000)]
* mips/array.ld, mips/cfe.ld, mips/dve.ld, mips/idt32.ld,
* mips/idt64.ld, mips/idtecoff.ld, mips/idt.ld,
* mips/jmr3904app-java.ld, mips/jmr3904app.ld,
* mips/jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld,
* mips/nullmon.ld, mips/pmon.ld: Keep .init and .fini.

19 years agobfd/
amodra [Tue, 12 Apr 2005 02:50:22 +0000 (02:50 +0000)]
bfd/
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* libcoff.h: Regenerate.
bfd/doc/
* Makefile.in: Regenerate.
binutils/
* Makefile.am: Run "make dep-am".
(syslex.o, sysinfo.o, arparse.o, arlex.o): Add -Wno-error to command.
(sysroff.o, defparse.o, deflex.o): Likewise.
(nlmheader.o, rcparse.o, rclex.o): Likewise.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
gas/
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
ld/
* Makefile.am: Run "make dep-am".
(ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command.
* Makefile.in: Regenerate.
* config.in: Regenerate.

19 years ago*** empty log message ***
gdbadmin [Tue, 12 Apr 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***