OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
16 years ago * linux-ppc-low.c (ppc_arch_setup): Reset ppc_hwcap after the
uweigand [Mon, 21 Apr 2008 20:31:22 +0000 (20:31 +0000)]
* linux-ppc-low.c (ppc_arch_setup): Reset ppc_hwcap after the
initial call to init_register_ppc64.

16 years ago * generic/gdbtk-cmds.c (symtab_to_filename): Call gdb's
kseitz [Mon, 21 Apr 2008 20:14:48 +0000 (20:14 +0000)]
    * generic/gdbtk-cmds.c (symtab_to_filename): Call gdb's
        open_source_file instead of find_and_open_source.

16 years agobfd/
nathan [Mon, 21 Apr 2008 17:54:24 +0000 (17:54 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_vxworks_adjust_dynamic_symbol): Don't
set the value of undefined symbols in shared objects.
(_bfd_mips_vxworks_finish_dynamic_symbol): Clear value for
undefined symbols unless pointer equality is needed.
ld/testsuite/
* ld-vxworks/plt-mips1.s: New.
* ld-vxworks/plt-mips1.d: New.

16 years ago * configure.srv (powerpc64-*-linux*, powerpc-*-linux*): Merge into single
uweigand [Mon, 21 Apr 2008 14:55:50 +0000 (14:55 +0000)]
* configure.srv (powerpc64-*-linux*, powerpc-*-linux*): Merge into single
powerpc*-*-linux* case.
(s390-*-linux*, s390x-*-linux*): Merge into single s390*-*-linux* case.

16 years ago * symfile.c (syms_from_objfile): Don't warn if lowest loadable
palves [Mon, 21 Apr 2008 14:25:12 +0000 (14:25 +0000)]
* symfile.c (syms_from_objfile): Don't warn if lowest loadable
section is not a code section.

16 years ago * mount.cc (mount_info::init): Remove call to from_registry. Print
corinna [Mon, 21 Apr 2008 14:00:23 +0000 (14:00 +0000)]
* mount.cc (mount_info::init): Remove call to from_registry.  Print
message that fstab is missing.
(mount_info::from_fstab): Use CYGWIN_INFO_CYGDRIVE_DEFAULT_PREFIX
instead of constant string.
(mount_info::read_mounts): Remove.
(mount_info::from_registry): Remove.
(mount_info::read_cygdrive_info_from_registry): Remove.
* postinstall: Enable code to create fstab entries from old registry
entries.
* registry.cc (reg_key::reg_key): Drop CYGWIN_INFO_CYGNUS_REGISTRY_NAME
from registry key.
* shared_info.h (mount_info::read_mounts): Remove declaration.
(mount_info::from_registry): Ditto.
(mount_info::to_registry): Ditto.
(mount_info::read_cygdrive_info_from_registry): Ditto.
* winver.rc (CYGWIN_REGISTRY_KEY): Remove.
(LegalCopyright): Fix to include 2008.
(RegistryKey): Set to CYGWIN_INFO_CYGWIN_REGISTRY_NAME.
* include/cygwin/version.h (CYGWIN_INFO_CYGNUS_REGISTRY_NAME): Remove.

16 years ago * kernel32.cc (CreateFileMappingW): Fix bug in reserve/commit handling.
corinna [Mon, 21 Apr 2008 13:17:35 +0000 (13:17 +0000)]
* kernel32.cc (CreateFileMappingW): Fix bug in reserve/commit handling.

16 years ago * Makefile.in (DLL_OFILES): Add kernel32.o.
corinna [Mon, 21 Apr 2008 12:46:57 +0000 (12:46 +0000)]
* Makefile.in (DLL_OFILES): Add kernel32.o.
* autoload.cc (WSACloseEvent): Remove.
(WSACreateEvent): Remove.
* cygheap.cc (cygheap_init): Drop initializing shared_prefix.
* cygheap.h (struct init_cygheap): Drop shared_prefix and
shared_prefix_buf members.
* fhandler_socket.cc (sock_shared_name): New static function.
(search_wsa_event_slot): Convert name buffers to WCHAR.  Call
NtCreateMutant/NtOpenMutant to create mutexes in session local
namespace.
(fhandler_socket::init_events): Ditto.  Fix debug output.
(fhandler_socket::release_events): Close mutexes using NtClose.
(fhandler_socket::dup): Ditto.
* kernel32.cc: New file, implementing Win32 calls in a Cygwin-specific
way.
* mmap.cc (MapView): Make static.
* ntdll.h: Fix status code sorting.
(STATUS_OBJECT_NAME_EXISTS): Define.
(SEMAPHORE_QUERY_STATE): Define.
(CYG_SHARED_DIR_ACCESS): Define.
(CYG_MUTANT_ACCESS): Define.
(CYG_EVENT_ACCESS): Define.
(CYG_SEMAPHORE_ACCESS): Define.
(enum _PROCESSINFOCLASS): Define ProcessSessionInformation.
(struct _PROCESS_SESSION_INFORMATION): Define.
(NtCreateSemaphore): Declare.
(NtOpenSemaphore): Declare.
* flock.cc: Use CYG_xxx_ACCESS access masks where appropriate.
* posix_ipc.cc (ipc_mutex_init): Use native functions to create mutex.
Create in cygwin-shared subdir.
(ipc_cond_init): Ditto for event.
(ipc_mutex_close): Use NtClose.
(ipc_cond_close): Ditto.
(mq_open): Drop "cyg" prefix from mqh_uname.
* shared.cc (CYG_SHARED_DIR_ACCESS): Drop definition here.
(_cygwin_testing): Declare extern on file level.
(get_shared_parent_dir): Change name of shared directory.  Add name
to api_fatal output.
(get_session_parent_dir): New function.
(shared_name): Simplify.
(shared_info::initialize): Call get_session_parent_dir.
* shared_info.h (get_session_parent_dir): Declare.
* smallprint.cc (__small_vswprintf): Fix bug in multibyte string
conversion.
* thread.cc (semaphore::semaphore): Align semaphore name to object
names in posix IPC functions.
* include/cygwin/version.h (CYGWIN_VERSION_SHARED_DATA): Bump.

16 years ago*** empty log message ***
gdbadmin [Mon, 21 Apr 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Mon, 21 Apr 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * gdb.texinfo (Set Breaks): Mention that multiple location
eliz [Sun, 20 Apr 2008 09:06:43 +0000 (09:06 +0000)]
* gdb.texinfo (Set Breaks): Mention that multiple location
breakpoints need line number info.  Add index entries.

16 years ago * NEWS: Add information on compressed debug sections.
csilvers [Sun, 20 Apr 2008 00:03:21 +0000 (00:03 +0000)]
  * NEWS: Add information on compressed debug sections.
      * doc/gdb.texinfo (Requirements): Add an optional requirement
      on zlib.
      * doc/gdbint.texinfo (Debugging File Formats): Add new
      subsection for Compressed DWARF 2.

16 years ago*** empty log message ***
gdbadmin [Sun, 20 Apr 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sun, 20 Apr 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * version.cc (version_string): Bump to 1.6.
ian [Sat, 19 Apr 2008 20:15:56 +0000 (20:15 +0000)]
* version.cc (version_string): Bump to 1.6.

16 years ago * testsuite/Makefile.am (many_sections_r_test): New target.
ian [Sat, 19 Apr 2008 19:43:13 +0000 (19:43 +0000)]
* testsuite/Makefile.am (many_sections_r_test): New target.
(many_sections_r_test_SOURCES): Remove.
(many_sections_r_test_DEPENDENCIES): Remove.
(many_sections_r_test_LDFLAGS): Remove.
(many_sections_r_test_LDADD): Remove.

16 years ago * object.cc (Sized_relobj::do_add_symbols): Always pass
ian [Sat, 19 Apr 2008 19:34:41 +0000 (19:34 +0000)]
* object.cc (Sized_relobj::do_add_symbols): Always pass
local_symbol_count_ to add_from_relobj.

16 years ago * testsuite/Makefile.am (many_sections_check.h): Only check one in
ian [Sat, 19 Apr 2008 19:15:35 +0000 (19:15 +0000)]
* testsuite/Makefile.am (many_sections_check.h): Only check one in
every thousand variables.
* testsuite/Makefile.in: Rebuild.

16 years ago * elfcpp_file.h (class Elf_file): Add large_shndx_offset_ field.
ian [Sat, 19 Apr 2008 18:33:19 +0000 (18:33 +0000)]
* elfcpp_file.h (class Elf_file): Add large_shndx_offset_ field.
(Elf_file::large_shndx_offset): New function.
(Elf_file::construct): Initialize large_shndx_offset_.
(Elf_File::initialize_shnum): If necessary, adjust shstrndx_ and
set large_shndx_offset_.

16 years ago * object.cc (Xindex::initialize_symtab_xindex): New function.
ian [Sat, 19 Apr 2008 18:30:58 +0000 (18:30 +0000)]
* object.cc (Xindex::initialize_symtab_xindex): New function.
(Xindex::read_symtab_xindex): New function.
(Xindex::sym_xindex_to_shndx): New function.
(Sized_relobj::find_symtab): Pick up SHT_SYMTAB_SHNDX section if
available.
(Sized_relobj::do_initialize_xindex): New function.
(Sized_relobj::do_read_symbols): Adjust section links.
(Sized_relobj::symbol_section_and_value): Add is_ordinary
parameter.  Change all callers.
(Sized_relobj::include_section_group): Adjust section links and
symbol section indexes.
(Sized_relobj::do_layout): Adjust section links.
(Sized_relobj::do_count_local_symbols): Adjust section links and
symbol section indexes.
(Sized_relobj::do_finalize_local_symbols): Distinguish between
ordinary and special symbols.
(Sized_relobj::write_local_symbols): Add symtab_xindex and
dynsym_xindex parameters.  Change all callers.  Adjust section
links.  Use SHN_XINDEX when needed.
(Sized_relobj::get_symbol_location_info): Adjust section links.
Don't get fooled by special symbols.
* object.h (class Xindex): Define.
(class Object): Add xindex_ parameter.  Declare virtual functoin
do_initialize_xindex.
(Object::adjust_sym_shndx): New function.
(Object::set_xindex): New protected function.
(class Symbol_value): Add is_ordinary_shndx_ field.
(Symbol_value::Symbol_value): Initialize is_ordinary_shndx_.
(Symbol_value::value): Assert ordinary section.
(Symbol_value::initialize_input_to_output_map): Likewise.
(Symbol_value::set_input_shndx): Add is_ordinary parameter.
Change all callers.
(Symbol_value::input_shndx): Add is_ordinary parameter.  Change
all callers.
(class Sized_relobj): Update declarations.
(Sized_relobj::local_symbol_input_shndx): Add is_ordinary
parameter.  Change all callers.
(Sized_relobj::adjust_shndx): New function.
* dynobj.cc (Sized_dynobj::Sized_dynobj): Initialize dynsym_shndx_
field.
(Sized_dynobj::find_dynsym_sections): Remove pdynsym_shndx
parameter.  Change all callers.  Pick up SHT_DYNSYM_SHNDX section
for SHT_DYNSYM section if available.  Set dynsym_shndx_ field.
(Sized_dynobj::read_dynsym_section): Adjust section links.
(Sized_dynobj::read_dynamic): Likewise.
(Sized_dynobj::do_read_symbols): Use dynsym_shndx_ field.  Adjust
section links.
(Sized_dynobj::do_initialize_xindex): New function.
* dynobj.h (class Sized_dynobj): Add dynsym_shndx_ field.  Declare
do_initialize_xindex.
(Sized_dynobj::adjust_shndx): New function.
* layout.cc (Layout::Layout): Initialize symtab_xindex_ and
dynsym_xindex_ fields.
(Layout::finalize): Add a call to set_section_indexes before
creating the symtab sections.
(Layout::set_section_indexes): Don't do anything if the section
already has a section index.
(Layout::create_symtab_sections): Add shnum parameter.  Change
caller.  Create .symtab_shndx section if needed.
(Layout::create_shdrs): Add shstrtab_section parameter.  Change
caller.
(Layout::allocated_output_section_count): New function.
(Layout::create_dynamic_symtab): Create .dynsym_shndx section if
needed.
* layout.h (class Layout): Add symtab_xindex_ and dynsym_xindex_
fields.  Update declarations.
(Layout::symtab_xindex): New function.
(Layout::dynsym_xindex): New function.
(class Write_symbols_task): Add layout_ field.
(Write_symbols_task::Write_symbols_task): Add layout parameter.
Change caller.
* output.cc (Output_section_headers::Output_section_headers): Add
shstrtab_section parameter.  Change all callers.
(Output_section_headers::do_sized_write): Store overflow values
for section count and section string table section index in
section header zero.
(Output_file_header::do_sized_write): Check for overflow of
section count and section string table section index.
(Output_symtab_xindex::do_write): New function.
(Output_symtab_xindex::endian_do_write): New function.
* output.h (class Output_section_headers): Add shstrtab_section_.
Update declarations.
(class Output_symtab_xindex): Define.
(Output_section::has_out_shndx): New function.
* symtab.cc (Symbol::init_fields): Initialize is_ordinary_shndx_
field.
(Symbol::init_base): Add st_shndx and is_ordinary parameters.
Change all callers.
(Sized_symbol::init): Likewise.
(Symbol::output_section): Check for ordinary symbol.
(Symbol_table::add_from_object): Remove orig_sym parameter.  Add
st_shndx, is_ordinary, and orig_st_shndx parameters.  Change all
callers.
(Symbol_table::add_from_relobj): Add symndx_offset parameter.
Change all callers.  Simplify handling of symbols from sections
not included in the link.
(Symbol_table::add_from_dynobj): Handle ordinary symbol
distinction.
(Weak_alias_sorter::operator()): Assert that symbols are
ordinary.
(Symbol_table::sized_finalize_symbol): Handle ordinary symbol
distinction.
(Symbol_table::write_globals): Add symtab_xindex and dynsym_xindex
parameters.  Change all callers.
(Symbol_table::sized_write_globals): Likewise.  Handle ordinary
symbol distinction.  Use SHN_XINDEX when needed.
(Symbol_table::write_section_symbol): Add symtab_xindex
parameter.  Change all callers.
(Symbol_table::sized_write_section_symbol): Likewise.  Use
SHN_XINDEX when needed.
* symtab.h (class Symbol): Add is_ordinary_shndx_ field.  Update
declarations.
(Symbol::shndx): Add is_ordinary parameter.  Change all callers.
(Symbol::is_defined): Check is_ordinary.
(Symbol::is_undefined, Symbol::is_weak_undefined): Likewise.
(Symbol::is_absolute, Symbol::is_common): Likewise.
(class Sized_symbol): Update declarations.
(class Symbol_table): Update declarations.
* resolve.cc (Symbol::override_base): Add st_shndx and is_ordinary
parameters.  Change all callers.
(Sized_symbol::override): Likewise.
(Symbol_table::override): Likewise.
(symbol_to_bits): Add is_ordinary parameter.  Change all callers.
(Symbol_table::resolve): Remove orig_sym parameter.  Add st_shndx,
is_ordinary, and orig_st_shndx parameters.  Change all callers.
* copy-relocs.cc (Copy_relocs::emit_copy_reloc): Require symbol
to be in an ordinary section.
* dwarf_reader.cc (Sized_dwarf_line_info::symbol_section): Add
object and is_ordinary parameters.  Change all callers.
(Sized_dwarf_line_info::read_relocs): Add object parameter.
Change all callers.  Don't add undefined or non-ordinary symbols
to reloc_map_.
(Sized_dwarf_line_info::read_line_mappings): Add object parameter.
Change all callers.
* dwarf_reader.h (class Sized_dwarf_line_info): Update
declarations.
* ehframe.cc (Eh_frame::read_fde): Check for ordinary symbol.
* reloc.cc (Sized_relobj::do_read_relocs): Adjust section links.
(Sized_relobj::relocate_sections): Likewise.
* target-reloc.h (scan_relocs): Adjust section symbol index.
(scan_relocatable_relocs): Likewise.
* i386.cc (Scan::local): Check for ordinary symbols.
* sparc.cc (Scan::local): Likewise.
* x86_64.cc (Scan::local): Likewise.
* testsuite/binary_unittest.cc (Sized_binary_test): Update calls
to symbol_section_and_value.
* testsuite/many_sections_test.cc: New file.
* testsuite/Makefile.am (BUILT_SOURCES): Define.
(check_PROGRAMS): Add many_sections_test.
(many_sections_test_SOURCES): Define.
(many_sections_test_DEPENDENCIES): Define.
(many_sections_test_LDFLAGS): Define.
(BUILT_SOURCES): Add many_sections_define.h.
(many_sections_define.h): New target.
(BUILT_SOURCES): Add many_sections_check.h.
(many_sections_check.h): New target.
(check_PROGRAMS): Add many_sections_r_test.
(many_sections_r_test_SOURCES): Define.
(many_sections_r_test_DEPENDENCIES): Define.
(many_sections_r_test_LDFLAGS): Define.
(many_sections_r_test_LDADD): Define.
(many_sections_r_test.o): New target.
* testsuite/Makefile.in: Rebuild.

16 years ago * mi/mi-cmd-var.c (varobj_update_one): Print new
vprus [Sat, 19 Apr 2008 17:03:19 +0000 (17:03 +0000)]
* mi/mi-cmd-var.c (varobj_update_one): Print new
value for variable objects that changed type.

16 years ago * varobj.c (varobj_invalidate): Don't touch floating
vprus [Sat, 19 Apr 2008 16:38:25 +0000 (16:38 +0000)]
* varobj.c (varobj_invalidate): Don't touch floating
varobjs.

16 years ago* symtab.c: (multiple_symbols_modes, multiple_symbols_ask)
kettenis [Sat, 19 Apr 2008 11:39:50 +0000 (11:39 +0000)]
* symtab.c: (multiple_symbols_modes, multiple_symbols_ask)
(multiple_symbols_cancel): Remove extra const.
* symtab.h: Likewise.

16 years ago(linespec.o, mi-interp.o): Add dependencies.
nickrob [Sat, 19 Apr 2008 06:12:16 +0000 (06:12 +0000)]
(linespec.o, mi-interp.o): Add dependencies.

16 years agoInclude interps.h and mi/mi-cmds.h.
nickrob [Sat, 19 Apr 2008 06:09:37 +0000 (06:09 +0000)]
Include interps.h and mi/mi-cmds.h.
(decode_line_2): When using MI, always set all breakpoints in menu.

16 years agoNew extern for top_level_interpreter.
nickrob [Sat, 19 Apr 2008 06:09:15 +0000 (06:09 +0000)]
New extern for top_level_interpreter.

16 years ago(top_level_interpreter): Rename static variable...
nickrob [Sat, 19 Apr 2008 06:08:18 +0000 (06:08 +0000)]
(top_level_interpreter): Rename static variable...
(top_level_interpreter_ptr): ...to this.
(top_level_interpreter): New function.

16 years ago*** empty log message ***
nickrob [Sat, 19 Apr 2008 06:07:51 +0000 (06:07 +0000)]
*** empty log message ***

16 years ago * configure.ac (AC_SEARCH_LIBS): Add check for zlib.
csilvers [Sat, 19 Apr 2008 05:06:53 +0000 (05:06 +0000)]
* configure.ac (AC_SEARCH_LIBS): Add check for zlib.
* config.in, configure: Regenerate.
* dwarf2read.c: Include zlib.h if present.
Modified *_SECTION macros.
(section_is_p): New.
(dwarf2_locate_sections): Use section_is_p instead of strcmp
(dwarf2_resize_section): New.
to determine whether a given section has a given name.
(zlib_decompress_section): New.
(dwarf2_read_section): Read the compressed section if present
in the binary.
* testsuite/gdb.dwarf2/dw2-compressed.S: New file.
* testsuite/gdb.dwarf2/dw2-compressed.exp: New file.
* MAINTAINERS: Added myself to section Write After Approval.

16 years ago * defs.h (exec_set_section_offsets): Remove prototype.
bauermann [Sat, 19 Apr 2008 02:07:19 +0000 (02:07 +0000)]
* defs.h (exec_set_section_offsets): Remove prototype.
* exec.c (exec_set_section_offsets): Remove function.

16 years ago * gdb.ada/atomic_enum: New test program.
brobecke [Sat, 19 Apr 2008 01:35:49 +0000 (01:35 +0000)]
    * gdb.ada/atomic_enum: New test program.
        * gdb.ada/atomic_enum.exp: New testcase.

16 years ago * stabsread.c (cleanup_undefined_types_1): Add instance flags check
brobecke [Sat, 19 Apr 2008 01:33:26 +0000 (01:33 +0000)]
    * stabsread.c (cleanup_undefined_types_1): Add instance flags check
        in the search for the matching symbol.

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

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

16 years ago * doc/c-sparc.texi: Add syntax section.
davem [Fri, 18 Apr 2008 21:19:48 +0000 (21:19 +0000)]
* doc/c-sparc.texi: Add syntax section.

16 years ago Revert thinko in previous patch.
corinna [Fri, 18 Apr 2008 20:30:04 +0000 (20:30 +0000)]
Revert thinko in previous patch.
* fhandler.h (struct wsa_event): Move back from wsa_event.h to here.
* fhandler_socket.cc (NUM_SOCKS): Ditto.
(wsa_events): Move back from cygwin_shared to here.  Accommodate
throughout.
(socket_serial_number): Ditto.
* shared_info.h: Accommodate above changes.
* wsa_event.h: Remove.

16 years ago * fhandler.h (-struct wsa_event): Move to wsa_event.h. Include
corinna [Fri, 18 Apr 2008 20:13:37 +0000 (20:13 +0000)]
* fhandler.h (-struct wsa_event): Move to wsa_event.h.  Include
wsa_event.h instead.
* fhandler_socket.cc (NUM_SOCKS): Move to wsa_event.h.
(wsa_events): Move from DLL shared area to cygwin_shared shared
memory.  Accommodate throughout.
(socket_serial_number): Ditto.
* fhandler_tape.cc (mt): Ditto.
(mtinfo_init): Remove.
(mt): Define as cygwin_shared->mt.
* flock.cc (FLOCK_PARENT_DIR_ACCESS): Remove.
(FLOCK_INODE_DIR_ACCESS): Move up in file.
(FLOCK_MUTANT_ACCESS): Ditto.
(FLOCK_EVENT_ACCESS): Ditto.
(get_lock_parent_dir): Remove.
(inode_t::inode_t): Call get_shared_parent_dir to get parent dir handle.
Add a "flock-" prefix to file's lock directory name for clarity.
* mtinfo.h (mtinfo_init): Drop declaration.
* net.cc (last_used_bindresvport): Move from DLL shared area to
cygwin_shared shared memory.
(cygwin_bindresvport_sa): Accommodate above change.
* sec_helper.cc (_everyone_sd): Move here from flock.cc.
* security.h (SD_MIN_SIZE): Ditto.
(everyone_sd): Ditto.
* shared.cc (cygwin_shared_area): Remove.
(cygwin_shared_h): New handle.
(get_shared_parent_dir): New static function.
(shared_name): Drop session_local argument.  Call get_shared_parent_dir
here.  Add cygwin-shared subdir to object name.
(offsets): Reinstantiate SH_CYGWIN_SHARED member.
(open_shared): Revert change from 2007-03-29 for systems supporting
SeCreateGlobalPrivilege.
(shared_info::initialize): Call mtinfo's initialize here.
(memory_init): Drop call to mtinfo_init.
* shared_info.h (SHARED_INFO_CB): Accommodate change to shared_info.
(CURR_SHARED_MAGIC): Ditto.
(class shared_info): Add members for global socket and tape info
sharing.
(enum shared_locations): Reinstantiate SH_CYGWIN_SHARED.
(get_shared_parent_dir): Declare.
(shared_name): Drop session_local argument from declaration.
* wsa_event.h: New file.  Move definitions of NUM_SOCKS and
struct wsa_event here.

16 years ago2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 18 Apr 2008 18:22:36 +0000 (18:22 +0000)]
2008-04-18  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
REG and NDS for instructions with immediate operand.

16 years ago* autoload.cc (noload): Make sure this and succeeding functions are located in
cgf [Fri, 18 Apr 2008 18:20:30 +0000 (18:20 +0000)]
* autoload.cc (noload): Make sure this and succeeding functions are located in
the text segment.

16 years agomerge from gcc
dj [Fri, 18 Apr 2008 15:14:04 +0000 (15:14 +0000)]
merge from gcc

16 years agogas/
hjl [Fri, 18 Apr 2008 13:10:32 +0000 (13:10 +0000)]
gas/

2008-04-18  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
FMA.

gas/testsuite/

2008-04-18  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-10.d: Updated.
* gas/i386/avx.d: Likewise.
* gas/i386/avx-intel.d: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.
* gas/i386/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx-intel.d: Likewise.

opcodes/

2008-04-18  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_VEX_FMA): New.
(OP_EX_VexImmW): Likewise.
(VexFMA): Likewise.
(Vex128FMA): Likewise.
(EXVexImmW): Likewise.
(get_vex_imm8): Likewise.
(OP_EX_VexReg): Likewise.
(vex_i4_done): Renamed to ...
(vex_w_done): This.
(prefix_table): Replace EXVexW with EXVexImmW on vpermil2ps
and vpermil2pd.  Replace Vex/Vex128 with VexFMA/Vex128FMA on
FMA instructions.
(print_insn): Updated.
(OP_EX_VexW): Rewrite to swap register in VEX with EX.
(OP_REG_VexI4): Check invalid high registers.

16 years ago2008-04-18 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 18 Apr 2008 11:07:30 +0000 (11:07 +0000)]
2008-04-18  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:
2008-04-18  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/35457
* configure.ac: Include override.m4.
* configure: Regenerate.

2008-04-18  Paolo Bonzini  <bonzini@gnu.org>

        * Makefile.tpl (restrap): Call `make all' using double-colon rules.
        * Makefile.in: Regenerate.

2008-04-11  Eric B. Weddington  <eweddington@cso.atmel.com>

        * configure.ac: Do not build libssp for the AVR.
        * configure: Regenerate.

config:
2008-04-18  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/35457

* override.m4: Add this.  Make sure aclocal always picks it.
Add more lenient precious variable check, backported from
autoconf trunk.

16 years ago * aix5ppc-core.c: Define macros for the default architecture and
nickc [Fri, 18 Apr 2008 09:22:23 +0000 (09:22 +0000)]
   * aix5ppc-core.c: Define macros for the default architecture and
       machine for matching core files.
       (xcoff64_core_p): Set the architecture and machine to the default
       values defined in the macros mentioned above.
       * rs6000-core.c: Define macros to determine whether or not the
       core file header uses the core_dumpxx header format.
       (rs6000coff_core_p): Don't match core files that use the
       core_dumpxx header format.

16 years ago[patch]: ctor/dtor section must start at alignment of 8 for x86_64-pc-mingw32.
ktietz [Fri, 18 Apr 2008 09:06:22 +0000 (09:06 +0000)]
[patch]: ctor/dtor section must start at alignment of 8 for x86_64-pc-mingw32.

* scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.

16 years ago* MAINTAINERS: Replace reference to configure.in with reference to configure.ac.
nickc [Fri, 18 Apr 2008 08:55:06 +0000 (08:55 +0000)]
* MAINTAINERS: Replace reference to configure.in with reference to configure.ac.

16 years ago * config/tc-sparc.c (sparc_ip): Recognize %pc22 and %pc10.
davem [Fri, 18 Apr 2008 08:47:35 +0000 (08:47 +0000)]
* config/tc-sparc.c (sparc_ip): Recognize %pc22 and %pc10.

16 years ago * configure.ac (cr16-*-*): Add case for cr16 target and include gdb
nickc [Fri, 18 Apr 2008 08:45:05 +0000 (08:45 +0000)]
 * configure.ac (cr16-*-*): Add case for cr16 target and include gdb
   as nonconfigurable directories list.
 * configure: Regenerate.

16 years ago * Makefile.in (distclean): Add gstdint.h.
bje [Fri, 18 Apr 2008 02:12:45 +0000 (02:12 +0000)]
* Makefile.in (distclean): Add gstdint.h.

16 years ago2008-04-17 Marc Khouzam <marc.khouzam@ericsson.com>
marckhouzam [Fri, 18 Apr 2008 00:41:27 +0000 (00:41 +0000)]
2008-04-17  Marc Khouzam  <marc.khouzam@ericsson.com>

       * breakpoint.c (update_watchpoint): Always reparse
       condition.

16 years agodaily update
amodra [Fri, 18 Apr 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Fri, 18 Apr 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * gdb.opt/Makefile.in: Fix whitespace.
devans [Thu, 17 Apr 2008 23:06:54 +0000 (23:06 +0000)]
* gdb.opt/Makefile.in: Fix whitespace.

16 years ago * errors.cc (Errors::info): New function.
ccoutant [Thu, 17 Apr 2008 22:45:47 +0000 (22:45 +0000)]
* errors.cc (Errors::info): New function.
(gold_info): New function.
* errors.h (Errors::info): New function.
* gold.h (gold_info): New function.
* object.cc (Input_objects::add_object): Print trace output.
* options.cc (options::parse_set): New function.
(General_options::parse_wrap): Deleted.
(General_options::General_options): Deleted initializer.
* options.h (options::String_set): New typedef.
(options::parse_set): New function.
(DEFINE_set): New macro.
(General_options::wrap): Changed to use DEFINE_set. Changed
callers of any_wrap_symbols and is_wrap_symbol.
(General_options::trace, General_options::trace_symbol):
New options.
(General_options::any_wrap_symbols, General_options::is_wrap_symbol)
(General_options::wrap_symbols_): Deleted.
* symtab.cc (Symbol_table::add_from_object): Print trace output.

16 years ago * breakpoint.c (print_one_breakpoint_location): Make sure to print
brobecke [Thu, 17 Apr 2008 22:43:17 +0000 (22:43 +0000)]
    * breakpoint.c (print_one_breakpoint_location): Make sure to print
        the breakpoint address only once.

16 years ago2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
uweigand [Thu, 17 Apr 2008 21:36:23 +0000 (21:36 +0000)]
2008-04-17  Daniel Jacobowitz  <dan@codesourcery.com>

* gdb.threads/linux-dp.exp: Continue after unrecognized lines.

16 years ago * configure.srv [powerpc64-*-linux*]: Remove powerpc-e500.o from
uweigand [Thu, 17 Apr 2008 21:22:41 +0000 (21:22 +0000)]
* configure.srv [powerpc64-*-linux*]: Remove powerpc-e500.o from
srv_regobj.  Remove rs6000/powerpc-e500.xml and rs6000/power-spe.xml
from reg_xmlfiles.
* linux-ppc-low.c: Include <elf.h>.
(PPC_FEATURE_HAS_ALTIVEC, PPC_FEATURE_HAS_SPE): Define.
(ppc_hwcap): New global variable.
(ppc_regmap): Remove __SPE__ #ifdef sections.
(ppc_regmap_e500): New global variable.
(ppc_cannot_store_register): Update __SPE__ special case.
(ppc_get_hwcap): New function.
(ppc_arch_setup): Use it to determine whether inferior supports
AltiVec or SPE registers.  Set the_low_target.regmap if appropriate.
(ppc_fill_vrregset, ppc_store_vrregset): Define unconditionally.
Do not access registers if target does not support AltiVec.
(ppc_fill_evrregset, ppc_store_evrregset): Define unconditionally.
Do not access registers if target does not support SPE.
(target_regsets): Unconditionally include AltiVec and SPE regsets.

16 years ago2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
uweigand [Thu, 17 Apr 2008 21:21:38 +0000 (21:21 +0000)]
2008-04-17  Daniel Jacobowitz  <dan@codesourcery.com>

* linux-low.c (disabled_regsets, num_regsets): New.
(use_regsets_p): Delete.
(linux_wait_for_process): Clear disabled_regsets.
(regsets_fetch_inferior_registers): Check and set it.
(regsets_store_inferior_registers): Likewise.
(linux_fetch_registers, linux_store_registers): Do not use
use_regsets_p.
(initialize_low): Allocate disabled_regsets.

16 years ago * rs6000-tdep.c (rs6000_gdbarch_init): Use the BFD architecture,
brobecke [Thu, 17 Apr 2008 21:00:53 +0000 (21:00 +0000)]
    * rs6000-tdep.c (rs6000_gdbarch_init): Use the BFD architecture,
        rather than a hard-coded architecture, for xcoff executables.

16 years ago * options.cc (General_options::parse_V): New function.
davem [Thu, 17 Apr 2008 20:23:59 +0000 (20:23 +0000)]
* options.cc (General_options::parse_V): New function.
* options.h: Add entries for -V and -Qy.

16 years ago * buildsym.c (watch_main_source_file_lossage): New fn.
devans [Thu, 17 Apr 2008 17:54:04 +0000 (17:54 +0000)]
* buildsym.c (watch_main_source_file_lossage): New fn.
(end_symtab): Call it.

* gdb.base/hashline1.exp: New testcase.
* gdb.base/hashline2.exp: New testcase.
* gdb.base/hashline2.exp: New testcase.

16 years ago * source.c (find_and_open_source): Add some comments clarifying
devans [Thu, 17 Apr 2008 17:43:57 +0000 (17:43 +0000)]
* source.c (find_and_open_source): Add some comments clarifying
handling of FULLNAME argument. Make static.  Remove pointless
xstrdup/xfree.

16 years ago gdb/
palves [Thu, 17 Apr 2008 11:49:54 +0000 (11:49 +0000)]
gdb/
* inf-loop.c (inferior_event_handler): Also run the intermediate
continuations in the INF_EXEC_COMPLETE case.

gdb/testsuite/
* gdb.base/step-break.exp, gdb.base/step-break.c: New files.

16 years ago * common.cc (Symbol_table::allocate_commons): Remove options
ian [Thu, 17 Apr 2008 07:12:00 +0000 (07:12 +0000)]
* common.cc (Symbol_table::allocate_commons): Remove options
parameter.  Change caller.
(Symbol_table::do_allocate_commons): Remove options parameter.
Change caller.  Just call do_allocate_commons_list twice.
(Symbol_table::do_allocate_commons_list): New function, broken out
of do_allocate_commons.
* common.h (class Allocate_commons_task): Remove options_ field.
Update constructor.
* symtab.cc (Symbol_table::Symbol_table): Initialize
tls_commons_.
(Symbol_table::add_from_object): Put TLS common symbols on
tls_commons_ list.
(Symbol_table::sized_finalize_symbol): Handle STT_TLS symbols
which are IN_OUTPUT_DATA.
* symtab.h (class Symbol_table): Add tls_commons_ field.  Update
allocate_commons and do_allocate_commons declarations.  Declare
do_allocate_commons_list.
* gold.cc (queue_middle_tasks): Update creation of
Allocate_commons_task to not pass options.
* testsuite/Makefile.am (INCLUDES): Add -I.. .
(TLS_TEST_C_FLAGS): New variable.
(tls_test_c_pic.o): New target.
(tls_test_shared.so): Link in tls_test_c_pic.o.
(tls_test_c_pic_ie.o): New target.
(tls_test_ie_shared.so): Link in tls_test_c_pic_ie.o.
(tls_test_DEPENDENCIES, tls_test_LDADD): Add tls_test_c.o.
(tls_test_c.o): New target.
(tls_pic_test_DEPENDENCIES): Add tls_test_c_pic.o.
(tls_pic_test_LDADD): Likewise.
(tls_shared_gd_to_ie_test_DEPENDENCIES): Add tls_test_c_pic.o.
(tls_shared_gd_to_ie_test_LDADD): Likewise.
(tls_test_c_gnu2.o): New target.
(tls_shared_gnu2_gd_to_ie_test_DEPENDENCIES): Add
tls_test_c_gnu2.o.
(tls_shared_gnu2_gd_to_ie_test_LDADD): Likewise.
(tls_test_gnu2_shared.so): Link in tls_test_c_gnu2.o.
(tls_test_shared_nonpic.so): Link in tls_test_c.o.
* testsuite/tls_test.cc: Include "config.h".
(t_last): Call t11_last.
* testsuite/tls_test.h (t11, t11_last): Declare.
* testsuite/tls_test_c.c: New file.
* testsuite/tls_test_main.cc (thread_routine): Call t11.
* configure.ac: Check for OpenMP support.
* configure, config.in, Makefile.in: Rebuild.
* testsuite/Makefile.in: Rebuild.

16 years ago * sparc.cc (Target_sparc::Scan): Change from struct to class.
davem [Thu, 17 Apr 2008 07:07:37 +0000 (07:07 +0000)]
* sparc.cc (Target_sparc::Scan): Change from struct to class.
Add issued_non_pic_error_ field.  Declare check_non_pic.
(Target_sparc::Scan::check_non_pic): New function.
(Target_sparc::Scan::local): Call check_non_pic as appropriate.
(Target_sparc::Scan::global): Likewise.

16 years ago * configure.ac (FN_PTRS_IN_SO_WITHOUT_PIC): Add sparc64.
davem [Thu, 17 Apr 2008 05:52:32 +0000 (05:52 +0000)]
* configure.ac (FN_PTRS_IN_SO_WITHOUT_PIC): Add sparc64.
* configure: Rebuild.

16 years ago * i386.cc (Target_i386::define_tls_base_symbol): New function.
ccoutant [Thu, 17 Apr 2008 02:00:54 +0000 (02:00 +0000)]
* i386.cc (Target_i386::define_tls_base_symbol): New function.
(Target_i386::tls_base_symbol_defined_): New field.
(Target_i386::Scan::local): Define _TLS_MODULE_BASE_ symbol.
(Target_i386::Scan::global): Likewise.
* symtab.cc (sized_finalize_symbol): Add check for TLS symbol.
* x86_64.cc (Target_x86_64::define_tls_base_symbol): New function.
(Target_x86_64::tls_base_symbol_defined_): New field.
(Target_x86_64::Scan::local): Define _TLS_MODULE_BASE_ symbol.
(Target_x86_64::Scan::global): Likewise.

16 years ago * cli/cli-decode.h (CMD_ASYNC_OK): New define.
tromey [Thu, 17 Apr 2008 00:25:00 +0000 (00:25 +0000)]
* cli/cli-decode.h (CMD_ASYNC_OK): New define.
(set_cmd_async_ok, get_cmd_async_ok): Declare.
* cli/cli-decode.c (set_cmd_async_ok): New function.
(get_cmd_async_ok): New function.
* cli/cli-cmds.c (init_cli_cmds): Mark "pwd", "help", "info", and
"show" as async-ok.
* top.c (execute_command): Use get_cmd_async_ok.
* infcmd.c: Include cli/cli-decode.h.
(_initialize_infcmd): Mark "interrupt" as async-ok.
* Makefile.in (infcmd.o): Depend on cli_decode_h.

16 years ago * symtab.h (Symbol::is_strong_undefined): Removed unused function.
ccoutant [Thu, 17 Apr 2008 00:14:36 +0000 (00:14 +0000)]
* symtab.h (Symbol::is_strong_undefined): Removed unused function.
(Symbol::needs_plt_entry): Allow weak undefined symbols.
(Symbol::needs_dynamic_reloc): Allow weak undefined symbols when
building shared libraries.
* testsuite/Makefile.am (weak_undef_nonpic_test): New target.
(weak_undef_file1_nonpic.o, weak_undef_file2_nonpic.o)
(weak_undef_lib_nonpic.so, alt/weak_undef_lib_nonpic.so): New targets.
* testsuite/Makefile.in: Rebuild.
* testsuite/weak_undef.h: New file.
* testsuite/weak_undef_file1.cc: Add extra test cases.
* testsuite/weak_undef_file2.cc: Likewise.
* testsuite/weak_undef_test.cc: Likewise.

16 years ago*** empty log message ***
gdbadmin [Thu, 17 Apr 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Thu, 17 Apr 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agoelfcpp/
davem [Wed, 16 Apr 2008 23:21:01 +0000 (23:21 +0000)]
elfcpp/

* elfcpp.h (DF_1_NOW, DF_1_GLOBAL, DF_1_GROUP,
DF_1_NODELETE, DF_1_LOADFLTR, DF_1_INITFIRST,
DF_1_NOOPEN, DF_1_ORIGIN, DF_1_DIRECT, DF_1_TRANS,
DF_1_INTERPOSE, DF_1_NODEFLIB, DF_1_NODUMP,
DF_1_CONLFAT): New enum constants.

gold/

* options.h (DEFINE_enable): New macro.
(new_dtags): New enable option.
(initfirst, interpose, loadfltr, nodefaultlib,
nodelete, nodlopen, nodump): New -z options.
* layout.cc (Layout:finish_dynamic_section): If new
dtags enabled, emit DT_RUNPATH.  Also, emit a
DT_FLAGS_1 containing any specified -z flags.

16 years ago PR gdb/2445
drow [Wed, 16 Apr 2008 22:54:54 +0000 (22:54 +0000)]
PR gdb/2445
* exec.c: Correct "arch-utils.h" include.

16 years ago * copy-relocs.cc: New file.
ian [Wed, 16 Apr 2008 22:54:29 +0000 (22:54 +0000)]
* copy-relocs.cc: New file.
* copy-relocs.h: New file.
* reloc.cc: Remove Copy_relocs code.
* reloc.h: Likewise.
* reloc-types.h (struct Reloc_types) [both versions]: Add
get_reloc_addend_noerror.
* output.h (class Output_data_reloc<elfcpp::SHT_REL>): Add
variants of add_global which take an addend which must be zero.
* i386.cc: Include "copy-relocs.h".
(class Target_i386): Change type of copy_relocs_ to variable,
update initializer.
(Target_i386::copy_reloc): Rewrite to pass to Copy_relocs class.
Change all callers.
(Target_i386::do_finalize_sections): Change handling of
copy_relocs_.
* sparc.cc: Include "copy-relocs.h".
(class Target_sparc): Change type of copy_relocs_ to variable,
update initializer.
(Target_sparc::copy_reloc): Rewrite to pass to Copy_relocs class.
Change all callers.
(Target_sparc::do_finalize_sections): Change handling of
copy_relocs_.
* x86_64.cc: Include "copy-relocs.h".
(class Target_x86_64): Change type of copy_relocs_ to variable,
update initializer.
(Target_x86_64::copy_reloc): Rewrite to pass to Copy_relocs
class.  Change all callers.
(Target_x86_64::do_finalize_sections): Change handling of
copy_relocs_.
* Makefile.am (CCFILES): Add copy-relocs.cc.
(HFILES): Add copy-relocs.h.

16 years ago2008-04-16 Patrick Mansfield <patmans@us.ibm.com>
jjohnstn [Wed, 16 Apr 2008 20:04:08 +0000 (20:04 +0000)]
2008-04-16  Patrick Mansfield  <patmans@us.ibm.com>

* libc/machine/spu/sys/errno.h: Use _impure_data, not _reent_data.

16 years ago * Makefile.in, aclocal.m4, testsuite/Makefile.in: Rebuild.
ian [Wed, 16 Apr 2008 18:55:15 +0000 (18:55 +0000)]
* Makefile.in, aclocal.m4, testsuite/Makefile.in: Rebuild.

16 years ago2008-04-16 Patrick Mansfield <patmans@us.ibm.com>
jjohnstn [Wed, 16 Apr 2008 18:46:20 +0000 (18:46 +0000)]
2008-04-16  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/machine/spu/impure.c: Add missing underscore to impure_data.

16 years ago * config.bfd (i[3-7]86-*-dicos*, x86_64-*-dicos*): Add.
palves [Wed, 16 Apr 2008 18:02:00 +0000 (18:02 +0000)]
* config.bfd (i[3-7]86-*-dicos*, x86_64-*-dicos*): Add.

16 years ago * testsuite/script_test_4.sh: Permit leading zeroes.
ian [Wed, 16 Apr 2008 17:43:38 +0000 (17:43 +0000)]
* testsuite/script_test_4.sh: Permit leading zeroes.

16 years ago * fhandler_socket.cc (fhandler_socket::close): Disable enforced
corinna [Wed, 16 Apr 2008 17:22:14 +0000 (17:22 +0000)]
* fhandler_socket.cc (fhandler_socket::close): Disable enforced
lingering since the original problem can no longer be reproduced.

16 years ago<opcode changes>
dwarak [Wed, 16 Apr 2008 15:31:32 +0000 (15:31 +0000)]
<opcode changes>
2008-04-16  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
            Michael Meissner  <michael.meissner@amd.com>

        * i386-opc.tbl: Fix protX to allow memory in the middle operand.
        * i386-tbl.h: Regenerate from i386-opc.tbl.

<gas/testsuite changes>
2008-04-16  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
            Michael Meissner  <michael.meissner@amd.com>

        * gas/i386/x86-64-sse5.s: Add protX tests to allow memory in the middle
        operand.
        * gas/i386/x86-64-sse5.d: Likewise.

16 years ago * gdb.texinfo (GDB/MI Simple Examples): Added 'disp' field to the
aristovski [Wed, 16 Apr 2008 13:14:18 +0000 (13:14 +0000)]
* gdb.texinfo (GDB/MI Simple Examples): Added 'disp' field to the
sample output for 'stopped,reason="breakpoint-hit"' message.
(GDB/MI Program Execution): Likewise.

16 years ago * grp.cc (internal_getgroups): Drop local buf. Allocate groups
corinna [Wed, 16 Apr 2008 10:02:04 +0000 (10:02 +0000)]
* grp.cc (internal_getgroups): Drop local buf.  Allocate groups
directly using alloca.

16 years agoSorry, missed this ChangeLog updat in previous commit.
davem [Wed, 16 Apr 2008 08:52:15 +0000 (08:52 +0000)]
Sorry, missed this ChangeLog updat in previous commit.

16 years agobfd/
davem [Wed, 16 Apr 2008 08:51:17 +0000 (08:51 +0000)]
bfd/

* reloc.c (BFD_RELOC_SPARC_GOTDATA_HIX22,
BFD_RELOC_SPARC_GOTDATA_LOX10, BFD_RELOC_SPARC_GOTDATA_OP_HIX22,
BFD_RELOC_SPARC_GOTDATA_OP_LOX10, BFD_RELOC_SPARC_GOTDATA_OP): New.
* libbfd.h: Regnerate.
* bfd-in2.h: Regenerate.
* elfxx-sparc.c (_bfd_sparc_elf_howto_table): Add entries for
GOTDATA relocations.
(sparc_reloc_map): Likewise.
(_bfd_sparc_elf_check_relocs): Handle R_SPARC_GOTDATA_* like
R_SPARC_GOT*.
(_bfd_sparc_elf_gc_sweep_hook): Likewise.
(_bfd_sparc_elf_relocate_section): Transform R_SPARC_GOTDATA_HIX22,
R_SPARC_GOTDATA_LOX10, R_SPARC_GOTDATA_OP_HIX22, and
R_SPARC_GOTDATA_OP_LOX10 into the equivalent R_SPARC_GOT* reloc.
Simply ignore R_SPARC_GOTDATA_OP relocations.

gas/

* config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
and relocation generation.
(tc_gen_reloc): Likewise.

gas/testsuite/

* gas/sparc/gotops32.d: New.
* gas/sparc/gotops32.s: Likewise.
* gas/sparc/gotops64.d: Likewise.
* gas/sparc/gotops64.s: Likewise.
* gas/sparc/sparc.exp: Run new gotdata tests.

ld/testsuite/

* ld-sparc/gotop32.dd: New.
* ld-sparc/gotop32.rd: Likewise.
* ld-sparc/gotop32.s: Likewise.
* ld-sparc/gotop32.sd: Likewise.
* ld-sparc/gotop32.td: Likewise.
* ld-sparc/gotop64.dd: Likewise.
* ld-sparc/gotop64.rd: Likewise.
* ld-sparc/gotop64.s: Likewise.
* ld-sparc/gotop64.sd: Likewise.
* ld-sparc/gotop64.td: Likewise.
* ld-sparc/sparc.exp: Run new gotdata tests.

16 years ago * elf/sparc.h (R_SPARC_GOTDATA_HIX22,
davem [Wed, 16 Apr 2008 08:35:17 +0000 (08:35 +0000)]
* elf/sparc.h (R_SPARC_GOTDATA_HIX22,
R_SPARC_GOTDATA_LOX10, R_SPARC_GOTDATA_OP_HIX22,
R_SPARC_GOTDATA_OP_LOX10, R_SPARC_GOTDATA_OP,
R_SPARC_H34, R_SPARC_SIZE32, R_SPARC_SIZE64): New relocs.

16 years agoMove entries for changes in sub-directories into the changelogs in those sub-
nickc [Wed, 16 Apr 2008 08:33:54 +0000 (08:33 +0000)]
Move entries for changes in sub-directories into the changelogs in those sub-
directories.

16 years ago PR binutils/6034
nickc [Wed, 16 Apr 2008 08:24:20 +0000 (08:24 +0000)]
    PR binutils/6034
        * objcopy.c (stuct symlist): Rename to
        is_specified_symbol_predicate_data.
        (strip_specific_list): Rename to strip_specific_htab.
        (strip_unneeded_list): Rename to strip_unneeded_htab.
        (keep_specific_list):  Rename to keep_specific_htab.
        (localize_specific_list): Rename to localize_specific_htab.
        (globalize_specific_list): Rename to globalize_specific_htab.
        (keepglobal_specific_list): Rename to keepglobal_specific_htab.
        (weaken_specific_list): Rename to weaken_specific_htab.
        (eq_string): New function.
        (create_symbol_htab): New function.
        (create_symbol_htabs): New function.
        (add_specific_symbol): Change to use hash tables.
        (is_specified_symbol_predicate): New function.
        (is_specified_symbol): Use hash table lookup.
        (is_strip_section): Update to use new functions and hash tables.
        (filter_symbols): Likewise.
        (copy_object): Likewise.
        (copy_section): Likewise.
        (strip_main): Likewise.
        (copy_main): Likewise.
        (main): Likewise.

16 years ago * sparc.h (EF_SPARC_EXT_MASK, EF_SPARC_32PLUS_MASK,
davem [Wed, 16 Apr 2008 01:56:33 +0000 (01:56 +0000)]
* sparc.h (EF_SPARC_EXT_MASK, EF_SPARC_32PLUS_MASK,
EF_SPARC_32PLUS, EF_SPARC_SUN_US1, EF_SPARC_HAL_R1,
EF_SPARC_SUN_US3, EF_SPARC_LEDATA, EF_SPARCV9_MM,
EF_SPARCV9_TSO, EF_SPARCV9_PSO, EF_SPARCV9_RMO):
Define as enum constants.

16 years ago*** empty log message ***
gdbadmin [Wed, 16 Apr 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Wed, 16 Apr 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago * script-sections.cc (Script_sections::create_segments): Use
ian [Tue, 15 Apr 2008 22:50:37 +0000 (22:50 +0000)]
* script-sections.cc (Script_sections::create_segments): Use
header_size_adjustment even when there is enough room for the
headers.
* testsuite/script_test_4.sh: New file.
* testsuite/script_test_4.t: New file.
* testsuite/Makefile.am (check_SCRIPTS): Add script_test_4.sh.
(check_DATA): Add script_test_4.stdout.
(MOSTLYCLEANFILES): Likewise.
(script_test_4): New target.
(script_test_4.stdout): New target.
* testsuite/Makefile.in: Rebuild.

16 years ago * sparc.cc: Add definitions for Output_data_plt_sparc class
ian [Tue, 15 Apr 2008 21:41:29 +0000 (21:41 +0000)]
* sparc.cc: Add definitions for Output_data_plt_sparc class
constants.

16 years ago2008-04-14 Patrick Mansfield <patmans@us.ibm.com>
jjohnstn [Tue, 15 Apr 2008 19:59:18 +0000 (19:59 +0000)]
2008-04-14  Patrick Mansfield  <patmans@us.ibm.com>

        * spu/sbrk.c: Remove "extern int errno", use whatever is supplied
        by sys/errno.h.

16 years ago2008-04-14 Patrick Mansfield <patmans@us.ibm.com>
jjohnstn [Tue, 15 Apr 2008 19:57:47 +0000 (19:57 +0000)]
2008-04-14  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/machine/spu/impure.c: New file, supply a non-static _impure_data.
        * libc/machine/spu/Makefile.am: Add new file impure.c.
        * libc/machine/spu/Makefile.in: Regenerate.
        * libc/machine/spu/sys/errno.h: Define errno to be _reent_data._errno.

16 years ago2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
ams [Tue, 15 Apr 2008 15:53:22 +0000 (15:53 +0000)]
2008-04-15  Andrew Stubbs  <andrew.stubbs@st.com>

gas/

* config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
relocations are properly aligned, and not negative.

gas/testsuite/

* gas/sh/arch/arch.exp: Align PC-relative instructions in the gererated
assembly files.
* gas/sh/arch/sh-dsp.s: Regenerate.
* gas/sh/arch/sh.s: Regenerate.
* gas/sh/arch/sh2.s: Regenerate.
* gas/sh/arch/sh2a-nofpu-or-sh3-nommu.s: Regenerate.
* gas/sh/arch/sh2a-nofpu-or-sh4-nommu-nofpu.s: Regenerate.
* gas/sh/arch/sh2a-nofpu.s: Regenerate.
* gas/sh/arch/sh2a-or-sh3e.s: Regenerate.: Regenerate.
* gas/sh/arch/sh2a-or-sh4.s: Regenerate.
* gas/sh/arch/sh2a.s: Regenerate.
* gas/sh/arch/sh2e.s: Regenerate.
* gas/sh/arch/sh3-dsp.s: Regenerate.
* gas/sh/arch/sh3-nommu.s: Regenerate.
* gas/sh/arch/sh3.s: Regenerate.
* gas/sh/arch/sh3e.s: Regenerate.
* gas/sh/arch/sh4-nofpu.s: Regenerate.
* gas/sh/arch/sh4-nommu-nofpu.s: Regenerate.
* gas/sh/arch/sh4.s: Regenerate.
* gas/sh/arch/sh4a-nofpu.s: Regenerate.
* gas/sh/arch/sh4a.s: Regenerate.
* gas/sh/arch/sh4al-dsp.s: Regenerate.
* gas/sh/err-mova.s: New test.

ld/testsuite/

* ld-sh/arch/sh-dsp.s: Regenerate.
* ld-sh/arch/sh.s: Regenerate.
* ld-sh/arch/sh2.s: Regenerate.
* ld-sh/arch/sh2a-nofpu-or-sh3-nommu.s: Regenerate.
* ld-sh/arch/sh2a-nofpu-or-sh4-nommu-nofpu.s: Regenerate.
* ld-sh/arch/sh2a-nofpu.s: Regenerate.
* ld-sh/arch/sh2a-or-sh3e.s: Regenerate.: Regenerate.
* ld-sh/arch/sh2a-or-sh4.s: Regenerate.
* ld-sh/arch/sh2a.s: Regenerate.
* ld-sh/arch/sh2e.s: Regenerate.
* ld-sh/arch/sh3-dsp.s: Regenerate.
* ld-sh/arch/sh3-nommu.s: Regenerate.
* ld-sh/arch/sh3.s: Regenerate.
* ld-sh/arch/sh3e.s: Regenerate.
* ld-sh/arch/sh4-nofpu.s: Regenerate.
* ld-sh/arch/sh4-nommu-nofpu.s: Regenerate.
* ld-sh/arch/sh4.s: Regenerate.
* ld-sh/arch/sh4a-nofpu.s: Regenerate.
* ld-sh/arch/sh4a.s: Regenerate.
* ld-sh/arch/sh4al-dsp.s: Regenerate.

16 years ago * gdb.base/attach.exp (do_attach_tests): Matching pattern for
aristovski [Tue, 15 Apr 2008 14:33:53 +0000 (14:33 +0000)]
* gdb.base/attach.exp (do_attach_tests): Matching pattern for
temporary breakpoint to match "Temporary breakpoint".
* gdb.base/break.exp (delete_breakpoints): Likewise.
* gdb.base/call-ar-st.exp (get_debug_format): Likewise.
* gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
* gdb.base/display.exp: Likewise.
* gdb.base/foll-exec.exp (do_exec_tests): Likewise.
* gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
* gdb.base/restore.exp (restore_tests): Likewise.
* gdb.base/sepdebug.exp: Likewise.
* gdb.base/watchpoint.exp: Likewise.
* gdb.mi/mi-cli.exp: Added argument for new "disp" field.
* gdb.mi/mi-pending.exp: Likewise.
* gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
* gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
* gdb.mi/mi-var-cmd.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
* gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
* lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
* lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
new "disp" field.
(mi_expect_stop): Move after_reason argument to be really after
reason. This is to support fix for PR2424.

16 years agoPR gdb/2424
aristovski [Tue, 15 Apr 2008 14:32:11 +0000 (14:32 +0000)]
PR gdb/2424
* infrun.c (normal_stop) Move breakpoint_auto_delete further down
to allow printing to 'see' real reason of stop. This fixes PR 2424.
* breakpoint.c (bpdisp_texst): New function. The function takes over
the role of bpstats static array in print_one_breakpoint_location.
(print_it_typical): Print "Temporary breakpoint" instead
of just "Breakpoint" when breakpoint is, well, temporary. For mi-like
protocols, print disp field.
(print_one_breakpoint_location): Removed bpdisps static definition.
Call new bpstat_text function to get value for 'disp' field.
(mention): Print "Temporary breakpoint" instead of just "Breakpoint".

16 years ago* doc/tc-arm.texi: Fix fnstart and fnend directive names.
nickc [Tue, 15 Apr 2008 14:25:30 +0000 (14:25 +0000)]
* doc/tc-arm.texi: Fix fnstart and fnend directive names.

16 years ago * gnulib/Makefile.am, gnulib/m4/gnulib-cache.m4,
drow [Tue, 15 Apr 2008 12:53:18 +0000 (12:53 +0000)]
* gnulib/Makefile.am, gnulib/m4/gnulib-cache.m4,
gnulib/aux/link-warning.h, gnulib/extra/link-warning.h: Adjust
by rerunning gnulib-tool with --aux-dir=gnulib/extra.
* gnulib/Makefile.in: Regenerate.

16 years ago * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
jkratoch [Tue, 15 Apr 2008 09:00:32 +0000 (09:00 +0000)]
* gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.