binutils-gdb.git
19 years ago * elflink.c (elf_gc_mark_dynamic_ref_symbol): Handle -shared.
Alan Modra [Tue, 26 Jul 2005 12:06:38 +0000 (12:06 +0000)]
* elflink.c (elf_gc_mark_dynamic_ref_symbol): Handle -shared.
(bfd_elf_gc_sections): Allow -gc-sections when -shared.
* elf32-ppc.c (ppc_elf_gc_sweep_hook): Correct for -shared.

19 years ago * elflink.c (elf_gc_sweep): Move gcc_except_table code..
Alan Modra [Tue, 26 Jul 2005 11:47:05 +0000 (11:47 +0000)]
* elflink.c (elf_gc_sweep): Move gcc_except_table code..
(bfd_elf_gc_sections): ..to here.

19 years agomissed from 2005-07-18 commit
Alan Modra [Tue, 26 Jul 2005 11:08:59 +0000 (11:08 +0000)]
missed from 2005-07-18 commit

19 years ago[bfd]
DJ Delorie [Tue, 26 Jul 2005 03:21:53 +0000 (03:21 +0000)]
[bfd]
* reloc.c: Remove unused M32C relocs, add BFD_RELOC_M32C_HI8.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.

* elf32-m32c.c (m32c_elf_howto_table): Add R_M32C_8, R_M32C_LO16,
R_M32C_HI8, R_M32C_HI16.
(m32c_reloc_map): Likewise.
(m32c_elf_relocate_section): Add R_M32C_HI8 and R_M32C_HI16.

[cpu]
* m32c.opc (parse_unsigned8): Add %dsp8().
(parse_signed8): Add %hi8().
(parse_unsigned16): Add %dsp16().
(parse_signed16): Add %lo16() and %hi16().
(parse_lab_5_3): Make valuep a bfd_vma *.

[gas]
* config/tc-m32c.c (md_cgen_lookup_reloc): Add 8 bit operands.
Support %mod() modifiers from opcodes.
* doc/c-m32c.texi (M32C-Modifiers): New section.

[include/elf]

* m32c.h: Add R_M32C_8, R_M32C_LO16, R_M32C_HI8, and R_M32C_HI16.

[opcodes]
* m32c-asm.c Regenerate.
* m32c-dis.c Regenerate.

19 years agodaily update
Alan Modra [Tue, 26 Jul 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Tue, 26 Jul 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* inf-ptrace.c [PT_GET_PROCESS_STATE] (inf_ptrace_follow_fork):
Mark Kettenis [Mon, 25 Jul 2005 21:11:02 +0000 (21:11 +0000)]
* inf-ptrace.c [PT_GET_PROCESS_STATE] (inf_ptrace_follow_fork):
New function.
(inf_ptrace_him, inf_ptrace_attach) [PT_GET_PROCESS_STATE]: Set
PTRACE_FORK event flag.
(inf_ptrace_wait) [PT_GET_PROCESS_STATE]: Handle PTRACE_FORK
event.
(inf_ptrace_target) [PT_GET_PROCESS_STATE]: Set to_follow_fork.

19 years ago* gdb_ptrace.h (PT_TRACE_ME): Define to zero if not already
Mark Kettenis [Mon, 25 Jul 2005 20:42:29 +0000 (20:42 +0000)]
* gdb_ptrace.h (PT_TRACE_ME): Define to zero if not already
defined.
* inf-ptrace.c: Tweak comments.
(inf_ptrace_me): Use PT_TRACE_ME instead of hardcoded zero.
(inf_ptrace_mourn_inferior): Call waitpid.
(inf_ptrace_attach): Use pid_t, Remove unnecessary cast.
(inf_ptrace_detach): Use pid_t.  Use ptid_get_pid instead of
PIDGET.
(inf_ptrace_kill): Rename from inf_ptrace_kill_inferior.  Use
pid_t.  Use ptid_get_pid instead of PIDGET.
(inf_ptrace_kill): Call waitpid instead of wait.
(inf_ptrace_resume): Use pid_t.  Use ptid_get_pid instead of
PIDGET.
(inf_ptrace_wait): Use waitpid instead wait.  Use pid_t.  Don't
call target_has_exited or target_thread_alive.  Properly ignore
terminated detached child processes.
(inf_ptrace_has_exited): Remove function.
(inf_ptrace_xfer_partial): Use pid_t.  Use ptid_get_pid instead of
PIDGET.  Use gdb_byte instead of `unsigned char'.
(inf_ptrace_thread_alive): Use ptid_get_pid instead of PIDGET.
(inf_ptrace_pid_to_str): Remove function.
(inf_ptrace_target): Use inf_ptrace_kill instead of
inf_ptrace_kill_inferior.  Use normal_pid_to_str instead of
inf_ptrace_pid_to_str.  Don't set to_has_exited.
(inf_ptrace_fetch_register, inf_ptrace_store_register): Reformat
long lines.

19 years ago* inf-ptrace.c: Reorder functions.
Mark Kettenis [Mon, 25 Jul 2005 20:19:37 +0000 (20:19 +0000)]
* inf-ptrace.c: Reorder functions.
(inf_ptrace_open, inf_ptrace_reported_exec_events_per_call)
(inf_ptrace_can_run, inf_ptrace_post_attach): Removed.
(inf_ptrace_target): Don't set to_open,
to_reported_exec_events_per_call, to_can_run, to_post_attach,
to_stratum, to_has_all_memory, to_has_memory, to_has_stack,
to_has_registers, to_has_execution, to_magic.  Reorder remaining
initializations.

19 years agobfd/
H.J. Lu [Mon, 25 Jul 2005 15:41:08 +0000 (15:41 +0000)]
bfd/

2005-07-25  Jan Hubicka  <jh@suse.cz>
    H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (_bfd_elf_large_com_section): New.
* elf.c (_bfd_elf_large_com_section): New. Defined.

* elf64-x86-64.c (elf64_x86_64_add_symbol_hook): New.
(elf64_x86_64_elf_section_from_bfd_section): New.
(elf64_x86_64_symbol_processing): New.
(elf64_x86_64_common_definition): New.
(elf64_x86_64_common_section_index): New.
(elf64_x86_64_common_section): New.
(elf64_x86_64_merge_symbol): New.
(elf64_x86_64_additional_program_headers): New.
(elf64_x86_64_special_sections): New.
(elf_backend_section_from_bfd_section): New. Defined.
(elf_backend_add_symbol_hook): Likewise.
(elf_backend_common_section_index): Likewise.
(elf_backend_common_section): Likewise.
(elf_backend_common_definition): Likewise.
(elf_backend_merge_symbol): Likewise.
(elf_backend_special_sections): Likewise.
(elf_backend_additional_program_headers): Likewise.

binutils/

2005-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (dump_relocations): Handle SHN_X86_64_LCOMMON.
(get_symbol_index_type): Likewise.
(get_elf_section_flags): Handle SHF_X86_64_LARGE.

gas/

2005-07-25  Jan Hubicka  <jh@suse.cz>
    H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c: Include "elf/x86-64.h" if TC_I386 is
defined.
(elf_com_section_ptr): New.
(elf_begin): Set elf_com_section_ptr to bfd_com_section_ptr.
(elf_common_parse): Make it global. Use elf_com_section_ptr
instead of bfd_com_section_ptr.
(obj_elf_change_section): Handle x86-64 large bss sections.

* config/obj-elf.h (elf_com_section_ptr): New.
(elf_common_parse): New.

* config/tc-i386.c (handle_large_common): New.
(md_pseudo_table): Add "largecomm".
(x86_64_section_letter): New.
(x86_64_section_word): New.

* config/tc-i386.h (x86_64_section_word): New.
(x86_64_section_letter): New.
(md_elf_section_letter): New. Defined.
(md_elf_section_word): Likewise.

include/elf/

2005-07-25  Jan Hubicka  <jh@suse.cz>

* x86-64.h (SHN_X86_64_LCOMMON): New.
(SHF_X86_64_LARGE): New.

ld/

2005-07-25  Jan Hubicka  <jh@suse.cz>
    H.J. Lu  <hongjiu.lu@intel.com>

* emulparams/elf_x86_64.sh (LARGE_SECTIONS): New.

* scripttempl/elf.sc: Updated for large section support.

19 years ago2005-07-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 25 Jul 2005 15:35:37 +0000 (15:35 +0000)]
2005-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (elf_backend_data): Add common_definition,
common_section_index, common_section, and merge_symbol.
(_bfd_elf_common_definition): New.
(_bfd_elf_common_section_index): New.
(_bfd_elf_common_section): New.

* elf.c (elf_fake_sections): Don't clear sh_flags.

* elflink.c (_bfd_elf_merge_symbol): Call backend merge_symbol
if it is available.
(is_global_data_symbol_definition): Call backend
common_definition instead of checking SHN_COMMON.
(elf_link_add_object_symbols): Likewise.
(elf_link_output_extsym): Call backend common_section_index
for common section index.
(_bfd_elf_common_definition): New.
(_bfd_elf_common_section_index): New.
(_bfd_elf_common_section): New.

* elfxx-target.h (elf_backend_common_definition): New.
(elf_backend_common_section_index): New.
(elf_backend_common_section): New.
(elf_backend_merge_symbol): New.
(elfNN_bed): Initialize common_definition, common_section_index,
common_section, and merge_symbol.

* section.c (BFD_FAKE_SECTION): New.
(STD_SECTION): Use it.
* bfd-in2.h: Regenerated.

19 years agoClarify ANSI, not POSIX, terminal escapes in ChangeLog
Mark Mitchell [Mon, 25 Jul 2005 15:13:33 +0000 (15:13 +0000)]
Clarify ANSI, not POSIX, terminal escapes in ChangeLog

19 years ago * input.c (rl_getc): Use getch to read console input on
Mark Mitchell [Mon, 25 Jul 2005 15:09:31 +0000 (15:09 +0000)]
* input.c (rl_getc): Use getch to read console input on
Windows.
* readline.c (bind_arrow_keys_internal): Translate
Windows keysequences into POSIX key sequences.
* rldefs.h (NO_TTY_DRIVER): Define on MinGW.
* rltty.c: Conditionalize on NO_TTY_DRIVER throughout.

19 years ago * configure.ac: On MinGW, do not require a termcap library, and
Mark Mitchell [Mon, 25 Jul 2005 15:08:41 +0000 (15:08 +0000)]
* configure.ac: On MinGW, do not require a termcap library, and
use win32-termcap.c.
* configure: Regenerated.
* win32-termcap.c: New file.

19 years agodaily update
Alan Modra [Mon, 25 Jul 2005 00:00:09 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Mon, 25 Jul 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * ser-tcp.c (close): Define as a function-like macro on MinGW.
Mark Mitchell [Sun, 24 Jul 2005 23:02:41 +0000 (23:02 +0000)]
* ser-tcp.c (close): Define as a function-like macro on MinGW.

19 years ago * chew.c: Include <string.h>.
Daniel Jacobowitz [Sun, 24 Jul 2005 16:57:42 +0000 (16:57 +0000)]
* chew.c: Include <string.h>.

19 years ago2005-07-24 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Sun, 24 Jul 2005 13:57:01 +0000 (13:57 +0000)]
2005-07-24  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl: Wrap install between unstage and stage
* Makefile.in: Regenerate.

19 years agodaily update
Alan Modra [Sun, 24 Jul 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sun, 24 Jul 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-07-23 Olaf Hering <olh@suse.de>
H.J. Lu [Sat, 23 Jul 2005 15:42:51 +0000 (15:42 +0000)]
2005-07-23  Olaf Hering <olh@suse.de>

* elflink.c (elf_link_input_bfd): Add '\n' for linker einfo
callback.

19 years agomerge from gcc
DJ Delorie [Sat, 23 Jul 2005 15:17:18 +0000 (15:17 +0000)]
merge from gcc

19 years agodaily update
Alan Modra [Sat, 23 Jul 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 23 Jul 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* chew.c: Include stdlib.h.
DJ Delorie [Fri, 22 Jul 2005 23:54:56 +0000 (23:54 +0000)]
* chew.c: Include stdlib.h.

19 years ago * chew.c: Don't include sysdep.h.
Kazu Hirata [Fri, 22 Jul 2005 18:16:17 +0000 (18:16 +0000)]
* chew.c: Don't include sysdep.h.

19 years agoRemove special case handling for rtems targets that are sufficiently handled by
Nick Clifton [Fri, 22 Jul 2005 10:34:30 +0000 (10:34 +0000)]
Remove special case handling for rtems targets that are sufficiently handled by
the default rtems targets.

19 years ago(m32r_elf_check_relocs): Fix pc count for R_M32R_REL32.
Nick Clifton [Fri, 22 Jul 2005 10:27:44 +0000 (10:27 +0000)]
(m32r_elf_check_relocs): Fix pc count for R_M32R_REL32.

19 years agomerge from gcc
DJ Delorie [Fri, 22 Jul 2005 04:28:52 +0000 (04:28 +0000)]
merge from gcc

19 years agomerge from gcc
DJ Delorie [Fri, 22 Jul 2005 03:26:05 +0000 (03:26 +0000)]
merge from gcc

19 years agomerge from gcc
DJ Delorie [Fri, 22 Jul 2005 03:16:33 +0000 (03:16 +0000)]
merge from gcc

19 years agomerge from gcc
DJ Delorie [Fri, 22 Jul 2005 03:00:51 +0000 (03:00 +0000)]
merge from gcc

19 years ago * configure.ac: Check for a getopt(3) declaration.
Ben Elliston [Fri, 22 Jul 2005 02:10:56 +0000 (02:10 +0000)]
* configure.ac: Check for a getopt(3) declaration.
* configure, config.in: Regenerate.

19 years ago*** empty log message ***
gdbadmin [Fri, 22 Jul 2005 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Fri, 22 Jul 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago2005-07-21 Eric Christopher <echristo@apple.com>
Eric Christopher [Thu, 21 Jul 2005 22:30:16 +0000 (22:30 +0000)]
2005-07-21  Eric Christopher  <echristo@apple.com>

* MAINTAINERS (Misc): Update affiliation.

19 years ago2005-07-21 Eric Christopher <echristo@apple.com>
Eric Christopher [Thu, 21 Jul 2005 18:23:57 +0000 (18:23 +0000)]
2005-07-21  Eric Christopher  <echristo@apple.com>

        * MAINTAINERS: Change affiliation.

19 years agobfd/
Ben Elliston [Thu, 21 Jul 2005 13:23:37 +0000 (13:23 +0000)]
bfd/
* Makefile.am (BFD32_BACKENDS): Remove cf-m68klynx.lo.
(BFD32_BACKENDS): Likewise, remove m68klynx.lo.
(BFD32_BACKENDS_CFILES): Remove cf-m68klynx.c, m68klynx.c.
(cf-m68klynx.lo, m68klynx.lo): Remove targets.
* Makefile.in: Regenerate.
* cf-m68klynx.c: Remove.
* m68klynx.c: Likewise.
* configure.in (m68klynx_aout_vec): Remove vector.
(m68klynx_coff_vec): Likewise.
* configure: Regenerate.
* targets.c (m68klynx_aout_vec): Remove extern.
(m68klynx_coff_vec): Likewise.
(_bfd_target_vector): Remove m68klynx_{aout,coff}_vec.
* po/SRC-POTFILES.in: Remove cf-m68klynx.c, m68klynx.c.
gas/
* config/tc-m68k.h: Remove TE_LYNX conditional code.

19 years ago2005-07-21 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 21 Jul 2005 13:11:28 +0000 (13:11 +0000)]
2005-07-21  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (encode_thumb32_addr_mode): Don't set
inst.reloc.pc_rel.
gas/testsuite/
* gas/arm/thumb32.s: Add tests for [pc, #imm] addressing modes.
* gas/arm/thumb32.d: Ditto.

19 years ago* inf-ttrace.c (inf_ttrace_wait): Properly report TTEVT_EXEC
Mark Kettenis [Thu, 21 Jul 2005 10:36:19 +0000 (10:36 +0000)]
* inf-ttrace.c (inf_ttrace_wait): Properly report TTEVT_EXEC
events as TARGET_WAITKIND_EXECD.
(inf_ttrace_detach): Reorder local variables.

19 years agoUse vsnprintf instead of vsprintf.
Nick Clifton [Thu, 21 Jul 2005 08:03:54 +0000 (08:03 +0000)]
Use vsnprintf instead of vsprintf.

19 years ago * ldgram.y (ldgram_want_filename): Remove unused static.
Ben Elliston [Thu, 21 Jul 2005 07:59:10 +0000 (07:59 +0000)]
* ldgram.y (ldgram_want_filename): Remove unused static.

19 years ago*** empty log message ***
gdbadmin [Thu, 21 Jul 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Thu, 21 Jul 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago* disassemble.c (disassemble_init_for_target): M32C ISAs are
DJ Delorie [Wed, 20 Jul 2005 19:36:54 +0000 (19:36 +0000)]
* disassemble.c (disassemble_init_for_target): M32C ISAs are
enums, so convert them to bit masks, which attributes are.

19 years ago* emulparams/elf32m32c.sh (TEMPLATE_NAME): New.
DJ Delorie [Wed, 20 Jul 2005 19:33:18 +0000 (19:33 +0000)]
* emulparams/elf32m32c.sh (TEMPLATE_NAME): New.
(EXTRA_EM_FILE): New.

19 years ago* inf-ttrace.c (inf_ttrace_vfork_ppid): New variable.
Mark Kettenis [Wed, 20 Jul 2005 13:25:28 +0000 (13:25 +0000)]
* inf-ttrace.c (inf_ttrace_vfork_ppid): New variable.
(inf_ttrace_follow_fork): New function.
(inf_ttrace_him, inf_ttrace_attach): Ask for TTEVT_FORK and
TTEVT_VFORK events.  Replace TTEO_NOSTRCHLD option with
TTEO_PROC_INHERIT.
(inf_ttrace_create_inferior, inf_ttrace_attach): Add checks for
inf_ttrace_vfork_ppid.
(inf_ttrace_kill_inferior, inf_ttrace_detach): Detach from waiting
parent if appropriate.
(inf_ttrace_wait): Handle TTEVT_FORK and TTEVT_VFORK.
(inf_ttrace_target): Set to_follow_fork.

19 years agoAdd support for a 32bit PC relative reloc
Nick Clifton [Wed, 20 Jul 2005 11:35:03 +0000 (11:35 +0000)]
Add support for a 32bit PC relative reloc

19 years ago* remote.c (remote_pid_to_str): Use xsnprintf instead of snprintf.
Wu Zhou [Wed, 20 Jul 2005 02:56:43 +0000 (02:56 +0000)]
* remote.c (remote_pid_to_str): Use xsnprintf instead of snprintf.

19 years agodaily update
Alan Modra [Wed, 20 Jul 2005 00:00:18 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Wed, 20 Jul 2005 00:00:12 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-07-19 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 19 Jul 2005 21:41:03 +0000 (21:41 +0000)]
2005-07-19  H.J. Lu  <hongjiu.lu@intel.com>

* ldmain.c (main): Reindent.

19 years ago2005-07-19 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 19 Jul 2005 12:43:19 +0000 (12:43 +0000)]
2005-07-19  Paul Brook  <paul@codesourcery.com>

* configure.host (HOSTING_CRT0): Parse output of gcc --help --verbose
to determine dynamic linker name.

19 years agoAdd ChangeLog entries for yesterdays deltas (oops!)
Nick Clifton [Tue, 19 Jul 2005 10:01:32 +0000 (10:01 +0000)]
Add ChangeLog entries for yesterdays deltas (oops!)

19 years agogas/testsuite/
H.J. Lu [Tue, 19 Jul 2005 04:11:19 +0000 (04:11 +0000)]
gas/testsuite/

2005-07-18  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Add suffix.

* gas/i386/suffix.d: New file.
* gas/i386/suffix.s: Likewise.

opcodes/

2005-07-18  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (PNI_Fixup): Update comment.
(VMX_Fixup): Properly handle the suffix check.

19 years ago * hppa.h: Fix punctuation in comment.
Dave Anglin [Tue, 19 Jul 2005 03:09:33 +0000 (03:09 +0000)]
* hppa.h: Fix punctuation in comment.

19 years ago * gas/hppa/basic/fp_comp.s: Add level 1.1 directive.
Dave Anglin [Tue, 19 Jul 2005 01:41:21 +0000 (01:41 +0000)]
* gas/hppa/basic/fp_comp.s: Add level 1.1 directive.
* gas/hppa/basic/special.s, gas/hppa/basic/system.s: Likewise.

19 years ago * tc-hppa.c (pa_ip): Reject match for '#' immediate if not pa20.
Dave Anglin [Tue, 19 Jul 2005 01:14:10 +0000 (01:14 +0000)]
* tc-hppa.c (pa_ip): Reject match for '#' immediate if not pa20.

19 years ago * readelf.c (read_and_display_attr_value): Remove comment adjacent
Ben Elliston [Tue, 19 Jul 2005 00:58:52 +0000 (00:58 +0000)]
* readelf.c (read_and_display_attr_value): Remove comment adjacent
to DW_ATE_decimal_float about it being a GNU extension.

19 years ago * hppa.h (pa_opcode): Add rules for opcode ordering. Check first for
Dave Anglin [Tue, 19 Jul 2005 00:11:48 +0000 (00:11 +0000)]
* hppa.h (pa_opcode):  Add rules for opcode ordering.  Check first for
implicit space-register addressing.  Set space-register bits on opcodes
using implicit space-register addressing.  Add various missing pa20
long-immediate opcodes.  Remove various opcodes using implicit 3-bit
space-register addressing.  Use "fE" instead of "fe" in various
fstw opcodes.

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

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

19 years ago* target.c (normal_pid_to_str): Use xsnprintf instead of snprintf.
Mark Kettenis [Mon, 18 Jul 2005 21:00:50 +0000 (21:00 +0000)]
* target.c (normal_pid_to_str): Use xsnprintf instead of snprintf.
* bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
* inf-ttrace.c (inf_ttrace_pid_to_str): Likewise.

19 years ago* hppa-tdep.h (hppa_frame_prev_register_helper): Change types of
Mark Kettenis [Mon, 18 Jul 2005 20:34:09 +0000 (20:34 +0000)]
* hppa-tdep.h (hppa_frame_prev_register_helper): Change types of
last argument to `gdb_byte *'.
* hppa-tdep.c (hppa32_convert_from_func_ptr_addr): Rewrite.
(hppa_frame_prev_register_helper): Change types of last argument
to `gdb_byte *'.
* hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_prev_register):
Change types of last argument to `gdb_byte *'.

19 years ago* gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
Mark Kettenis [Mon, 18 Jul 2005 19:23:54 +0000 (19:23 +0000)]
* gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
*-*-openbsd*.
* gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.

19 years ago Jason Molenda <jmolenda@apple.com>
Mark Kettenis [Mon, 18 Jul 2005 19:18:41 +0000 (19:18 +0000)]
Jason Molenda  <jmolenda@apple.com>
* i386-tdep.c (i386_match_insn): Match complete instruction
pattern.

19 years agogas/
Jan Beulich [Mon, 18 Jul 2005 15:24:41 +0000 (15:24 +0000)]
gas/
2005-07-18  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (md_begin): Use IS_ELF.
(tc_i386_fix_adjustable): Likewise.
(md_estimate_size_before_relax): Likewise.
(md_apply_fix): Likewise.
(i386_target_format): Likewise.
(lex_got): Define to NULL when not ELF or when LEX_AT. Check IS_ELF.
(i386_immediate): Remove #ifdef LEX_AT.
(i386_displacement): Likewise.
* config/tc-i386.h (x86_cons): Prototype only when ELF and when not
LEX_AT.

19 years agoFix spelling of Red Hat
Nick Clifton [Mon, 18 Jul 2005 14:16:51 +0000 (14:16 +0000)]
Fix spelling of Red Hat

19 years agoFix building for MS1 and M32C.
Nick Clifton [Mon, 18 Jul 2005 14:13:36 +0000 (14:13 +0000)]
Fix building for MS1 and M32C.
Restore alpha- sorting to the architecture tables.

19 years ago* i386-tdep.c (i386_reg_struct_return_p): Handle structures with a
Mark Kettenis [Mon, 18 Jul 2005 12:40:13 +0000 (12:40 +0000)]
* i386-tdep.c (i386_reg_struct_return_p): Handle structures with a
single 'long double' member correctly.
(i386_return_value): Tweak comment.

19 years ago* gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
Mark Kettenis [Mon, 18 Jul 2005 08:12:03 +0000 (08:12 +0000)]
* gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
sigaltsatck'.

19 years agogas/
Jan Beulich [Mon, 18 Jul 2005 06:27:24 +0000 (06:27 +0000)]
gas/
2005-07-18  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (reloc): Convert to ISO C90. Change first
parameter to unsigned. Parameter sign now is tristate - zero/
positive mean unsigned/signed, negative means signedness doesn't
matter. Check field size,
signedness, and pcrel-ness are in agreement between relocated field
and relocation type. Adjust diagnostics.
(optimize_imm): And type mask of operand instead of overwriting it.
(lex_got): Convert to ISO C90. Add third parameter. Add new field to
local structure and initialize gotrel accordingly. Pass caller as
mask of types that the operator can match.
(x86_cons_fix_new): Let reloc know that signedness of relocation
doesn't matter.
(x86_pe_cons_fix_new): Likewise.
(x86_cons): Pass additional argument to lex_got.
(i386_immediate): New local variable 'types'. Pass its address as
additional argument to lex_got. Mask out operand types not supported
befoe returning.
(i386_displacement): Likewise. Set bigdisp to all types supported in
64-bit mode, combining the previously split initialization.

gas/testsuite/
2005-07-18  Jan Beulich  <jbeulich@novell.com>

* gas/i386/reloc32.[sdl]: New.
* gas/i386/reloc64.[sdl]: New.
* gas/i386/i386.exp: Run new tests.

19 years agobfd/
Jan Beulich [Mon, 18 Jul 2005 06:23:40 +0000 (06:23 +0000)]
bfd/
2005-07-18  Jan Beulich  <jbeulich@novell.com>

* elf32-i386.c (elf_howto_table): Adjust overflow complaint handler
for R_386_PC16.
* elf64-x86-64.c (x86_64_elf_howto_table): Adjust overflow complaint
handler for R_X86_64_PC16, R_X86_64_8, and R_X86_64_DTPOFF.

ld/testsuite/
2005-07-18  Jan Beulich  <jbeulich@novell.com>

* ld-i386/abs.s, ld-i386/zero.s, ld-i386/abs.d, ld-x86-64/abs.d,
ld-i386/pcrel16.s, ld-i386/pcrel16.d, ld-x86-64/pcrel16.d,
ld-i386/pcrel8.s, ld-i386/pcrel8.d, ld-x86-64/pcrel8.d: New.
* ld-i386/i386.exp, ld-x86-64/x86-64.exp: Run new tests.

19 years agogas/
Jan Beulich [Mon, 18 Jul 2005 06:13:00 +0000 (06:13 +0000)]
gas/
2005-07-18  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (parse_insn): Reject prefix if unavailable in
current mode.

19 years agoinclude/opcode/
Jan Beulich [Mon, 18 Jul 2005 06:11:00 +0000 (06:11 +0000)]
include/opcode/
2005-07-18  Jan Beulich  <jbeulich@novell.com>

* i386.h (i386_optab): Operands of aam and aad are unsigned.

19 years agoTypo fix.
Ben Elliston [Mon, 18 Jul 2005 05:45:50 +0000 (05:45 +0000)]
Typo fix.

19 years agobinutils/
Ben Elliston [Mon, 18 Jul 2005 04:13:05 +0000 (04:13 +0000)]
binutils/
* readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
value of DW_ATE_decimal_float instead of DW_ATE_GNU_decimal_float.
include/elf/
* dwarf2.h (enum dwarf_type): Remove DW_AT_GNU_decimal_float.
Replace with DW_ATE_decimal_float (now in DWARF 3).

19 years agodaily update
Alan Modra [Mon, 18 Jul 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Mon, 18 Jul 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * hppa-dis.c (print_insn_hppa): Add space after 'w' in wide-mode
Dave Anglin [Sun, 17 Jul 2005 02:26:26 +0000 (02:26 +0000)]
* hppa-dis.c (print_insn_hppa): Add space after 'w' in wide-mode
mfctl disassembly.

19 years ago * config/tc-hppa.c (pa_ip): Search entire mnemonic before considering
Dave Anglin [Sun, 17 Jul 2005 00:33:45 +0000 (00:33 +0000)]
* config/tc-hppa.c (pa_ip): Search entire mnemonic before considering
promoted match.

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

19 years agodaily update
Alan Modra [Sun, 17 Jul 2005 00:00:11 +0000 (00:00 +0000)]
daily update

19 years ago* m32c.opc (m32c_cgen_insn_supported): Use int, not CGEN_BITSET,
Jim Blandy [Sat, 16 Jul 2005 18:43:55 +0000 (18:43 +0000)]
* m32c.opc (m32c_cgen_insn_supported): Use int, not CGEN_BITSET,
to represent isa sets.

19 years agoFix typo in the date.
Eric Botcazou [Sat, 16 Jul 2005 15:21:10 +0000 (15:21 +0000)]
Fix typo in the date.

19 years ago PR ld/1021
Eric Botcazou [Sat, 16 Jul 2005 15:08:14 +0000 (15:08 +0000)]
PR ld/1021
PR ld/1031
* elflink.c (elf_link_add_object_symbols): Also append the version
name to non-hidden absolute symbols that are functions.

19 years agobfd/
Alan Modra [Sat, 16 Jul 2005 03:30:24 +0000 (03:30 +0000)]
bfd/
* elf32-ppc.c (ppc_elf_set_sdata_syms): Return void.  Remove hack
for zero size sections.  Don't set .sbss syms here.
* elf32-ppc.h (ppc_elf_set_sdata_syms): Adjust prototype.
ld/
* emultempl/elf32.em (gld*_provide_init_fini_syms): Prototype.
(gld*_before_allocation): Call ldemul_do_assignments rather than
gld*_provide_init_fini_syms directly.
* emultempl/ppc32elf.em (gld*_after_allocation): Delete.
(ppc_do_assignments): New function.
(LDEMUL_AFTER_ALLOCATION): Don't define.
(LDEMUL_DO_ASSIGNMENTS): Define.

19 years ago2005-07-16 Kelley Cook <kcook@gcc.gnu.org>
Kelley Cook [Sat, 16 Jul 2005 02:41:34 +0000 (02:41 +0000)]
2005-07-16  Kelley Cook  <kcook@gcc.gnu.org>

* all files: Update FSF address.

19 years agoFix typo.
Alan Modra [Sat, 16 Jul 2005 02:31:22 +0000 (02:31 +0000)]
Fix typo.

19 years agobfd/
Alan Modra [Sat, 16 Jul 2005 02:03:55 +0000 (02:03 +0000)]
bfd/
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
opcodes/
* Makefile.am: Run "make dep-am".
(stamp-m32c): Fix cpu dependencies.
* Makefile.in: Regenerate.
* ip2k-dis.c: Regenerate.
binutils/
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
gas/
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
ld/
* Makefile.am: Run "make dep-am".
(emipsidt.c, emipsidtl.c): Depend on generic.em.
* Makefile.in: Regenerate.

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

19 years agodaily update
Alan Modra [Sat, 16 Jul 2005 00:00:08 +0000 (00:00 +0000)]
daily update

19 years agoUpdate for changes in Emacs 22.0.50. Bring more
Nick Roberts [Fri, 15 Jul 2005 22:35:49 +0000 (22:35 +0000)]
Update for changes in Emacs 22.0.50.  Bring more
features over from gdb-ui.el.  Use "-var-update --all-values" for
faster re-display of watch expressions.

19 years ago*** empty log message ***
Nick Roberts [Fri, 15 Jul 2005 22:35:11 +0000 (22:35 +0000)]
*** empty log message ***

19 years ago * elf32-xtensa.c (vsprint_msg): Add prototype.
Bob Wilson [Fri, 15 Jul 2005 20:43:37 +0000 (20:43 +0000)]
    * elf32-xtensa.c (vsprint_msg): Add prototype.
        (build_encoding_error_message): Delete.  Code moved into....
        (elf_xtensa_do_reloc): ....here, and changed to give better
        error messages for out of range literals.

19 years ago* m32c.cpu, m32c.opc: Fix copyright.
Jim Blandy [Fri, 15 Jul 2005 20:31:17 +0000 (20:31 +0000)]
* m32c.cpu, m32c.opc: Fix copyright.

19 years ago Marcel Moolenaar <marcel@xcllnt.net>
Mark Kettenis [Fri, 15 Jul 2005 20:10:19 +0000 (20:10 +0000)]
Marcel Moolenaar  <marcel@xcllnt.net>
* sparc64fbsd-nat.c: Include "regcache.h", <sys/types.h>,
<machine/pcb.h> and "bsd-kvm.h".
(sparc64fbsd_kvm_supply_pcb): New function.
(_initialize_sparc64fbsd_nat): Enable libkvm interface.
* config/sparc/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* Makefile.in (sparc64fbsd-nat.o): Update dependencies.

19 years ago2005-07-15 Eric Christopher <echristo@redhat.com>
Eric Christopher [Fri, 15 Jul 2005 19:22:38 +0000 (19:22 +0000)]
2005-07-15  Eric Christopher  <echristo@redhat.com>

        * MAINTAINERS: Change affiliation.

19 years agogas/
H.J. Lu [Fri, 15 Jul 2005 13:49:53 +0000 (13:49 +0000)]
gas/

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

* gas/config/tc-i386.h (CpuVMX): New.
(CpuUnknownFlags): Add CpuVMX.

gas/testsuite/

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

* gas/i386/i386.exp: Add vmx and x86-64-vmx.

* gas/i386/vmx.d: New file.
* gas/i386/vmx.s: Likewise.
* gas/i386/x86-64-vmx.d: Likewise.
* gas/i386/x86-64-vmx.s: Likewise.

include/opcode/

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

* i386.h (i386_optab): Support Intel VMX Instructions.

opcodes/

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

* i386-dis.c (OP_VMX): New. Handle Intel VMX Instructions.
(VMX_Fixup): New. Fix up Intel VMX Instructions.
(Em): New.
(Gm): New.
(VM): New.
(dis386_twobyte): Updated entries 0x78 and 0x79.
(twobyte_has_modrm): Likewise.
(grps): Use OP_VMX in the "sgdtIQ" entry. Updated GRP9.
(OP_G): Handle m_mode.