OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years ago * sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dsp
corinna [Wed, 16 Jul 2003 09:45:55 +0000 (09:45 +0000)]
* sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dsp
should go thru sh_dsp_register_sim_regno, else the dsp regs
will not get the right values.

* sh-tdep.c (sh_sh4_register_convert_to_virtual): Substitute call to
deprecated_store_floating by call to store_typed_floating.
(sh_sh4_register_convert_to_raw): Substitute call to
deprecated_extract_floating by call to extract_typed_floating.

* sh-tdep.c (sh_gdbarch_init): Set double to 4 byte on sh2e and sh3e.

* sh-tdep.c: Substitute calls to REGISTER_RAW_SIZE by calls to
register_size and calls to REGISTER_VIRTUAL_TYPE by calls to
gdbarch_register_type in 32 bit code throughout.  Avoid current_gdbarch
as possible.
(do_pseudo_register): Remove.
(sh_push_dummy_code): New function.
(sh64_store_struct_return): Rename from sh_store_struct_return.
Only called for sh64 now.
(sh_extract_struct_value_address): Regcache'ify.
(sh_push_dummy_call): Rename from sh_push_arguments.  Regcache'ify
and accomodate new tasks.
(sh64_push_return_address): Rename from sh_push_return_address.
Only called for sh64 now.
(sh_default_extract_return_value): Rename from sh_extract_return_value.
Regcache'ify.
(sh3e_sh4_extract_return_value): Regcache'ify.
(sh_default_store_return_value): Ditto.
(sh3e_sh4_store_return_value): Ditto.
(sh_default_register_byte): Remove.
(sh_sh4_register_byte): Remove.
(sh_default_register_raw_size): Remove.
(sh_sh4_register_raw_size): Remove.
(sh_register_virtual_size): Remove.
(sh_sh3e_register_virtual_type): Remove.
(sh_sh3e_register_type): New function.
(sh_sh4_register_virtual_type): Remove.
(sh_sh4_register_type): New function.
(sh_default_register_virtual_type): Remove.
(sh_default_register_type): New function.
(do_fv_register_info): Add parameters to accomodate call from
sh_print_registers_info.
(do_dr_register_info): Ditto.
(sh_print_pseudo_register): Rename from sh_do_pseudo_register.
Add parameters to accomodate call from sh_print_registers_info.
(sh_do_fp_register): Ditto.
(sh64_do_pseudo_register): Call do_dr_register_info,
do_fv_register_info and sh_do_fp_register with default parameters.
(sh_do_register): Add parameters to accomodate call from
sh_print_registers_info.
(sh_print_register): Ditto.
(sh_print_registers_info): Rename from sh_do_registers_info.
Add parameters to be used as gdbarch_print_registers_info
implementation.  Accomodate removed do_pseudo_register function
pointer.
(sh_compact_do_registers_info): Accomodate removed do_pseudo_register
function pointer. Call sh_print_register with default parameters.
(sh64_do_registers_info): Call sh_print_registers_info instead of
sh_do_registers_info.
(sh_gdbarch_init): Rearrange to cleanup and to allow easier
detection of deprecated vs. non-deprecated functionality.
Rename sh_call_dummy_words to sh64_call_dummy_words.  Remove
function pointer assignments by direct function calls.

21 years ago * config.if: Remove unused libc_interface determination.
neroden [Wed, 16 Jul 2003 06:35:35 +0000 (06:35 +0000)]
* config.if: Remove unused libc_interface determination.

21 years ago Add guile 1.6.4 support.
devans [Wed, 16 Jul 2003 05:35:47 +0000 (05:35 +0000)]
Add guile 1.6.4 support.
- empty list must be quoted
- string functions have stricter type checking
- eval now takes a second argument
- symbol-bound? is deprecated
* attr.scm (-attr-parse): Use stringsym-append to build errtxt.
(bitset-attr->list): Ensure arg to string-cut is a string.
(attr-parse): Ensure args to string-ref and string-drop1 are strings.
(<enum-attribute>,gen-value-for-defn): Fetch string name of self.
* cos.scm (-class-list): Must quote empty list.
(-class-parent-classes,-class-compute-class-desc): Ditto.
(class-make,make,object-reset!): Ditto.
(method-make-make!): Call eval1 instead of eval.
(method-make-forward!,method-make-virtual-forward!): Ditto.
* decode.scm (subdtable-add): Use stringsym-append instead of
string-append.
(-gen-exprtable-name): Fetch string name of exprtable-entry-insn.
(-build-decode-table-entry): Fetch string name of insn.
* desc-cpu.scm (-gen-isa-table-defns): Fetch string name of isa.
(-gen-mach-table-defns): Ditto for mach.
(gen-ifld-defns): Ditto for ifld.
(gen-hw-table-defns): Ditto for hw.
(gen-operand-table): Ditto for op.
(gen-insn-table-entry): Ditto for insn.
* desc.scm (gen-attr-table-defn): Ditto for attr.
(<keyword>,gen-defn): Don't pass symbols to string-append.
* enum.scm (parse-enum-vals): Use symbolstr-append instead of
symbol-append.
(enum-vals-upcase): Use symbol-upcase to build result.
(-enum-parse): Use stringsym-append to build errtxt.
* fixup.scm (*guile-major-version*,*guile-minor-version*): New globals.
(eval1): New function.
(symbol-bound?): Provide own version if >= guile 1.6.
* hardware.scm (define-keyword): Use string-append instead of
symbol-append.
* html.scm (gen-html-header,gen-table-of-contents,gen-arch-intro,
cgen.html,cgen-insn.html): Convert current-arch-name to a string
before using.
(gen-list-entry): Handle either symbol or string `name' arg.
(gen-obj-doc-header): Fetch string name of `o' arg.
(define-cpu-intro): Ditto for cpu.
(gen-mach-intro): Ditto for mach.
(gen-model-intro): Ditto for model.
(gen-isa-intro): Ditto for isa.
(gen-machine-doc-1): Ditto for isa.
(gen-reg-doc-1): Convert mach to string first.
(gen-insn-doc-1): Ditto.  Convert model/unit names to strings first.
(gen-insn-doc-list): Fetch string name of mach.  Convert insn name
to string first.
(gen-insn-categories): Fetch string name of mach.  Convert
enum-val-name to string first.
(gen-insn-docs): Fetch string name of mach.
* ifield.scm (ifld-ilk): Result is a string.
* iformat.scm (-ifmt-search-key): Convert attr value to string first.
Fetch string name of ifld.
(-sfmt-search-key): Similarily for ifld and op.
* insn.scm (syntax-make): Fetch string name of syntax element.
* mach.scm (-cpu-parse): Use stringsym-append to build errtxt.
* minsn.scm (minsn-make-alias): Fetch string name of minsn.
* mode.scm (mode:c-type): Result is a string.
(mode:enum): Fetch string name of mode.
(-mode-parse): Use stringsym-append to build errtxt.
* model.scm (model:enum): Fetch string name of model.
(-model-parse): Use stringsym-append to build errtxt.
(parse-insn-timing): Must quote empty list.
* opc-itab.scm (-gen-minsn-table-entry): Fetch string name of minsn.
(-gen-minsn-opcode-entry): Ditto.
* opcodes.scm (<operand>,gen-function-name): `what' arg is a symbol,
convert to string.
(read-cpu.opc): Convert current-arch-name to a string before using.
* operand.scm (<operand>,gen-pretty-name): Ensure `name' is a string.
(<derived-operand>): Must quote empty list.
(op-sort): Simplify, call alpha-sort-obj-list to do sort.
* pgmr-tools.scm (pgmr-pretty-print-insn-value): Fetch string name
of ifld.
* pmacros.scm (-pmacro-build-lambda): Use eval1 instead of eval.
(-pmacro-sym): Must convert symbols to strings before passing to
string-append.
(-pmacro-str): Ditto.
(pmacros-init!): Use eval1 instead of eval.
* read.scm (keep-mach-atlist?): Simplify, use bitset-attr->list.
(keep-isa-atlist?): Ditto.
(cmd-if): Use eval1 instead of eval.
* rtl-c.scm (<c-expr>,get-name): Fetch string name of self.
(-rtl-c-get): Fetch string name of src.
(s-unop): Ditto for mode.
(s-binop,s-binop-with-bit,s-shop,s-convop,s-cmpop): Ditto.
(-gen-par-temp-defns,subword): Ditto.
(join): Use stringsym-append instead of string-append.
* rtl-traverse.scm (rtx-option?): Convert option to string first.
(rtx-traverse-debug): Fetch string name of rtx-obj.
* rtl.scm (def-rtx-node): Use eval1 instead of eval.
(def-rtx-syntax-node,def-rtx-operand-node,def-rtx-macro-node): Ditto.
(rtx-pretty-name): Result is a string.
(-rtx-hw-name): Use symbolstr-append instead of symbol-append.
* semantics.scm (semantic-compile): Simplify, use alpha-sort-obj-list.
* sid-cpu.scm (cgen-write.cxx): Convert current-arch-name to a string
before using.
(-gen-sfrag-case): Fetch string name of user.
* sid-model.scm (unit:enum): Fetch string name of unit.
* sid.scm (<hw-memory>,cxmake-get): Fetch string name of mode.
(<hw-memory>,gen-set-quiet): Ditto.
(gen-mode-defs): Ditto.
(sim-finish!): Convert current-arch-name to a string before using.
* sim-cpu.scm (-gen-scache-semantic-fn): Fetch string name of insn.
(-gen-no-scache-semantic-fn): Ditto.
(cgen-defs.h): Fetch string name of isa.
(cgen-read.c): Convert current-arch-name to a string before using.
(cgen-write.c): Ditto.
* sim-model.scm (unit:enum): Fetch string name of unit.
(gen-model-fn-decls): Use stringsym-append instead of string-append.
(-gen-model-timing-table): Fetch string name of model.
(-gen-mach-model-table): Ditto.
(-gen-mach-defns): Fetch string name of mach.
* sim.scm (gen-reg-access-defn): Fetch string name of hw.
(<hw-memory>,cxmake-get): Fetch string name of mode.
(<hw-memory>,gen-set-quiet): Ditto.
(gen-mode-defs): Ditto.
(sim-finish!): Must quote empty list.
* utils-cgen.scm (<ident>): Must quote empty list.
(obj:str-name): New fn.
(parse-comment): Result is a string.
(parse-symbol): Result is a symbol.
(parse-string): Result is a string.
(keyword-list?): Convert arg to string before calling string-ref.
(keyword-list->arg-list): Ditto.
(gen-attr-name): Convert attr-name to string first.
(alpha-sort-obj-list): Use symbol<? instead of string<?.
* utils-gen.scm (attr-gen-decl): Fetch string name of attr.
(gen-define-ifmt-ifields): Ditto for fld.
* utils.scm (gen-c-symbol): Ensure str is a string before calling
map-over-string.
(gen-file-name): Ditto.
(symbol-downcase,symbol-upcase,symbol<?): New fns.
(stringsym-append,symbolstr-append,->string,->symbol): New fns.
(reduce): Call eval1 instead of eval.
* cpu/m32r.cpu (addi): Don't use `#.'.

21 years ago * dwarf2dbg.c (get_frag_fix): Revert 2001-11-15 change.
amodra [Wed, 16 Jul 2003 03:09:31 +0000 (03:09 +0000)]
* dwarf2dbg.c (get_frag_fix): Revert 2001-11-15 change.
(generic_dwarf2_emit_offset): Don't define function when
TC__DWARF2_EMIT_OFFSET is defined.

21 years ago* pathnames.sgml: Use correct registry key. Clarify '@' operation.
cgf [Wed, 16 Jul 2003 02:12:00 +0000 (02:12 +0000)]
* pathnames.sgml: Use correct registry key.  Clarify '@' operation.
* ntsec.sgml: Reword references to "ntsec patch".

21 years ago * gen-all-sim: Fix some typos.
devans [Wed, 16 Jul 2003 01:13:07 +0000 (01:13 +0000)]
* gen-all-sim: Fix some typos.

21 years ago*** empty log message ***
gdbadmin [Wed, 16 Jul 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Wed, 16 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago* aclocal.m4 (CY_AC_PATH_TCLCONFIG): Use .../tcl/win, not cygwin.
aoliva [Tue, 15 Jul 2003 18:37:43 +0000 (18:37 +0000)]
* aclocal.m4 (CY_AC_PATH_TCLCONFIG): Use .../tcl/win, not cygwin.
* configure, Dbgconfigure, testsuite/configure: Rebuilt.

21 years ago2003-07-15 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 15 Jul 2003 17:35:00 +0000 (17:35 +0000)]
2003-07-15  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_frame_id): Use frame_unwind_find_by_frame.
(frame_register_unwind, create_new_frame): Ditto.
(legacy_get_prev_frame, get_frame_type): Ditto.
(get_frame_base_address): Use frame_base_find_by_frame.
(get_frame_locals_address): Use frame_base_find_by_frame.
(get_frame_args_address): Use frame_base_find_by_frame.
* frame-base.h (frame_base_sniffer_ftype): Declare.
(frame_base_append_sniffer): Declare.
(frame_base_find_by_frame): Replace frame_base_find_by_pc.
* frame-base.c (append_predicate): Add a "sniffer" parameter.
(frame_base_append_sniffer): New function.
(frame_base_append_predicate): Add a NULL sniffer.
(frame_base_find_by_frame): Replace "frame_base_find_by_pc".
(struct frame_base_table): Add "sniffer".
(frame_base_free): Free the "sniffer" table.
* frame-unwind.h (frame_unwind_sniffer_ftype): Define.
(frame_unwind_append_sniffer): Declare.
(frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc.
* frame-unwind.c (frame_unwind_free): Free the "sniffer" table.
(struct frame_unwind_table): Add "sniffer", delete "middle".
(append_predicate): Add "sniffer" parameter, append the sniffer.
(frame_unwind_init): Update append_predicate call.
(frame_unwind_append_sniffer): New function.
(frame_unwind_append_predicate): Update append_predicate call.
(frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc.

21 years ago2003-07-15 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 15 Jul 2003 17:23:31 +0000 (17:23 +0000)]
2003-07-15  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_prev_frame): Move disabled inside_entry_func to
before code inhibiting repeated unwind attempts.  Add to
commentary on that test's problems.
* blockframe.c (inside_main_func): Look for "main" in the minimal
symbol table.
* d10v-tdep.c (d10v_frame_this_id): Delete check that frames are
identical.

Index: testsuite/ChangeLog
2003-07-15  Andrew Cagney  <cagney@redhat.com>

* gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.

21 years ago2003-07-15 Michael Chastain <mec@shout.net>
chastain [Tue, 15 Jul 2003 16:28:20 +0000 (16:28 +0000)]
2003-07-15  Michael Chastain  <mec@shout.net>

* gdb.base/gdb1250.exp: New file.
* gdb.base/gdb1250.c: New file.

21 years ago2003-07-15 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 15 Jul 2003 15:36:12 +0000 (15:36 +0000)]
2003-07-15  Andrew Cagney  <cagney@redhat.com>

* complaints.c (struct explanation): Define.
(struct complaints): Change type of "explanation" to "struct
explanation".
(symfile_explanations): Convert to a "struct explanation" table.
(vcomplaint): Update.

21 years agoOops, forgot to add x86-64-linux-tdep.h in previous commit.
mludvig [Tue, 15 Jul 2003 12:34:08 +0000 (12:34 +0000)]
Oops, forgot to add x86-64-linux-tdep.h in previous commit.

21 years ago2003-07-15 Michal Ludvig <mludvig@suse.cz>
mludvig [Tue, 15 Jul 2003 11:33:59 +0000 (11:33 +0000)]
2003-07-15  Michal Ludvig  <mludvig@suse.cz>

* x86-64-linux-nat.c (regmap): Removed.
(supply_gregset, fill_gregset): Call
x86_64_linux_(fill,supply)_gregset functions.
* x86-64-linux-tdep.c (USER_*): New defines.
(user_to_gdb_regmap, x86_64_core_fns): New structure.
(x86_64_linux_supply_gregset, x86_64_linux_fill_gregset):
New functions.
(fetch_core_registers): Ditto.
(_initialize_x86_64_linux_tdep): Call add_core_fns().
* x86-64-linux-tdep.h: New file.
* config/i386/x86-64linux.mh (NATDEPFILES): Remove corelow.o
and core-regset.o.
* config/i386/x86-64linux.mt (TDEPFILES): Add corelow.o.

21 years ago * doc/c-mips.texi: Document -march=rm9000.
rsandifo [Tue, 15 Jul 2003 09:02:59 +0000 (09:02 +0000)]
* doc/c-mips.texi: Document -march=rm9000.

21 years agoinclude/opcode/
rsandifo [Tue, 15 Jul 2003 07:50:34 +0000 (07:50 +0000)]
include/opcode/
* mips.h (CPU_RM7000): New macro.
(OPCODE_IS_MEMBER): Match CPU_RM7000 against 4650 insns.

bfd/
* archures.c (bfd_mach_mips7000): New.
* bfd-in2.h: Regenerated.
* cpu-mips.c (arch_info_struct): Add an entry for mips:7000.
* elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips7000.
(mips_mach_extensions): Add an entry for it.

opcodes/
* mips-dis.c (mips_arch_choices): Add rm7000 and rm9000 entries.

gas/
* config/tc-mips.c (hilo_interlocks): True for CPU_RM7000.
(mips_cpu_info_table): Add rm7000 and rm9000 entries.

gas/testsuite/
* gas/mips/rm7000.[sd]: New test.
* gas/mips/mips.exp: Run it.

21 years ago * config/tc-v850.c (md_assemble): When no reloc, create pcrel fixups
amodra [Tue, 15 Jul 2003 04:04:18 +0000 (04:04 +0000)]
* config/tc-v850.c (md_assemble): When no reloc, create pcrel fixups
only for V850_OPERAND_DISP operands.

21 years ago * frags.c (frag_more): Move segment checks to..
amodra [Tue, 15 Jul 2003 01:33:54 +0000 (01:33 +0000)]
* frags.c (frag_more): Move segment checks to..
(frag_alloc_check): ..here.  New function.
(frag_append_1_char): Call frag_alloc_check.

21 years ago2003-07-14 Christian Groessler <chris@groessler.org>
jle [Tue, 15 Jul 2003 01:15:08 +0000 (01:15 +0000)]
2003-07-14  Christian Groessler  <chris@groessler.org>

        * i860.h (AOUTSZ): Define properly for i860 coff.

21 years agodaily update
amodra [Tue, 15 Jul 2003 00:00:15 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Tue, 15 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * Makefile.in: Regenerate, correctly this time.
neroden [Mon, 14 Jul 2003 23:50:30 +0000 (23:50 +0000)]
* Makefile.in: Regenerate, correctly this time.

21 years ago* aclocal.m4 (CY_AC_PATH_TKCONFIG): Look for it in .../tk/win.
aoliva [Mon, 14 Jul 2003 19:16:43 +0000 (19:16 +0000)]
* aclocal.m4 (CY_AC_PATH_TKCONFIG): Look for it in .../tk/win.
* configure: Rebuilt.
* Dbgconfigure: Rebuilt to pick up 2002-07-30's change.

21 years ago2003-07-14 Dave Brolley <brolley@redhat.com>
brolley [Mon, 14 Jul 2003 18:50:08 +0000 (18:50 +0000)]
2003-07-14  Dave Brolley  <brolley@redhat.com>

        * CATALOG: Add sid-io-fileio.

21 years ago2003-07-14 Dave Brolley <brolley@redhat.com>
brolley [Mon, 14 Jul 2003 18:42:14 +0000 (18:42 +0000)]
2003-07-14  Dave Brolley  <brolley@redhat.com>

        * stdio.cxx (read): Restore flags to their original state.

21 years agoImport from gcc repository:
zack [Mon, 14 Jul 2003 18:38:36 +0000 (18:38 +0000)]
Import from gcc repository:

2003-07-07  Zack Weinberg  <zack@codesourcery.com>

* gettext.m4: Delete all former contents.
(ZW_GNU_GETTEXT_SISTER_DIR): New macro.
* progtest.m4: New file.

2003-07-04  Zack Weinberg  <zack@codesourcery.com>

* gettext.m4: New file - copy of gettext.m4 from binutils

21 years ago * cygheap.h (class cygheap_user): Use INVALID_HANDLE_VALUE as invalid
corinna [Mon, 14 Jul 2003 17:04:21 +0000 (17:04 +0000)]
* cygheap.h (class cygheap_user): Use INVALID_HANDLE_VALUE as invalid
value for tokens.
* syscalls.cc (seteuid32): Ditto.  Set new_token to process token if
process token is suitable.
* uinfo.cc (uinfo_init): Initialize tokens in cygheap user info
to INVALID_HANDLE_VALUE.

* cygheap.h (enum impersonation): Delete.
(cygheap_user::impersonation_state): Delete.
(cygheap_user::current_token): New.
(cygheap_user::issetuid): Modify to use current_token.
(cygheap_user::token): Ditto.
(cygheap_user::deimpersonate): Ditto.
(cygheap_user::reimpersonate): Ditto.
(cygheap_user::has_impersonation_tokens): Ditto.
(cygheap_user::close_impersonation_tokens): Ditto.
* security.cc (cygwin_set_impersonation_token): Always set the token.
(verify_token): Change type of gsid to cygpsid.
(get_file_attribute): Use the effective ids.
* syscalls.cc (seteuid32): Modify to use cygheap_user::current_token.
* uinfo.cc (uinfo_init) Do not set cygheap->user.impersonation_state.

21 years ago2003-07-14 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
fitzsim [Mon, 14 Jul 2003 15:27:03 +0000 (15:27 +0000)]
2003-07-14  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>

* m32r/configure.in: fixed bug to delete ../config-ml.in.

21 years agoUpdate Turkish translation files for bfd, gas and opcodes
nickc [Mon, 14 Jul 2003 11:18:11 +0000 (11:18 +0000)]
Update Turkish translation files for bfd, gas and opcodes

21 years agoRemove uses of ctype.h
nickc [Mon, 14 Jul 2003 10:06:06 +0000 (10:06 +0000)]
Remove uses of ctype.h

21 years agoMissing from 2003-07-11 commit.
rsandifo [Mon, 14 Jul 2003 06:27:24 +0000 (06:27 +0000)]
Missing from 2003-07-11 commit.

21 years agodaily update
amodra [Mon, 14 Jul 2003 00:00:07 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Mon, 14 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years agoFix last Changelog entry to reflect reality.
kettenis [Sun, 13 Jul 2003 22:07:37 +0000 (22:07 +0000)]
Fix last Changelog entry to reflect reality.

21 years ago * Makefile.tpl: Set INSTALL and friends using autoconf. Remove
neroden [Sun, 13 Jul 2003 20:49:41 +0000 (20:49 +0000)]
* Makefile.tpl: Set INSTALL and friends using autoconf.  Remove
unused INSTALL_PROGRAM_ARGS.
* configure.in: Use AC_PROG_INSTALL.
* Makefile.in: Regenerate.
* configure: Regenerate.

21 years ago*** empty log message ***
kettenis [Sun, 13 Jul 2003 16:38:04 +0000 (16:38 +0000)]
*** empty log message ***

21 years ago* x86-64-tdep.c (x86_64_store_return_value): Use an intermediate
kettenis [Sun, 13 Jul 2003 16:31:42 +0000 (16:31 +0000)]
* x86-64-tdep.c (x86_64_store_return_value): Use an intermediate
buffer when storing double and float varibles into %xmm0.

21 years ago* configure.host: Add x86_64-*-freebsd*.
kettenis [Sun, 13 Jul 2003 16:15:58 +0000 (16:15 +0000)]
* configure.host: Add x86_64-*-freebsd*.
* configure.tgt: Add x86_64-*-freebsd*.
* Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets.
* amd64fbsd-nat.c: New file.
* amd64fbsd-tdep.c: New file.
* config/i386/nm-fbsd64.h: New file.
* config/i386/fbsd64.mh: New file.
* config/i386/fbsd64.mt: New file.

21 years ago2003-07-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
dannysmith [Sun, 13 Jul 2003 03:41:46 +0000 (03:41 +0000)]
2003-07-13  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* include/ddk/ntifs.h (KeInsertQueueApc): Make return type
BOOLEAN. Name parameter 4 PriorityBoost and make it of type
KPRIORITY.
* include/ddk/winddk.h (_KPCR): Put IDT field on next line.
* include/ddk/winddk.h (_IO_STATUS_BLOCK, _IRP, _OWNER_ENTRY,
_ERESOURCE, _IMAGE_INFO, _CREATE_DISK, _DISK_SIGNATURE, _KPCR_TIB):
Apply _ANONYMOUS_UNION to anonymous unions and _ANONYMOUS_STRUCT
to anonymous structs.

21 years agodaily update
amodra [Sun, 13 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sun, 13 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* pinfo.cc (_pinfo::commune_send): Fix bounds test so that poll of
cgf [Sat, 12 Jul 2003 21:37:07 +0000 (21:37 +0000)]
* pinfo.cc (_pinfo::commune_send): Fix bounds test so that poll of
communicating pid actually stops eventually.

21 years agoSet maxpagesize for NTO targets to 4k
nickc [Sat, 12 Jul 2003 11:16:46 +0000 (11:16 +0000)]
Set maxpagesize for NTO targets to 4k

21 years agoSet the IMAGE_FILE_32BIT_MACHINE flag for PE targets.
nickc [Sat, 12 Jul 2003 10:55:05 +0000 (10:55 +0000)]
Set the IMAGE_FILE_32BIT_MACHINE flag for PE targets.

21 years ago * include/winnt.h (PVOID): Move to before HANDLE typedef.
dannysmith [Sat, 12 Jul 2003 09:26:42 +0000 (09:26 +0000)]
* include/winnt.h (PVOID): Move to before HANDLE typedef.

* include/winuser.h (mouse_event): Correct type of fifth param,
Thanks to: Andrew Jones <guln at users dot sourceforge dot net>

21 years agodaily update
amodra [Sat, 12 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sat, 12 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset',
kettenis [Fri, 11 Jul 2003 21:49:04 +0000 (21:49 +0000)]
* alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset',
`sc_regs_offset' and `sc_fpregs_offset'.
* alpha-tdep.c (SIGFRAME_PC_OFF, SIGFRAME_REGSAVE_OFF,
SIGFRAME_FPREGSAVE_OFF): Remove defines.
(alpha_sigtramp_register_address): Rewrite to use new members of
`struct gdbarch_tdep'.
(alpha_gdbarch_init): Initialize new members of struct
gdbarch_tdep'.
* alphafbsd-tdep.c (alphafbsd_use_struct_convention): Use
ALPHA_REGISTER_SIZE instead of DEPRECATED_REGISTER_SIZE.
(alphafbsd_sigtramp_start, alphafbsd_sigtramp_end): Nre variables.
(alphafbsd_pc_in_sigtramp): Implement.
(alphafbsd_sigtramp_offset): New function.
(alphafbsd_sigcontext_addr): New function.
(alphafbsd_init_abi): Initialize signal trampoline related members
of `struct gdbarch_tdep'.
(_initialize_alphafbsd_tdep): Add prototype.

21 years agoFix my previous entry to denote the rule I changed.
troth [Fri, 11 Jul 2003 18:03:36 +0000 (18:03 +0000)]
Fix my previous entry to denote the rule I changed.

21 years ago* Makefile.in: Quote sed expression when generating transformed_name.
troth [Fri, 11 Jul 2003 17:53:20 +0000 (17:53 +0000)]
* Makefile.in: Quote sed expression when generating transformed_name.

21 years ago * Makefile.in (dwarf2-frame.o): Add complaints_h.
rth [Fri, 11 Jul 2003 16:22:17 +0000 (16:22 +0000)]
    * Makefile.in (dwarf2-frame.o): Add complaints_h.
        * dwarf2-frame.c: Include complaints.h.
        (decode_frame_entry_1): Rename from decode_frame_entry; tidy
        variable initialization; return NULL on error.
        (decode_frame_entry): New.

21 years ago2003-07-11 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 11 Jul 2003 15:31:42 +0000 (15:31 +0000)]
2003-07-11  Andrew Cagney  <cagney@redhat.com>

* frame.h (frame_address_in_block): Delete declaration.
* blockframe.c (frame_address_in_block): Delete function.
(get_frame_block): Use get_frame_address_in_block.
(block_innermost_frame): Ditto.
* stack.c (print_frame, backtrace_command_1): Ditto.

21 years agobfd/
rsandifo [Fri, 11 Jul 2003 14:59:40 +0000 (14:59 +0000)]
bfd/
* bfd-in.h (bfd_h8300_pad_address): Declare.
* bfd-in2.h: Regenerate.
* cpu-h8300.c (bfd_h8300_pad_address): New function.
* coff-h8300.c (h8300_reloc16_estimate): Use it to canonicalize
addresses before checking whether they can be relaxed.
(h8300_reloc16_extra_cases): Likewise for the R_MOVL2 sanity check.
Don't complain about overflows in general 8-bit relocations.
* elf32-h8300.c (elf32_h8_relax_section): Use bfd_h8300_pad_address.
Fix handling of R_H8_DIR24A8.

ld/testsuite/
* ld-h8300/relax-3{.s,.d,-coff.d}: New test.
* ld-h8300/h8300.exp: Run it.

21 years agoOops, revert unintended commit. Next patch will do this properly.
cagney [Fri, 11 Jul 2003 14:56:05 +0000 (14:56 +0000)]
Oops, revert unintended commit.  Next patch will do this properly.

21 years ago2003-07-11 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 11 Jul 2003 14:52:16 +0000 (14:52 +0000)]
2003-07-11  Andrew Cagney  <cagney@redhat.com>

* frame.h (get_frame_address_in_block): Declare.
(frame_unwind_address_in_block): Declare.
* frame.c (frame_unwind_address_in_block): New function.
(get_frame_address_in_block): New function.

21 years ago * include/winnt.h (HANDLE): Define based on STRICT filter.
earnie [Fri, 11 Jul 2003 11:56:00 +0000 (11:56 +0000)]
* include/winnt.h (HANDLE): Define based on STRICT filter.
(THREAD_BASE_PRIORITY_MIN): Use parens around negative value.
(THREAD_BASE_PRIOIRTY_IDLE): Ditto.

21 years ago * elf32-h8300.c: Convert function prototypes and definitions
rsandifo [Fri, 11 Jul 2003 11:08:30 +0000 (11:08 +0000)]
* elf32-h8300.c: Convert function prototypes and definitions
to C90 syntax.
* coff-h8300.c: Likewise.
* cpu-h8300.c: Likewise.

21 years ago2003-07-09 Michal Ludvig <mludvig@suse.cz>
mludvig [Fri, 11 Jul 2003 06:44:34 +0000 (06:44 +0000)]
2003-07-09  Michal Ludvig  <mludvig@suse.cz>

* gdb.c++/templates.exp (test_ptype_of_templates): Recognize
expansion of size_t to 'unsigned long', not only to 'unsigned'.

21 years agoUpdate pot files.
amodra [Fri, 11 Jul 2003 05:10:17 +0000 (05:10 +0000)]
Update pot files.

21 years ago2003-07-10 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 11 Jul 2003 03:01:38 +0000 (03:01 +0000)]
2003-07-10  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh: Simplify predicate methods.  Remove need to provide
pre-default.   Note: re-generate has no effect.

21 years ago2003-07-10 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 11 Jul 2003 01:35:54 +0000 (01:35 +0000)]
2003-07-10  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh: When a variable, but not a function, compare against
0.  Fix problem in previous patch.
* gdbarch.c: Re-generate.

21 years ago* path.cc (get_device_number): Remove special com? consideration.
cgf [Fri, 11 Jul 2003 00:54:46 +0000 (00:54 +0000)]
* path.cc (get_device_number): Remove special com?  consideration.
(special_chars): Make static.
(special_introducers): New.
(special_char): Allow specified valid_chars args.
(fnunmunge): Handle aux-like filenames correctly.
(special_name): Add con, conin$, conout$.
(mount_item::fnmunge): Use __small_sprintf return value to calculate
increments.

21 years agodaily update
amodra [Fri, 11 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 11 Jul 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-07-10 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 10 Jul 2003 22:01:13 +0000 (22:01 +0000)]
2003-07-10  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh: Use gdb_assert instead of internal_error.  Compare
functions against NULL, not 0.
* gdbarch.c: Re-generate.

21 years ago 2003-07-10 Fred Fish <fnf@ninemoons.com>
fnf [Thu, 10 Jul 2003 21:56:25 +0000 (21:56 +0000)]
2003-07-10  Fred Fish  <fnf@ninemoons.com>
* coff-solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Default to a
null string instead of a null pointer.
* solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Ditto.
(Also updated copyrights)

21 years ago2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
aoliva [Thu, 10 Jul 2003 19:04:43 +0000 (19:04 +0000)]
2000-04-27  Alexandre Oliva  <aoliva@cygnus.com>
* libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
* libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
restore callee-saved FP registers.

21 years ago2001-10-30 Jeff Johnston <jjohnstn@redhat.com>
aoliva [Thu, 10 Jul 2003 19:04:33 +0000 (19:04 +0000)]
2001-10-30  Jeff Johnston  <jjohnstn@redhat.com>
* mn10300/asb2305.ld: Added ASB2305 support.
* mn10300/configure: Ditto.
* mn10300/configure.in: Ditto.
2001-09-12  Stan Cox  <scox@redhat.com>
* mn10300/asb2303.ld: New file.  Linker script for the ASB2303
AM33/2.00 board.
* mn10300/configure.in: Add support for asb2303 board script.

21 years agobfd ChangeLog:
bwilson [Thu, 10 Jul 2003 19:01:47 +0000 (19:01 +0000)]
bfd ChangeLog:
* elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Create new
.got.loc section.  Do not set SEC_ALLOC or SEC_LOAD flags for the
.xt.lit.plt section.
(elf_xtensa_size_dynamic_sections): Set size of the .got.loc section
and allocate memory for it.
(elf_xtensa_combine_prop_entries): Copy contents of .xt.lit output
section to the .got.loc section.
(elf_xtensa_finish_dynamic_sections): Fix up call to
elf_xtensa_combine_prop_entries and set DT_XTENSA_GOT_LOC_OFF to
the address of .got.loc.
(relax_property_section): Shrink .got.loc to match changes in any
literal table section.
(xtensa_is_property_section): Change to match
xtensa_get_property_section_name.
(xtensa_is_littable_section): New.
ld ChangeLog:
* emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit
with new .got.loc section.
(OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for
non-relocating links.
(OTHER_SECTIONS): Add .xt.lit here.  Change it to keep linkonce
sections separate for non-relocating links; likewise for .xt.insn.

21 years ago * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always.
jakub [Thu, 10 Jul 2003 16:46:37 +0000 (16:46 +0000)]
* config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always.
(TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions,
tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN,
DWARF2_CIE_DATA_ALIGNMENT): Define.
(ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New
prototypes.
(ppc_cie_data_alignment): Declare.
* config/tc-ppc.c: Include dw2gencfi.h.
(ppc_cie_data_alignment): Define.
(md_begin): Initialize ppc_cie_data_alignment.
(ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New
functions.
* config/tc-s390.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always.
(TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions,
tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN,
DWARF2_CIE_DATA_ALIGNMENT): Define.
(s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum):
New prototypes.
(s390_cie_data_alignment): Declare.
* config/tc-s390.c: Include dw2gencfi.h.
(s390_cie_data_alignment): Define.
(md_begin): Initialize s390_cie_data_alignment.
(s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum):
New functions.

* gas/cfi/cfi-ppc-1.s: New test.
* gas/cfi/cfi-ppc-1.d: New test.
* gas/cfi/cfi-s390-1.s: New test.
* gas/cfi/cfi-s390-1.s: New test.
* gas/cfi/cfi-s390x-1.s: New test.
* gas/cfi/cfi-s390x-1.s: New test.
* gas/cfi/cfi.exp: Run them.

21 years ago * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
amylaar [Thu, 10 Jul 2003 15:31:28 +0000 (15:31 +0000)]
* libc/include/sys/unistd.h (ftruncate, truncate): Also declare
for __sh__.
* libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
truncate.c.
* libc/sys/sh/Makefile.in: Regenerate.
* libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
* libc/sys/sh/ftruncate.c: New file.
* libc/sys/sh/truncate.c: Likewise.

21 years ago2003-07-10 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 10 Jul 2003 14:22:14 +0000 (14:22 +0000)]
2003-07-10  H.J. Lu <hongjiu.lu@intel.com>

* elfxx-ia64.c (IA64_HOWTO): Set dst_mask to -1 instead of
-1LL.

21 years ago * Makefile.am (BFD32_BACKENDS): Add elf32-am33lin.lo.
amodra [Thu, 10 Jul 2003 07:48:46 +0000 (07:48 +0000)]
* Makefile.am (BFD32_BACKENDS): Add elf32-am33lin.lo.
(BFD32_BACKENDS_CFILES): elf32-am33lin.c not elf32-am33lin.lo.
Run "make dep-am".
* Makefile.in: Regenerate.

21 years ago * xtensa-config.h: Undef all macros before defining them.
bwilson [Thu, 10 Jul 2003 05:11:16 +0000 (05:11 +0000)]
    * xtensa-config.h: Undef all macros before defining them.

21 years ago* configure: Rebuilt.
aoliva [Thu, 10 Jul 2003 05:04:24 +0000 (05:04 +0000)]
* configure: Rebuilt.
2001-09-26  Alexandre Oliva  <aoliva@redhat.com>
* configure.in (noconfigdirs) [am33_2.0-*-linux*]: Don't build
newlib nor libgloss.
Wed May  9 10:07:19 2001  Alexandre Oliva  <aoliva@redhat.com>
* configure.in (am33_2.0-*-linux*): Added.

21 years ago * configure.in: Add ${libgcj} to noconfigdirs for xtensa-*-* targets.
bwilson [Thu, 10 Jul 2003 05:00:47 +0000 (05:00 +0000)]
    * configure.in: Add ${libgcj} to noconfigdirs for xtensa-*-* targets.
        * configure: Regenerate.

21 years ago2001-08-22 Alexandre Oliva <aoliva@redhat.com>
aoliva [Thu, 10 Jul 2003 04:45:16 +0000 (04:45 +0000)]
2001-08-22  Alexandre Oliva  <aoliva@redhat.com>
* emulparams/elf32am33lin.sh: Adjust to match kernel parameters.
2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
* configure.host (am33_2.0-*-linux*): Added.
* configure.tgt (am33_2.0-*-linux*): Likewise.
* emulparams/elf32am33lin.sh: New.
* Makefile.am (eelf32am33lin.c): New rule.
* Makefile.in: Rebuilt.

21 years ago2002-12-12 Alexandre Oliva <aoliva@redhat.com>
aoliva [Thu, 10 Jul 2003 04:44:55 +0000 (04:44 +0000)]
2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
* config/tc-mn10300.h (EXTERN_FORCE_RELOC): Don't define to zero.
2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
* configure.in (am33_2.0, mn10300-*-linux*): Added.
* configure: Rebuilt.
* config/tc-mn10300.h (TARGET_FORMAT) [TE_LINUX]: Define to
elf32-am33lin.
* config/tc-mn10300.c (md_begin) [TE_LINUX]: Choose AM33/2.0
by default.

21 years ago2001-09-12 Alexandre Oliva <aoliva@redhat.com>
aoliva [Thu, 10 Jul 2003 04:44:36 +0000 (04:44 +0000)]
2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
* elf32-am33lin.c (ELF_MACHINE_CODE): Redefine to EM_MN10300.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10300.
2001-06-02  Nick Clifton  <nickc@cambridge.redhat.com>
* elf32-am33lin.c: Rename global functions.
2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
* config.bfd (am33_2.0, am33_2.0-*-linux*): Added.
* configure.in (bfd_elf32_am33lin_vec): Added.
* Makefile.am (BFD32_BACKENDS): Added elf32-am33lin.lo.
(elf32-am33lin.lo): List dependencies.
* aclocal.m4, configure, Makefile.in: Rebuilt.
* elf-m10300.c (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME,
ELF_ARCH, ELF_MACHINE_CODE, ELF_MAXPAGESIZE): Define only if
ELF_ARCH was not defined before.
(elf_symbol_leading_char): Define if not defined.
* elf32-am33lin.c: Override the definitions above.
* targets.c (bfd_elf32_am33lin_vec): New.

21 years ago2001-04-17 Alexandre Oliva <aoliva@redhat.com>
aoliva [Thu, 10 Jul 2003 03:20:25 +0000 (03:20 +0000)]
2001-04-17  Alexandre Oliva  <aoliva@redhat.com>
* emulparams/mn10300.sh (TEMPLATE_NAME): Define.
(GENERATE_SHLIB_SCRIPT): Likewise.

21 years ago2003-02-25 Alexandre Oliva <aoliva@redhat.com>
aoliva [Thu, 10 Jul 2003 03:20:14 +0000 (03:20 +0000)]
2003-02-25  Alexandre Oliva  <aoliva@redhat.com>
* config/tc-mn10300.c (mn10300_check_fixup): Set GOT_PCREL type
for subtracts from GLOBAL_OFFSET_TABLE that could not be
simplified.
2002-07-18  Alexandre Oliva  <aoliva@redhat.com>
* config/tc-mn10300.c (mn10300_check_fixup): Accept subtracts that
could not be simplified.
(tc_gen_reloc): Turn an absolute fx_subsy into part of fx_offset.
2001-11-04  Alexandre Oliva  <aoliva@redhat.com>
* config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't adjust
BDF_RELOC_MN10300_GOT32.
* config/tc-mn10300.c (mn10300_fix_adjustable): If
TC_RELOC_RTSYM_LOC_FIXUP doesn't hold, it's not adjustable.
2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
* config/tc-mn10300.c (mn10300_parse_name): Don't return a
symbol if we know its value.
2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
* config/tc-mn10300.h (GLOBAL_OFFSET_TABLE_NAME): Remove
duplicate underscore prefix.
2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
* config/tc-mn10300.c (mn10300_parse_name): Store relocation
type in X_md, not X_add_number.  Zero X_add_number.
(mn10300_check_fixup): Extract relocation type from X_md.
* config/tc-mn10300.h: Update comment.
2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
* config/tc-mn10300.h (O_GOTOFF, O_PLT, O_GOT): Replace with...
(O_PIC_reloc): this.
* config/tc-mn10300.c (mn10300_PIC_related_p): Use it.
(mn10300_check_fixup): Likewise.
(mn10300_parse_name): Set X_add_number to relocation type.
* config/tc-mn10300.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
TC_RELOC_RTSYM_LOC_FIXUP, md_parse_name, TC_CONS_FIX_NEW,
O_GOTOFF, O_PLT, O_GOT): Define.
* config/tc-mn10300.c (mn10300_PIC_related_p): New fn.
(mn10300_check_fixup): New fn.
(md_assemble): Call it.  Check for PIC-related relocs.
(mn10300_cons_fix_new): Likewise.  New fn.
(mn10300_end_of_match): New fn.
(mn10300_md_parse_name_cont): New fn.

21 years ago2002-12-12 Alexandre Oliva <aoliva@redhat.com>
aoliva [Thu, 10 Jul 2003 03:19:59 +0000 (03:19 +0000)]
2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
* elf-m10300.c (elf32_mn10300_link_hash_newfunc): Initialize
pcrel_relocs_copied.
2001-12-13  Alexandre Oliva  <aoliva@redhat.com>
* elf-m10300.c (ELF_DYNAMIC_INTERPRETER): Renamed from
ld-linux.so.2 to ld.so.1.
2001-10-10  Alexandre Oliva  <aoliva@redhat.com>
* elf-m10300.c (elf_mn10300_sizeof_plt0): New macro.
(_bfd_mn10300_elf_adjust_dynamic_symbol): Use it.
(_bfd_mn10300_elf_finish_dynamic_symbol): Likewise.
* elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Allocate
.rela.* section contents with bfd_zalloc.
2001-09-25  Alexandre Oliva  <aoliva@redhat.com>
* elf-m10300.c: Added declarations for functions missing them.
Merge some shared-library changes from the i386 back-end.  Use
R_MN10300_RELATIVE instead of R_MN10300_PCREL32 and
R_MN10300_GLOB_DAT instead of R_MN10300_32 where appropriate.
(struct elf32_mn10300_link_hash_entry): Remove duplicates of
members of elf_link_hash_entry.  Adjusted references.
(mn10300_elf_final_link_relocate): dynobj was already loaded
into a local variable, use it.
2001-09-21  Nick Clifton  <nickc@cambridge.redhat.com>
* elf-m10300.c: Add missing function prototypes.
2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
* elf-m10300.c (mn10300_elf_relocate_section): Don't compute
relocation for dynamic relocations.
2001-05-16  Alexandre Oliva  <aoliva@redhat.com>
* reloc.c (BFD_RELOC_MN10300_GOTOFF24): New.
* elf-m10300.c: Introduce GOTPC16, GOTOFF24, GOTOFF16 and
PLT16, and rename GOTPC to GOTPC32 and GOTOFF to GOTOFF32.
(_bfd_mn10300_elf_create_dynamic_sections): Move creation ot PLT...
(_bfd_mn10300_elf_create_got_section): ... here, so that its
adress is already known at the time we compute relaxations.
(mn10300_elf_relax_section): Relax GOTPC32, GOTOFF32, GOT32
and PLT32 to narrower relocations.
* libbfd.h, bfd-in2.h: Rebuilt.
2001-04-12  Alexandre Oliva  <aoliva@redhat.com>
* reloc.c (BFD_RELOC_MN10300_GOT32, BFD_RELOC_MN10300_GOT24,
BFD_RELOC_MN10300_GOT16, BFD_RELOC_MN10300_COPY,
BFD_RELOC_MN10300_GLOB_DAT, BFD_RELOC_MN10300_JMP_SLOT,
BFD_RELOC_MN10300_RELATIVE): New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf-m10300.c (struct elf_mn10300_pcrel_relocs_copied): New.
(struct elf32_mn10300_link_hash_entry): Added DSO-related
fields.
(elf_mn10300_howto): Defined new relocation types.
(mn10300_reloc_map): Map them.
(_bfd_mn10300_elf_create_got_section): New fn.
(mn10300_elf_check_relocs): Handle PIC relocs.
(mn10300_elf_final_link_relocate): Likewise.
(mn10300_elf_relocate_section): Handle DSOs.
(PLT0_ENTRY_SIZE, PLT_ENTRY_SIZE, PIC_PLT_ENTRY_SIZE): New macros.
(elf_mn10300_plt0_entry, elf_mn10300_plt_entry,
elf_mn10300_pic_plt_entry): New.
(elf_mn10300_sizeof_plt, elf_mn10300_plt_plt0_offset,
elf_mn10300_plt0_linker_offset, elf_mn10300_plt0_gotid_offset,
elf_mn10300_plt_temp_offset, elf_mn10300_plt_symbol_offset,
elf_mn10300_plt_reloc_offset: New macros.
(ELF_DYNAMIC_INTERPRETER): Likewise.
(_bfd_mn10300_elf_create_dynamic_sections): New function.
(_bfd_mn10300_elf_adjust_dynamic_symbol): Likewise.
(_bfd_mn10300_elf_discard_copies): Likewise.
(_bfd_mn10300_elf_size_dynamic_sections): Likewise.
(_bfd_mn10300_elf_finish_dynamic_symbol): Likewise.
(_bfd_mn10300_elf_finish_dynamic_sections): Likewise.
(elf_backend_can_gc_sections,
elf_backend_create_dynamic_sections,
elf_backend_adjust_dynamic_sections,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size): New
macros.

21 years ago2001-05-16 Alexandre Oliva <aoliva@redhat.com>
aoliva [Thu, 10 Jul 2003 03:19:40 +0000 (03:19 +0000)]
2001-05-16  Alexandre Oliva  <aoliva@redhat.com>
* mn10300.h: Introduce GOTPC16, GOTOFF24, GOTOFF16 and
PLT16, and rename GOTPC to GOTPC32 and GOTOFF to GOTOFF32.
Renumbered all relocs.
2001-04-12  Alexandre Oliva  <aoliva@redhat.com>
* mn10300.h (R_MN10300_GOTPC, R_MN10300_GOTOFF,
R_MN10300_PLT32, R_MN10300_GOT32, R_MN10300_GOT24,
R_MN10300_GOT16, R_MN10300_COPY, R_MN10300_GLOB_DAT,
R_MN10300_JMP_SLOT, R_MN10300_RELATIVE): New relocs.

21 years ago2000-05-25 Alexandre Oliva <aoliva@cygnus.com>
aoliva [Thu, 10 Jul 2003 02:53:27 +0000 (02:53 +0000)]
2000-05-25  Alexandre Oliva  <aoliva@cygnus.com>
* m10300-dis.c (disassemble): Negate negative accumulator's shift.
2000-05-24  Alexandre Oliva  <aoliva@cygnus.com>
* m10300-dis.c (disassemble, case FSREG, FDREG): Don't assume
32-bit longs when sign-extending operands.
2000-04-20  Alexandre Oliva  <aoliva@cygnus.com>
* m10300-opc.c: Remove MN10300_OPERAND_RELAX from all FSREGs.
* m10300-dis.c (HAVE_AM33_2): Define.
(disassemble): Use it.
(HAVE_AM33): Redefine.
(print_insn_mn10300): Fix mask for 5-byte extended insns.
2000-04-01  Alexandre Oliva  <aoliva@cygnus.com>
* m10300-opc.c: Renamed AM332 to AM33_2.
2000-03-31  Alexandre Oliva  <aoliva@cygnus.com>
* m10300-opc.c: Defined AM33 2.0 register operands.  Added support
for AM33 2.0 `imm8,(abs16)' addressing mode for btst, bset and
bclr.  Implemented `fbCC', `flCC', `dcpf' and all FP insns.
* m10300-dis.c (print_insn_mn10300): Recognize 5byte extended
insn code of AM33 2.0.
(disassemble): Recognize FMT_D3.  Print out FP register names.

21 years ago2001-05-06 Alexandre Oliva <aoliva@redhat.com>
aoliva [Thu, 10 Jul 2003 02:53:10 +0000 (02:53 +0000)]
2001-05-06  Alexandre Oliva  <aoliva@redhat.com>
* elf-m10300.c (compute_function_info): Account for AM33
registers in `movm' when computing stack space for `call' when
linking for AM33/2.0 link.
2000-04-01  Alexandre Oliva  <aoliva@cygnus.com>
* archures.c (bfd_mach_am33_2): Renamed from bfd_mach_am332.
* bfd-in2.h: Rebuilt.
* cpu-m10300.c (bfd_am33_2_arch): Renamed from bfd_am332_arch.
* elf-m10300.c: Updated.
2000-03-31  Alexandre Oliva  <aoliva@cygnus.com>
* archures.c (bfd_mach_am332): Defined.
* bfd-in2.h: Rebuilt.
* cpu-m10300.c (bfd_am332_arch): Defined.
(bfd_am33_arch): Chained with am33-2.
* elf-m10300.c (elf_mn10300_mach): Handle am332.
(_bfd_mn10300_elf_final_write_processing): Likewise.

21 years ago2000-05-25 Alexandre Oliva <aoliva@cygnus.com>
aoliva [Thu, 10 Jul 2003 02:50:00 +0000 (02:50 +0000)]
2000-05-25  Alexandre Oliva  <aoliva@cygnus.com>
* config/tc-mn10300.c (mn10300_insert_operand): Negate negative
accumulator's shift.
2000-05-08  Alexandre Oliva  <aoliva@cygnus.com>
* config/tc-mn10300.c (md_relax_table, md_convert_frag,
md_assemble, md_estimate_size_before_relax): Handle fbCC.
2000-04-20  Alexandre Oliva  <aoliva@cygnus.com>
* config/tc-mn10300.c (HAVE_AM33): Redefine in terms of
HAVE_AM33_2.
2000-04-03  Alexandre Oliva  <aoliva@cygnus.com>
* config/tc-mn10300.c (md_pseudo_table): Use AM33_2 constant.
(HAVE_AM33): Match AM33_2 too.
(HAVE_AM33_2): New macro.
(md_assemble): Use it.  Match 2.0 registers only if HAVE_AM33_2.
2000-04-01  Alexandre Oliva  <aoliva@cygnus.com>
* config/tc-mn10300.c (md_pseudo_table): Added `am33_2'.
(float_registers, double_registers): New variables.
(float_register_name, double_register_name): New functions.
(md_assemble): Recognize FP registers.  Implement FMT_D3.
(mn10300_insert_operand): Support FP registers.

21 years ago2002-02-20 Alexandre Oliva <aoliva@redhat.com>
aoliva [Thu, 10 Jul 2003 02:49:45 +0000 (02:49 +0000)]
2002-02-20  Alexandre Oliva  <aoliva@redhat.com>
* gas/mn10300/am33-2.c (d8pcsec): PC-relative relocations within
text sections don't decay to section+offset.
* gas/mn10300/am33-2.d: Rebuilt.
2000-08-15  Eric Christopher  <echristo@cygnus.com>
* gas/mn10300/am33-2.c (d8pcsec): New Function
(condjmp): Adjust testcase for TC_LINKRELAX_FIXUP
functionality.
* gas/mn10300/am33-2.d: Regenerate
2000-05-24  Alexandre Oliva  <aoliva@cygnus.com>
* gas/mn10300/am33-2.c (d8pcoff): Likewise.
* gas/mn10300/am33-2.d: Rebuilt.
2000-04-01  Alexandre Oliva  <aoliva@cygnus.com>
* gas/mn10300/am33-2.c (main): Changed `.am332' to `.am33_2'.
Replaced `AM33 2.0' with `AM33/2.0'.
* gas/mn10300/am33-2.d, gas/mn10300/am33-2.s: Rebuilt.
2000-03-31  Alexandre Oliva  <aoliva@cygnus.com>
* gas/mn10300/am33-2.c: New file, that generated...
* gas/mn10300/am33-2.s, gas/mn10300/am33-2.d: New files.
* gas/mn10300/basic.exp: Test am33-2.

21 years ago2000-04-01 Alexandre Oliva <aoliva@cygnus.com>
aoliva [Thu, 10 Jul 2003 02:49:07 +0000 (02:49 +0000)]
2000-04-01  Alexandre Oliva  <aoliva@cygnus.com>
* mn10300.h (AM33_2): Renamed from AM33.
2000-03-31  Alexandre Oliva  <aoliva@cygnus.com>
* mn10300.h (AM332, FMT_D3): Defined.
(MN10300_OPERAND_FSREG, MN10300_OPERAND_FDREG): Likewise.
(MN10300_OPERAND_FPCR): Likewise.

21 years ago2000-04-01 Alexandre Oliva <aoliva@cygnus.com>
aoliva [Thu, 10 Jul 2003 02:49:00 +0000 (02:49 +0000)]
2000-04-01  Alexandre Oliva  <aoliva@cygnus.com>
* mn10300.h (E_MN10300_MACH_AM33_2): Renamed from
E_MN10300_MACH_AM332.
2000-03-31  Alexandre Oliva  <aoliva@cygnus.com>
* mn10300.h (E_MN10300_MACH_AM332): Defined.

21 years ago* include/cygwin/version.h: Bump DLL minor number to 1.
cgf [Thu, 10 Jul 2003 02:33:27 +0000 (02:33 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 1.

21 years ago* fhandler_proc.cc (format_proc_stat): Use correctly sized constants for
cgf [Thu, 10 Jul 2003 02:09:24 +0000 (02:09 +0000)]
* fhandler_proc.cc (format_proc_stat): Use correctly sized constants for
filling in zeros on 98.

21 years ago* include/cygwin/version.h: Bump DLL minor number to 1.
cgf [Thu, 10 Jul 2003 01:58:38 +0000 (01:58 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 1.

21 years ago2003-07-09 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 10 Jul 2003 01:30:15 +0000 (01:30 +0000)]
2003-07-09  H.J. Lu <hongjiu.lu@intel.com>

* elfxx-ia64.c (IA64_HOWTO): Set dst_mask to -1LL.

21 years ago* fhandler_proc.cc (fhandler_proc::fill_filebuf): Allocate more space for stat
cgf [Thu, 10 Jul 2003 01:09:23 +0000 (01:09 +0000)]
* fhandler_proc.cc (fhandler_proc::fill_filebuf): Allocate more space for stat
buffer.
(format_proc_stat): Reorganize to accumulate and report on all cpus.

21 years ago * ld-powerpc/powerpc.exp: Dump output .got section rather than .toc.
amodra [Thu, 10 Jul 2003 00:38:42 +0000 (00:38 +0000)]
* ld-powerpc/powerpc.exp: Dump output .got section rather than .toc.
* ld-powerpc/tlsexetoc.g: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-powerpc/tlstoc.g: Update.
* ld-powerpc/tlstocso.g: Update.
* ld-powerpc/tlstocso.r: Update.

21 years ago * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define.
amodra [Thu, 10 Jul 2003 00:38:18 +0000 (00:38 +0000)]
* emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define.
(GOT): Define.
* emultempl/ppc64elf.em (stub_added): New static var.
(ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd.
(ppc_add_stub_section): Set stub_added.
(gld${EMULATION_NAME}_finish): Look for .got rather than .toc.  Adjust
ppc64_elf_size_stubs call and test for stubs.
* scripttempl/elf.sc (GOT): Define and use.

21 years ago * elf64-ppc.c (bfd_elf64_mkobject): Define.
amodra [Thu, 10 Jul 2003 00:37:26 +0000 (00:37 +0000)]
* elf64-ppc.c (bfd_elf64_mkobject): Define.
(struct ppc64_elf_obj_tdata): New.
(ppc64_elf_tdata, ppc64_tlsld_got): Define.
(ppc64_elf_mkobject): New function.
(struct got_entry): Add "owner".  Move "tls_type".
(struct ppc_link_hash_table): Delete "relgot", "tlsld_got".
(ppc64_elf_init_stub_bfd): New function.
(create_got_section): Create header .got in dynobj.  Create .got
and .rela.got in each bfd.  Stash pointers in ppc64_elf_obj_tdata.
(ppc64_elf_create_dynamic_sections): Don't call create_got_section.
Look for dynobj .got, and test it.
(ppc64_elf_copy_indirect_symbol): Adjust for changed got.
(update_local_sym_info): Likewise.
(ppc64_elf_check_relocs): Likewise.
(ppc64_elf_gc_sweep_hook): Likewise.
(ppc64_elf_tls_optimize): Likewise.
(allocate_dynrelocs): Likewise.
(ppc64_elf_size_dynamic_sections): Likewise.
(ppc64_elf_relocate_section): Likewise.
(ppc64_elf_next_toc_section): Update comment.
(toc_adjusting_stub_needed): Remove unneeded cast.
(ppc64_elf_build_stubs): Check for stub sections in stub bfd by
testing section flags.
(ppc64_elf_build_stubs): Likewise.
(ppc64_elf_size_stubs): Likewise.  Remove stub_bfd param.
(ppc64_elf_finish_dynamic_sections): Write out got sections.
(func_desc_adjust): Copy over dynamic info for undef weaks.
* elf64-ppc.h (ppc64_elf_init_stub_bfd): Declare.
(ppc64_elf_size_stubs): Update prototype.
* elflink.h (elf_link_sort_relocs): Use link_orders to find reldyn
input sections rather than scanning dynobj.

21 years agodaily update
amodra [Thu, 10 Jul 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Thu, 10 Jul 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***