OSDN Git Service
cagney [Sat, 14 May 2005 06:07:37 +0000 (06:07 +0000)]
2005-05-13 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (pseudo_register_read, pseudo_register_write)
(value_to_register, register_to_value, pointer_to_address)
(address_to_pointer, return_value, extract_return_value)
(store_return_value): Instead of a void pointer, use gdb_byte.
* gdbarch.h, gdbarch.c: Regenerate.
* inferior.h (unsigned_address_to_pointer)
(signed_pointer_to_address, address_to_signed_pointer)
(unsigned_pointer_to_address): Update.
* arch-utils.h (legacy_return_value):
* arch-utils.c (legacy_extract_return_value)
(legacy_return_value): Update.
* findvar.c (unsigned_pointer_to_address)
(signed_pointer_to_address, unsigned_address_to_pointer)
(address_to_signed_pointer): Update.
amodra [Sat, 14 May 2005 05:07:15 +0000 (05:07 +0000)]
include/elf/
* ppc.h (DT_PPC_GOT): Rename from DT_PPC_GLINK.
bfd/
* elf32-ppc.c (ppc_elf_size_dynamic_sections): Set DT_PPC_GOT,
not DT_PPC_GLINK.
(ppc_elf_finish_dynamic_sections): Likewise.
binutils/
* readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not
DT_PPC_GLINK.
fnf [Sat, 14 May 2005 01:38:14 +0000 (01:38 +0000)]
2005-05-13 Fred Fish <fnf@specifixinc.com>
* readelf.c: Fix a couple of obvious comment typos,
'debug_str' -> 'debug_ranges' and proecess' -> 'process'.
fnf [Sat, 14 May 2005 01:31:30 +0000 (01:31 +0000)]
Fix obvious typo in comment.
2005-05-13 Fred Fish <fnf@specifixinc.com>
* libbfd-in.h: Fix a comment typo, 'neaderst' -> 'nearest'
* libbfd.h: Rebuilt.
bwilson [Sat, 14 May 2005 00:26:01 +0000 (00:26 +0000)]
* elf32-xtensa.c (xtensa_get_property_section_name): Add missing
periods in linkonce_kind values.
amodra [Sat, 14 May 2005 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 14 May 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Fri, 13 May 2005 22:40:19 +0000 (22:40 +0000)]
really fix typo.
cgf [Fri, 13 May 2005 22:09:32 +0000 (22:09 +0000)]
fix typo
cgf [Fri, 13 May 2005 21:05:46 +0000 (21:05 +0000)]
* path.cc (normalize_posix_path): Do normalization on . and .. after a '//'.
corinna [Fri, 13 May 2005 21:01:32 +0000 (21:01 +0000)]
Add missing ChangeLog entry.
corinna [Fri, 13 May 2005 20:29:30 +0000 (20:29 +0000)]
* fhandler.h (fhandler_netdrive::readdir): Remove useless comment.
corinna [Fri, 13 May 2005 20:28:00 +0000 (20:28 +0000)]
* include/winnetwk.h (WNetGetResourceParentA): Add missing declaration.
(WNetGetResourceParentW): Ditto.
* include/ddk/ntifs.h (FILE_ID_FULL_DIRECTORY_INFORMATION): Define.
cgf [Fri, 13 May 2005 20:24:20 +0000 (20:24 +0000)]
* mount.cc (mount_commands): Display "-X" option when appropriate.
corinna [Fri, 13 May 2005 20:20:02 +0000 (20:20 +0000)]
* autoload.cc (WNetGetResourceParentA): Import.
(WNetOpenEnumA): Import.
(WNetEnumResourceA): Import.
(WNetCloseEnum): Import.
* fhandler.h (fhandler_netdrive::telldir): Add declaration.
(fhandler_netdrive::seekdir): Ditto.
(fhandler_netdrive::closedir): Ditto.
* fhandler_netdrive.cc: Drop explicit including windows.h. Include
winnetwk.h instead of shlwapi.h. Include dirent.h.
(fhandler_netdrive::readdir): Implement.
(fhandler_netdrive::telldir): New method.
(fhandler_netdrive::seekdir): New method.
(fhandler_netdrive::closedir): Ditto.
hjl [Fri, 13 May 2005 18:35:55 +0000 (18:35 +0000)]
2005-05-13 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (dump_ia64_unwind): Get stamp with proper size.
jimb [Fri, 13 May 2005 17:37:43 +0000 (17:37 +0000)]
Revert accidentally committed change.
jimb [Fri, 13 May 2005 17:36:42 +0000 (17:36 +0000)]
* gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
calling gdb_suppress_entire_file.
* gdb.base/charset.exp: Same.
* gdb.base/call-rt-st.exp: Same.
bwilson [Fri, 13 May 2005 17:35:14 +0000 (17:35 +0000)]
* config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify error
message.
(xtensa_mark_zcl_first_insns): Fix incorrect nesting of conditional
for handling RELAX_CHECK_ALIGN_NEXT_OPCODE.
cgf [Fri, 13 May 2005 15:46:02 +0000 (15:46 +0000)]
Remove PC_FULL from path_conv usage throughout.
* path.h (enum pathconv_arg): Change PC_FULL to PC_NOUILL.
* path.cc (path_conv::check): Test for PC_NOFULL rather than !PC_FULL.
(cygwin_conv_to_win32_path): Use PC_NOFULL to force non-absolute path.
orjanf [Fri, 13 May 2005 15:17:37 +0000 (15:17 +0000)]
2005-05-13 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (_initialize_cris_tdep): Improve help strings for
cris-version, cris-mode, and cris-dwarf2-cfi settings.
orjanf [Fri, 13 May 2005 15:17:22 +0000 (15:17 +0000)]
2005-05-13 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (_initialize_cris_tdep): Improve help strings for
cris-version, cris-mode, and cris-dwarf2-cfi settings.
cgf [Fri, 13 May 2005 13:23:35 +0000 (13:23 +0000)]
* fhandler_netdrive.cc (fhandler_netdrive::exists): Assert that "//" exists.
orjanf [Fri, 13 May 2005 12:26:54 +0000 (12:26 +0000)]
2005-05-13 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (usr_cmd_cris_version): Change type to int.
(cris_mode_normal, cris_mode_guru, cris_modes, usr_cmd_cris_mode): Add.
(struct gdbarch_tdep): Change type of cris_version to int. Add
cris_mode.
(cris_mode, set_cris_mode): New functions.
(crisv32_single_step_through_delay): Read from NRP register instead
of ERP register in guru mode.
(cris_breakpoint_from_pc): Rename break_insn to break8_insn.
Add break15_insn, returned in guru mode.
(_initialize_cris_tdep): Add call to add_setshow_enum_cmd for new
cris-mode setting.
(cris_dump_tdep): Add dump of cris_mode.
(cris_gdbarch_init): Add cris_mode to search criteria for architecture.
Register the sigtramp frame sniffer only if not in guru mode.
orjanf [Fri, 13 May 2005 12:26:44 +0000 (12:26 +0000)]
2005-05-13 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (usr_cmd_cris_version): Change type to int.
(cris_mode_normal, cris_mode_guru, cris_modes, usr_cmd_cris_mode): Add.
(struct gdbarch_tdep): Change type of cris_version to int. Add
cris_mode.
(cris_mode, set_cris_mode): New functions.
(crisv32_single_step_through_delay): Read from NRP register instead
of ERP register in guru mode.
(cris_breakpoint_from_pc): Rename break_insn to break8_insn.
Add break15_insn, returned in guru mode.
(_initialize_cris_tdep): Add call to add_setshow_enum_cmd for new
cris-mode setting.
(cris_dump_tdep): Add dump of cris_mode.
(cris_gdbarch_init): Add cris_mode to search criteria for architecture.
Register the sigtramp frame sniffer only if not in guru mode.
nickc [Fri, 13 May 2005 08:04:30 +0000 (08:04 +0000)]
Update the address and telephone number of the FSF organization
cgf [Fri, 13 May 2005 03:21:37 +0000 (03:21 +0000)]
* cygtls.cc (_cygtls::remove): Eliminate compiler warning.
* dir.cc (mkdir): Check path for writability.
(rmdir): Ditto. Remove check for special directories.
* path.cc (path_conv::check): Set PATH_RO for virtual devices. Set error if
read-only and asked for writability.
* path.h (pathconv_arg): Add PC_WRITABLE.
(path_types): Add PATH_RO.
(path_conv::isro): Add (currently unused) check for read-only filesystem.
Return "ENOSHARE" when we know a share doesn't exist.
* include/sys/mount.h: Add MOUNT_RO flag.
* autoload.cc (WNetGetResourceInformationA): Import.
* fhandler_netdrive.cc (fhandler_netdrive::exists): Detect actual existence of
remote system rather than always assuming that it exists.
amodra [Fri, 13 May 2005 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 13 May 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
jjohnstn [Thu, 12 May 2005 22:10:26 +0000 (22:10 +0000)]
2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
* configure.host (mn10300-*): Add long long I/O support by default.
jjohnstn [Thu, 12 May 2005 22:06:24 +0000 (22:06 +0000)]
2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/getpwuid.c: Removed.
* libc/sys/linux/getpwnam.c: Removed.
* libc/sys/linux/getpwent.c: New file containing logic
from files removed above. This allows overriding of file
in libc/unix.
* libc/sys/linux/Makefile.am: Support changes above.
* libc/sys/linux/Makefile.in: Regenerated.
eliz [Thu, 12 May 2005 21:38:38 +0000 (21:38 +0000)]
*** empty log message ***
kettenis [Thu, 12 May 2005 21:36:06 +0000 (21:36 +0000)]
* sol-thread.c: Include "solib.h".
(sol_thread_attach): Use solib_add instead of SOLIB_ADD.
* Makefile.in (sol-thread.o): Update dependencies.
eliz [Thu, 12 May 2005 21:23:17 +0000 (21:23 +0000)]
* Makefile.in (go32-nat.o): Add $(top_h) to prerequisites.
* go32-nat.c: Include top.h. Update copyright years.
(init_go32_ops): Override the default value of gdbinit[] with
"gdb.ini".
* cli/cli-cmds.c (init_cli_cmds): Use gdbinit[] instead of a
compile-time literal string GDBINIT_FILENAME.
* top.c (PATH_MAX): Define if not defined.
(gdbinit): Declare with a constant size PATH_MAX.
* config/i386/go32.mh (XM_FILE): Remove.
* config/i386/xm-go32.h: Remove file.
eliz [Thu, 12 May 2005 21:20:37 +0000 (21:20 +0000)]
* Makefile.in (go32-nat.o): Add $(top_h) to prerequisites.
* go32-nat.c: Include top.h. Update copyright years.
(init_go32_ops): Override the default value of gdbinit[] with
"gdb.ini".
* cli/cli-cmds.c (init_cli_cmds): Use gdbinit[] instead of a
compile-time literal string GDBINIT_FILENAME.
* top.c (PATH_MAX): Define if not defined.
(gdbinit): Declare with a constant size PATH_MAX.
* config/i386/go32.mh (XM_FILE): Remove.
* config/i386/xm-go32.h: Remove file.
kettenis [Thu, 12 May 2005 21:19:04 +0000 (21:19 +0000)]
* NEWS: Mention OpenBSD/mips64 as a new native configuration.
hjl [Thu, 12 May 2005 21:01:42 +0000 (21:01 +0000)]
2005-05-12 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_relocate_section): Allow R_386_GOTOFF
against protected function when building executable.
eliz [Thu, 12 May 2005 20:38:51 +0000 (20:38 +0000)]
* observer.sh (texi) [DJGPP]: If the file name includes a colon,
convert it to the /dev/x/ form.
kettenis [Thu, 12 May 2005 20:21:10 +0000 (20:21 +0000)]
* solib.h (CLEAR_SOLIB, SOLIB_ADD)
(SOLIB_CREATE_INFERIOR_HOOK, SOLIB_REMOVE_INFERIOR_HOOK)
(SOLIB_IN_DYNAMIC_LINKER, SOLIB_RESTART)
(DISABLE_UNSETTABLE_BREAK, PC_SOLIB)
(IN_SOLIB_DYNSYM_RESOLVE_CODE): Remove defines and orphaned
comments.
* breakpoint.c: Include "solib.h".
(insert_bp_location) [!DISABLE_UNSETTABLE_BREAK]: Call
solib_address.
(remove_solib_event_breakpoints, create_solib_event_breakpoint)
(disable_breakpoints_in_shlibs)
(disable_breakpoints_in_unloaded_shlib)
(re_enable_breakpoints_in_shlibs): Compile if SOLIB_ADD isn't
defined. If PC_SOLIB isn't defined, call solib_address.
(_initialize_breakpoint): Unconditionally install observer.
* corelow.c: Include "solib.h".
[SOLIB_ADD] (solib_add_stub): Remove prototype.
(core_close) [!CLEAR_SOLIB]: Call clear_solib.
(solib_add_stub) [!SOLIB_ADD] Call solib_add.
(core_open): Unconditionally call solib_add_stub.
* fork-child.c: Include "solib.h".
(fork_inferior) [!SOLIB_CREATE_INFERIOR_HOOK]: Call
solib_create_inferior_hook.
* infcmd.c: Include "solib.h".
(attach_command) [!SOLIB_ADD]: Call shlib_rescan. Unconditionally
call re_enable_breakpoints_in_shlibs.
* infrun.c: Include "solib.h".
(SOLIB_IN_SYNSYM_RESOLVE_CODE): Don't define if not already
defined.
(stop_on_solib_events, show_stop_on_solib_events): Include
unconditionally.
(follow_exec) [!SOLIB_CREATE_INFERIOR_HOOK]: Call
solib_create_inferior_hook.
(handle_inferior_event) [!SOLIB_ADD]: Call shlib_add.
[!IN_SOLIB_DYNSYM_RESOLVE_CODE]: Call in_solib_dynsym_resolve_code.
(_initialize_infrun): Unconditionally add "stop_on_solib-events"
command.
* remote.c: Include "solib.h".
(remote_open_1): Unconditionally call no_shared_libraries.
[!SOLIB_CREATE_INFERIOR_HOOK] Call solib_create_inferior_hook.
* stack.c: Include "solib.h".
(print_frame) [!PC_SOLIB] Call shlib_for_pc.
* xcoffsolib.c (no_shared_libraries): Remove function.
* Makefile.in (SFILES): Add solib.c.
(ALLDEPFILES): Remove solib.c.
(COMMON_OBS): Add solib.o.
(breakpoint.o, corelow.o, fork-chiled.o, infcmd.o, infrun.o)
(remote.o, stack.o): Update dependencies.
dj [Thu, 12 May 2005 20:00:32 +0000 (20:00 +0000)]
merge from gcc
dj [Thu, 12 May 2005 16:35:35 +0000 (16:35 +0000)]
PR bootstrap/21230
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add
double quotes around GCC variable.
brolley [Thu, 12 May 2005 16:11:20 +0000 (16:11 +0000)]
2005-05-12 Dave Brolley <brolley@redhat.com>
* compLoader.cxx (probe_address): New method of loader_probe_bus.
(loader_probe_bus::write): Call probe_address.
(handle_probe_pin): New method of generic_loader.
(generic_loader): Initialize probe_pin and add "probe" pin.
* sw-load-elf.xml: Describe the new pin.
* sw-load-elf.txt: Regenerated.
drow [Thu, 12 May 2005 16:01:02 +0000 (16:01 +0000)]
* cp-names.y: Renamed to ...
* cp-name-parser.y: ... this.
* Makefile.in (SFILES, YYFILES, YYOBJ): Rename cp-names.y to
cp-name-parser.y.
(test-cp-names.o): Renamed to test-cp-name-parser.o.
(test-cp-names): Renamed to test-cp-name-parser.
(clean, local-maintainer-clean): Update.
(cp-names.o): Renamed to cp-name-parser.o.
brolley [Thu, 12 May 2005 15:52:44 +0000 (15:52 +0000)]
2005-05-12 Dave Brolley <brolley@redhat.com>
* lib/cpudefs.exp (run-sid-tests-raw): Pass sid-opts to sid.
eliz [Thu, 12 May 2005 15:44:19 +0000 (15:44 +0000)]
* observer.sh: Use observer.tmp instead of observer.inc-tmp which
on 8+3 filesystems overwrites observer.inc. Update copyright year
of the resultant file.
eliz [Thu, 12 May 2005 15:28:31 +0000 (15:28 +0000)]
* gnu-v3-abi.c (init_gnuv3_ops): Cast is_gnu_v3_mangled_dtor and
is_gnu_v3_mangled_ctor to avoid compiler warnings.
amodra [Thu, 12 May 2005 15:24:49 +0000 (15:24 +0000)]
* elf32-ppc.c (LWZU_0_X_11): Delete.
(B, LWZ_11_X_11, LWZ_11_X_30, MTCTR_11): Define.
(ppc_elf_select_plt_layout): Set .got flags too. Formatting.
(ppc_elf_size_dynamic_sections): Allocate space for .glink branch
table.
(ppc_elf_finish_dynamic_symbol): Point .plt entries into the branch
table.
(ppc_elf_finish_dynamic_sections): Adjust DT_PPC_GLINK value.
Generate .glink branch table and updated stubs.
nickc [Thu, 12 May 2005 14:09:23 +0000 (14:09 +0000)]
Add missing \n character to end of warning message created by the previous delta
orjanf [Thu, 12 May 2005 12:14:22 +0000 (12:14 +0000)]
2005-05-12 Orjan Friberg <orjanf@axis.com>
* target.h (struct target_ops): Add insert_watchpoint,
remove_watchpoint, stopped_by_watchpoint, stopped_data_address function
pointers for hardware watchpoint support.
* linux-low.h (struct linux_target_ops): Ditto.
* linux-low.c (linux_insert_watchpoint, linux_remove_watchpoint)
(linux_stopped_by_watchpoint, linux_stopped_data_address): New. Add
to linux_target_ops.
* remote-utils.c (prepare_resume_reply): Add watchpoint information to
reply packet.
* server.c (main): Recognize 'Z' and 'z' packets.
eliz [Thu, 12 May 2005 09:05:42 +0000 (09:05 +0000)]
* gdb.texinfo (Startup): Fix last change. Treat gdb.ini like we
do with other non-standard names of init files.
nickc [Thu, 12 May 2005 09:05:35 +0000 (09:05 +0000)]
If pointer_size has not been found then assume that it is 4 in order to
prevent a seg fault when process_extend_line_op attempts to read the line
data.
eliz [Thu, 12 May 2005 08:42:11 +0000 (08:42 +0000)]
* config/djgpp/config.sed: Adapt to latest Autoconf.
* config/djgpp/djconfig.sh: Add -Wpointer-arith and
-Wuninitialized to the build warnings.
nickc [Thu, 12 May 2005 07:36:58 +0000 (07:36 +0000)]
Update the address of the FSF organization
nickc [Thu, 12 May 2005 07:32:02 +0000 (07:32 +0000)]
Update FSF addresses
ian [Thu, 12 May 2005 03:45:53 +0000 (03:45 +0000)]
2005-05-11 Eli Zaretskii <eliz@gnu.org>
* pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and
sys/stat.h.
(pex_init): Fix last argument to pex_init_common.
(pex_djgpp_exec_child): Remove leading underscore from _open,
_dup, _dup2, _close, and _spawnv/_spawnvp. Replace `program',
which is undeclared, with `executable', which was unused. Remove
unused variable `e'. Fix casting of last arg to spawnv/spawnvp.
(pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED.
bwilson [Thu, 12 May 2005 00:31:21 +0000 (00:31 +0000)]
* scripttempl/elfxtensa.sc: Sync up with elf.sc.
* emulparams/elf32xtensa.sh (PLT, GOT): Define.
amodra [Thu, 12 May 2005 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 12 May 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Wed, 11 May 2005 21:53:53 +0000 (21:53 +0000)]
* dcrt0.cc (do_global_dtors): Don't call dll_global_dtors here.
(__main): Reinstate atexit of do_global_dtors.
(cygwin_exit): Call dll_global_dtors here.
(do_exit): And here.
bwilson [Wed, 11 May 2005 20:52:43 +0000 (20:52 +0000)]
* ld-undefined/undefined.exp: xfail xtensa-*-*.
eliz [Wed, 11 May 2005 15:47:47 +0000 (15:47 +0000)]
* gdb.texinfo (Command Files): Move the description of the startup
from here...
(Startup): ...to this new subsection of the Invocation chapter.
Rearrange the description of init files more logically and add a
cross-reference to "Command Files". Document the special gdbinit
name for CISCO 68k. Expand the description of what GDB does
during startup.
(History): Add index entry for HISTSIZE.
amodra [Wed, 11 May 2005 14:10:57 +0000 (14:10 +0000)]
* readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK.
(get_dynamic_type): Call the above.
amodra [Wed, 11 May 2005 14:10:34 +0000 (14:10 +0000)]
* config/tc-ppc.c (md_apply_fix3): Allow pcrel forms of BFD_RELOC_16,
BFD_RELOC_LO16, BFD_RELOC_HI16 and BFD_RELOC_HI16_S.
amodra [Wed, 11 May 2005 14:10:08 +0000 (14:10 +0000)]
* ldgram.y: Add SPECIAL token.
(sect_constraint): Handle SPECIAL.
* ldlang.c (lang_output_section_find_1): Don't match SPECIAL.
(map_input_to_output_sections): Likewise.
* ldlex.l (SPECIAL): Define.
* emulparams/elf32ppc.sh (DATA_GOT, SDATA_GOT, SEPARATE_GOTPLT,
GOT, PLT, GOTPLT): Define.
* emultempl/ppc32elf.em (old_plt, old_got): New static vars.
(ppc_after_open): New function.
(PARSE_AND_LIST_PROLOGUE): Define OPTION_OLD_LPT and OPTION_OLD_GOT.
(PARSE_AND_LIST_LONGOPTS): Add "bss-plt" and "sdata-got".
(PARSE_AND_LIST_OPTIONS): Document them.
(PARSE_AND_LIST_ARGS_CASES): Handle them.
(LDEMUL_AFTER_OPEN): Define.
* scripttempl/elf.sc (PLT): Don't override existing define.
(DATA_GOT, SDATA_GOT): Define and use to enable alternate got
placement rather than using NO_SMALL_DATA. Emit GOTPLT for RELRO_NOW.
amodra [Wed, 11 May 2005 14:09:37 +0000 (14:09 +0000)]
* reloc.c (BFD_RELOC_HI16_PCREL): Define.
(BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL): Define.
* elf32-ppc.c (GLINK_PLTRESOLVE, GLINK_ENTRY_SIZE): Define.
(CROR_151515, CROR_313131): Delete.
(ADDIS_11_11, ADDI_11_11, SUB_11_11_30, ADD_0_11_11, ADD_11_0_11,
LWZ_0_4_30, MTCTR_0, LWZ_12_8_30, BCTR, ADDIS_11_30,
LWZU_0_X_11): Define.
(ppc_elf_howto_raw): Add R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI
and R_PPC_REL16_HA entries.
(ppc_elf_reloc_type_lookup): Convert new bfd reloc types.
(ppc_elf_addr16_ha_reloc): Also handle R_PPC_REL16_HA.
(struct ppc_elf_link_hash_table): Add glink, glink_pltresolve,
new_plt, and old_plt.
(ppc_elf_create_dynamic_sections): Create .glink section.
(ppc_elf_check_relocs): Set new_plt and old_plt.
(ppc_elf_select_plt_layout): New function.
(ppc_elf_tls_setup): Set plt output section elf type and flags.
(allocate_got): Handle differences between old and new got layout.
(allocate_dynrelocs): Likewise for plt.
(ppc_elf_size_dynamic_sections): Likewise. Allocate memory for
.glink. Don't allocate memory for old bss .plt. Emit DT_PPC_GLINK.
(ppc_elf_relax_section): Rename ppc_info to htab. Handle .glink
destination of R_PPC_PLTREL24 relocs.
(ppc_elf_relocate_section): Handle new relocs and changed destination
of R_PPC_PLTREL24.
(ppc_elf_finish_dynamic_symbol): Init new style plt and handle
differences in layout.
(ppc_elf_finish_dynamic_sections): Set DT_PPC_GLINK value. Don't
put a blrl in new got. Write glink contents.
* elf32-ppc.h (ppc_elf_select_plt_layout): Declare.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
amodra [Wed, 11 May 2005 14:08:45 +0000 (14:08 +0000)]
* ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
R_PPC_RELAX32PC_PLT) Adjust.
(R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI, R_PPC_REL16_HA): Define.
(DT_PPC_GLINK): Define.
eliz [Wed, 11 May 2005 13:35:50 +0000 (13:35 +0000)]
* config/djgpp/fnchange.lst: Add mappings for inttypes*.m4,
ChangeLog-2004, reg-cris*.dat, dw2-intermix.*, semcris*-switch.c.
Fix mappings for hilo-hazard-?.s.
nickc [Wed, 11 May 2005 09:52:50 +0000 (09:52 +0000)]
Update the address of the FSF organization
schwab [Wed, 11 May 2005 09:23:43 +0000 (09:23 +0000)]
* elf32-i386.c (elf_i386_finish_dynamic_sections): Fix signedness
warning.
eliz [Wed, 11 May 2005 07:29:35 +0000 (07:29 +0000)]
Fix a typo in bunzip2..
eliz [Wed, 11 May 2005 07:26:26 +0000 (07:26 +0000)]
Update GDB versions and my email address.
eliz [Wed, 11 May 2005 07:25:24 +0000 (07:25 +0000)]
Update GDB versions and my email address.
cgf [Wed, 11 May 2005 03:33:37 +0000 (03:33 +0000)]
* cygtls.cc (_cygtls::remove): Clear exitsock after close.
* fhandler_console.cc (fhandler_console::write_normal): Store character in a
local variable for potential future inspection.
hjl [Wed, 11 May 2005 02:15:41 +0000 (02:15 +0000)]
2005-05-10 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (_bfd_elf_make_section_from_shdr): Only check debug
section if SEC_ALLOC isn't set.
dj [Wed, 11 May 2005 02:09:58 +0000 (02:09 +0000)]
merge from gcc
amodra [Wed, 11 May 2005 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 11 May 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
corinna [Tue, 10 May 2005 20:56:04 +0000 (20:56 +0000)]
* Makefile.in (DLL_OFILES): Add fhandler_mailslot.o.
* devices.h (FH_KMSG): Define new device.
* devices.in: Add "/dev/kmsg" entry.
* devices.cc: Regenerate.
* dtable.cc (build_fh_pc): Handle case FH_KMSG.
* fhandler.h (class fhandler_mailslot): New class.
(class select_stuff): Add device_specific_mailslot pointer.
* fhandler_mailslot.cc: New file.
* select.cc (peek_mailslot): New function.
(verify_mailslot): Ditto.
(struct mailslotinf): New stuct to handle select on mailslots.
(thread_mailslot): New function.
(start_thread_mailslot): Ditto.
(mailslot_cleanup): Ditto.
(fhandler_mailslot::select_read): New method.
* syslog.cc (klog_guard): New muto.
(dev_kmsg): Local mailslot for kernel message device.
(vklog): New function.
(klog): Ditto.
* winsup.h (vklog): Declare.
(klog): Ditto.
* include/sys/syslog.h: Define _PATH_KLOG.
cgf [Tue, 10 May 2005 16:08:38 +0000 (16:08 +0000)]
* dcrt0.cc (dll_crt0_1): Call cygwin_exit to ensure that destructors are
handled correctly.
brolley [Tue, 10 May 2005 15:56:25 +0000 (15:56 +0000)]
Regenerated.
brolley [Tue, 10 May 2005 15:51:08 +0000 (15:51 +0000)]
2005-05-10 Dave Brolley <brolley@redhat.com>
* commonCfg.cxx (~BlockingCacheCfg): New destructor.
(BlockingCacheCfg): New constructors.
* commonCfg.h (BlockingCacheCfg): New class.
brolley [Tue, 10 May 2005 15:48:22 +0000 (15:48 +0000)]
2005-05-10 Dave Brolley <brolley@redhat.com>
* sidcpuutil.h (read_insn_memory): Only call
record_insn_memory_read_latency if --trace-counter or
--final-insn-count are specified.
(write_insn_memory): Ditto.
(read_data_memory): Ditto.
(write_data_memory): Ditto.
2005-05-10 Dave Brolley <brolley@redhat.com>
* sidcpuutil.h (record_insn_memory_read_latency): New virtual method.
(record_insn_memory_write_latency): New virtual method.
(record_data_memory_read_latency): New virtual method.
(record_data_memory_write_latency): New virtual method.
(read_insn_memory): Call record_insn_memory_read_latency.
(write_insn_memory): Call record_insn_memory_write_latency.
(read_data_memory): Call record_data_memory_read_latency.
(write_data_memory): Call record_data_memory_write_latency.
* sidattrutil.h (fixed_attribute_map_with_logging_component::check_level):
now protected and returns bool.
* sidblockingutil.h: Rework ulog levels.
* sidbusutil.h (bus_arbitrator): Rework ulog levels. Return the result
of busy_status instead of bus::busy. New methods: busy_status and
access_latency.
(perform_read): Only call set_route_busy is status is bus::ok.
(perform_write): Only call set_route_busy is status is bus::ok.
2005-05-10 Dave Brolley <brolley@redhat.com>
* sidbusutil.h (bus_arbitrator::input_interface): New class.
(bus_arbitrator::reschedule): Reschedule after the given number of
cycles.
(bus_arbitrator::arbitrate_read): New method.
(bus_arbitrator::arbitrate_write): New method.
(bus_arbitrator::prioritize_request): New virtual method.
(bus_arbitrator::perform_read): Propogate the lock from the upstream
interface to the downstream interface.
(bus_arbitrator::perform_write): Ditto.
(bus_arbitrator::lock_downstream): New virtual method.
2005-05-10 Dave Brolley <brolley@redhat.com>
* sidblockingutil.h (blocking_component): Reimplement using mutexes
for synchronization.
2005-05-10 Dave Brolley <brolley@redhat.com>
* sidcpuutil.h (basic_cpu): Inherit virtually from all base classes.
(basic_cpu::step_pin_handler): Now virtual.
(basic_cpu::{read,write}_{insn,data}_memory): No longer const. Call
handle_{insn,data}_memory_{read,write}_error for bus errors.
(basic_big_endian_cpu::{read,write_{insn,data}_memory*): No longer
const.
(basic_little_endian_cpu): Ditto.
* sidcomp.h (bus::status_t): Add 'busy'.
* sidattrutil.h: Remove unused code.
* sidblockingutil.h: New header.
brolley [Tue, 10 May 2005 15:47:28 +0000 (15:47 +0000)]
2005-05-10 Dave Brolley <brolley@redhat.com>
* configure.in: Set 'comp_defs' with extra defines needed by Solaris.
* configure: Regenerated.
* Makefile.am (TOP_CXXFLAGS): Set to "$(CXX_FLAGS) @comp_defs@".
(AM_CXXFLAGS): Set to $(TOP_CXX_FLAGS).
(AM_MAKEFLAGS): Pass on TOP_CXXFLAGS.
* Makefile.in: Regenerated.
brolley [Tue, 10 May 2005 15:46:16 +0000 (15:46 +0000)]
2005-05-10 Dave Brolley <brolley@redhat.com>
* configure.in: Set 'comp_defs' with extra defines needed by Solaris.
* configure: Regenerated.
* Makefile.am (CXXFLAGS): Set it to @comp_defs@.
* Makefile.in: Regenerated.
2005-05-10 Dave Brolley <brolley@redhat.com>
* cgen-cpu.h ({GET,SET}[I]+MEM*): No longer const.
* configure.in: Check for pthread library.
* configure: Regenerated.
brolley [Tue, 10 May 2005 15:41:05 +0000 (15:41 +0000)]
2005-05-10 Dave Brolley <brolley@redhat.com>
* hw-cache.xml: Input to flush-set, invalidate-set and
* hw-cache.txt: Regenerated.
flush-and-invalidate-set is now an address.
* cacheutil.h (addr_to_tag): New method of cache.
* cacheutil.cxx (addr_to_tag): New method of cache.
* cache.cxx (cache_component::flush_set): Input argument is now an address.
(cache_component::flush_and_invalidate_set): Likewise.
(blocking_cache_component::flush_set): Likewise.
(blocking_cache_component::flush_and_invalidate_set): Likewise.
2005-05-10 Dave Brolley <brolley@redhat.com>
* cache.cxx (cache_component): Initialize data_width. Add "data-width"
attribute.
(read_line): Access the data 4 or 8 bytes at a time, depending on
data_width.
(write_line): Ditto.
(read_downstream, write_downstream): New methods of cache_component.
* cache.h (read_downstream, write_downstream): New methods of
cache_component.
(data_width): New member of cache_component.
2005-05-10 Dave Brolley <brolley@redhat.com>
* cache.cxx (cache_component): Add "operation-status" pin.
(cache_component::flush_all_lines): Accumulate latency and call
report_status.
(cache_component::flush_line): Ditto.
(cache_component::flush_set): Ditto.
(cache_component::flush_and_invalidate_set): Ditto.
(cache_component::invalidate_all_lines): Call report_status.
(cache_component::invalidate_line): Ditto.
(cache_component::flush_and_invalidate_line): Ditto.
(cache_component::invalidate_set): Ditto.
(cache_component::prefetch_line): Ditto.
(cache_component::lock_line): Ditto.
(cache_component::unlock_line): Ditto.
(blocking_cache_component::flush_all_lines): Call report_status if
child is blocked.
(blocking_cache_component::flush_line): Ditto.
(blocking_cache_component::flush_set): Ditto.
(blocking_cache_component::flush_and_invalidate_set): Ditto.
(blocking_cache_component::flush_and_invalidate_line): Ditto.
(blocking_cache_component::prefetch_line): Ditto.
* cache.h (report_status): New method of cache_component.
(operation_status_pin): New output pin.
2005-05-10 Dave Brolley <brolley@redhat.com>
* cache.h (flush_all_lines, flush_line, flush_set)
(flush_and_invalidate_set, flush_and_invalidate_line)
(prefetch_line): Now virtual. Also, new methods of
blocking_cache_component.
(setup_flush_all_transaction, setup_flush_line_transaction)
(setup_flush_set_transaction)
(setup_flush_and_invalidate_set_transaction)
(setup_flush_and_invalidate_line_transaction)
(perform_flush_all_transaction, perform_flush_line_transaction)
(perform_flush_set_transaction)
(perform_flush_and_invalidate_set_transaction)
(perform_flush_and_invalidate_line_transaction): New methods of
blocking_cache_component.
* cache.cxx (blocking_cache_component::write): Remove log message. Don't
need return code from continue_child_thread_and_wait.
blocking_cache_component::read): Ditto.
(flush_all_lines, flush_line, flush_set)
(flush_and_invalidate_set, flush_and_invalidate_line)
(prefetch_line): New methods of blocking_cache_component.
2005-05-10 Dave Brolley <brolley@redhat.com>
* cache.cxx (cache_component): Initialize total_latency_p. Add
"total-latency?" attribute.
(read_line): Return the total latency of all accesses if total_latency_p
is set.
(write_line): Ditto.
(handle_bus_error): Copy the status, s, to transaction_status.
(blocking_cache_component::read): Always return transaction_status.
(blocking_cache_component::write): Ditto.
* cache.h (total_latency_p): New member of cache_component.
2005-05-10 Dave Brolley <brolley@redhat.com>
* cache.h (cache_component::lock_downstream): New virtual method.
(cache_component::unlock_downstream): New virutal method.
(blocking_cache_component::lock_downstream): New virtual override.
(blocking_cache_component::unlock_downstream): New virtual override.
* cache.cxx (read_line): Return the maximum latency from the reads
performed if refill latency is not requested. Call lock_downstream
before the first read. Call unlock_downstream before the final read.
(write_line): Ditto.
(blocking_cache_component): Add downstream-lock pin.
2005-05-10 Dave Brolley <brolley@redhat.com>
* cache.cxx (blocking_cache_child_thread_root): Don't call
child->child_wait_for_resume.
(handle_bus_error): Ditto.
(DEFN_METHOD): SID_SIG_CHILD_BLOCKED is now ctl_child_blocked.
2005-05-10 Dave Brolley <brolley@redhat.com>
* Makefile.am (AM_XXXFLAGS): Set it to $(TOP_CXXFLAGS).
(AM_MAKEFLAGS): Pass along TOP_CXXFLAGS.
* Makefile.in: Regenerated.
2005-05-10 Dave Brolley <brolley@redhat.com>
* mep-cache.cxx (mep_cache): Inherit from blocking_cache_component.
* mep-cache.h (mep_cache): Inherit from blocking_cache_component.
* cache.h (sidblockingutil.h): #include it.
(namespace sid): Add "using" clause. Remove sid:: qualifier from
declarations.
(cache_component): Inhereit virtually from
fixed_attribute_map_component and fixed_pin_map_component.
(cache_component::write): Variants now virtual.
(cache_component::read): Ditto.
(cache_component::handle_read_error): New virtual method.
(cache_component::handle_write_error): New virtual method.
(cache_bus::write_any): Call cache.write.
(cache_bus::read_any): Call cache.read.
(blocking_cache_component): New class.
* cache.cxx (cache_component::write_any): Call handle_write_error to
handle bus errors.
(cache_component::write_line): Ditto.
(cache_component::read_any): Call handle_read_error as above.
(cache_component::read_line): Ditto.
(blocking_cache_child_thread_root): New function.
(blocking_cache_component): New constructor.
(handle_bus_error): New method.
(blocking_cache_component:write): New methods.
(blocking_cache_component::read): New methods.
(CacheListTypes): Add hw-blocking-cache-basic and
hw-blocking-cache-buffer-8, hw-blocking-cache-direct* and
hw-blocking-cache/*kb*.
(CacheCreate): Parse and construct the above.
nickc [Tue, 10 May 2005 15:33:30 +0000 (15:33 +0000)]
Update the address and phone number of the FSF organization.
matz [Tue, 10 May 2005 15:10:04 +0000 (15:10 +0000)]
gas/
* frags.c (frag_grow): Don't be too greedy in allocating memory.
* config/tc-hppa.c (pa_block): Check arguments to .block[z].
gas/testsuite/
* gas/hppa/parse/block1.s: Use official limit (0x3fffffff) for
.block.
uweigand [Tue, 10 May 2005 13:48:59 +0000 (13:48 +0000)]
* linux-s390-low.c (s390_breakpoint, s390_breakpoint_len): Define.
(s390_get_pc, s390_set_pc, s390_breakpoint_at): New functions.
(the_low_target): Add new members.
hp [Tue, 10 May 2005 12:32:22 +0000 (12:32 +0000)]
PR binutils/886
* config/tc-mmix.c (mmix_handle_mmixal): Rearrange slightly.
Handle label-without-colon before ordinary dot-pseudo as an
ordinary label. Don't leak memory for label-without-colon alone
on a line. Don't mmixal-munge operands for dot-pseudos.
hp [Tue, 10 May 2005 12:30:04 +0000 (12:30 +0000)]
* gas/mmix/relax2.s: Drop ":" off label definitions.
nickc [Tue, 10 May 2005 10:21:02 +0000 (10:21 +0000)]
Update the address and phone number of the FSF organization
corinna [Tue, 10 May 2005 09:08:16 +0000 (09:08 +0000)]
* path.cc (path_conv::check): Set correct file attributes for socket
files.
dannysmith [Tue, 10 May 2005 08:39:04 +0000 (08:39 +0000)]
* mingwex/math/nexttoward.c: New file.
* mingwex/math/nexttowardf.c: New file.
* mingwex/math/nextafterl.c: Add nexttowardl aliaa.
* mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
mexttowardf.c,
(MATH_OBJS): Add nexttoward.o, mexttowardf.o,
* include/math.h (nexttoward, nextowardf, nexttowardl): Add
prototypes.
jbeulich [Tue, 10 May 2005 07:48:23 +0000 (07:48 +0000)]
gas/
2005-05-10 Jan Beulich <jbeulich@novell.com>
* macro.c (get_any_string): Remove the two last parameters. Replace
references to the former expand parameter by using macro_alternate.
Simplify loop condition for checking for end-of-string.
(get_string): Remove redunant call to sb_skip_white.
(do_formals): Remove two last arguments to get_any_string.
(macro_expand): Likewise.
(expand_irp): Likewise.
jbeulich [Tue, 10 May 2005 07:45:10 +0000 (07:45 +0000)]
gas/
2005-05-10 Jan Beulich <jbeulich@novell.com>
* read.c (s_macro): Move local variable 'local' to smaller scope.
Call sb_kill on it when done.
amodra [Tue, 10 May 2005 02:27:38 +0000 (02:27 +0000)]
* scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete.
(DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value.
(GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END. Place after
DATA_SEGMENT_RELRO_END in script.
kcook [Tue, 10 May 2005 01:27:48 +0000 (01:27 +0000)]
2005-05-09 Kelley Cook <kcook@gcc.gnu.org>
* configure.in: Replace AC_COMPILE_CHECK_SIZEOF with AC_CHECK_SIZEOF.
* acinclude.m4: Don't sinclude accross.m4.
* config.in, configure, Makefile.in, doc/Makefile.in: Regenerate.
hjl [Tue, 10 May 2005 01:07:29 +0000 (01:07 +0000)]
2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
Don't use a removed section.
hjl [Tue, 10 May 2005 01:06:03 +0000 (01:06 +0000)]
2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
* ldmain.c (reloc_overflow): Use output_bfd if the symbol
is defined in the ABS section.
amodra [Tue, 10 May 2005 00:00:04 +0000 (00:00 +0000)]
daily update