OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years ago* added RCS date tag
fche [Mon, 25 Jun 2001 17:49:33 +0000 (17:49 +0000)]
* added RCS date tag

23 years ago * elf32-i386.c (elf_i386_check_relocs <R_386_32, R_386_PC32>):
amodra [Mon, 25 Jun 2001 08:16:44 +0000 (08:16 +0000)]
* elf32-i386.c (elf_i386_check_relocs <R_386_32, R_386_PC32>):
Ensure syms are dynamic if we might be emitting a reloc.
(allocate_plt_and_got_and_discard_relocs): Don't discard relocs
for undefweak or undefined syms..
(elf_i386_relocate_section <R_386_32, R_386_PC32>): .. and emit.

23 years ago2001-06-24 Ben Elliston <bje@redhat.com>
bje [Mon, 25 Jun 2001 07:57:09 +0000 (07:57 +0000)]
2001-06-24  Ben Elliston  <bje@redhat.com>

* stabs.c (generate_asm_file): Make local variable `len' a size_t.

23 years ago * readelf.c (dump_relocations): Print "bad symbol index" if
amodra [Mon, 25 Jun 2001 03:30:26 +0000 (03:30 +0000)]
* readelf.c (dump_relocations): Print "bad symbol index" if
symtab == NULL with non-zero symtab_index.
(process_relocs): Don't bomb if reloc section has no symsec.

23 years ago * elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Discard
amodra [Mon, 25 Jun 2001 02:40:47 +0000 (02:40 +0000)]
* elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Discard
relocs without ELF_LINK_HASH_DEF_DYNAMIC set.
(elf_i386_relocate_section <R_386_32, R_386_PC32>): Remove
redundant bfd_link_hash_defined, bfd_link_hash_defweak test.

23 years ago* Typo fix.
bje [Mon, 25 Jun 2001 01:45:51 +0000 (01:45 +0000)]
* Typo fix.

23 years ago2001-06-25 Ben Elliston <bje@redhat.com>
bje [Mon, 25 Jun 2001 01:45:28 +0000 (01:45 +0000)]
2001-06-25  Ben Elliston  <bje@redhat.com>

* sidcomp.h (bus::status code): Change type to host_int_1.
(bus::status constructors): Cast status_t to host_int_1.
(API_MINOR_VERSION): Bump it.

23 years ago2001-06-24 Ben Elliston <bje@redhat.com>
bje [Mon, 25 Jun 2001 00:26:28 +0000 (00:26 +0000)]
2001-06-24  Ben Elliston  <bje@redhat.com>

* sidcpuutil.h (basic_cpu::total_latency): New member.
(basic_cpu constructor): Initialise it.
(basic_cpu::step_pin_handler): Include latency in cycle counts.
(basic_cpu::latency_to_cycles): New virtual method.
(basic_cpu::read_insn_memory): Add bus latency to total_latency.
(basic_cpu::write_insn_memory): Ditto.
(basic_cpu::read_data_memory): Ditto.
(basic_cpu::write_data_memory): Ditto.
(basic_cpu::stream_state): Add total_latency to state snapshot.
(basic_cpu::destream_state): Likewise.

23 years ago*** empty log message ***
gdbadmin [Mon, 25 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-06-24 Ben Elliston <bje@redhat.com>
bje [Sun, 24 Jun 2001 23:24:11 +0000 (23:24 +0000)]
2001-06-24  Ben Elliston  <bje@redhat.com>

* cache.cxx (set_hash_mask): Validate parse_attribute result.
(set_hash_shift): Ditto.

23 years agoforced commit
cgf [Sun, 24 Jun 2001 22:26:48 +0000 (22:26 +0000)]
forced commit

23 years agoFix typo
cgf [Sun, 24 Jun 2001 22:00:04 +0000 (22:00 +0000)]
Fix typo

23 years ago* exceptions.cc (interrupt_setup): Move actions from setup_handler to here.
cgf [Sun, 24 Jun 2001 21:57:49 +0000 (21:57 +0000)]
* exceptions.cc (interrupt_setup): Move actions from setup_handler to here.
(setup_handler): Move actions after a successful interrupt to interrupt_setup.
* fork.cc (vfork): Augment debugging output.
* sigproc.cc (proc_subproc): Ditto.
* spawn.cc (spawn_guts): Ditto.  Correctly fill out progname when spawn
NO_WAIT.  Call signal handler when a signal arrives.
* sigproc.h: Declare a function.

23 years ago * config/tc-alpha.c (tc_gen_reloc): Handle relocs against SEC_MERGE
jakub [Sun, 24 Jun 2001 16:43:30 +0000 (16:43 +0000)]
* config/tc-alpha.c (tc_gen_reloc): Handle relocs against SEC_MERGE
section symbols the same way as externs.

23 years ago2001-06-24 H.J. Lu <hjl@gnu.org>
hjl [Sun, 24 Jun 2001 16:27:00 +0000 (16:27 +0000)]
2001-06-24  H.J. Lu  <hjl@gnu.org>

* objcopy.c (strip_main): Revert the change made on 2001-05-30
by accident.
(copy_main): Apply the the change made to strip_main on
2001-05-30 by accident.

23 years ago2001-06-24 H.J. Lu <hjl@gnu.org>
hjl [Sun, 24 Jun 2001 16:06:38 +0000 (16:06 +0000)]
2001-06-24  H.J. Lu  <hjl@gnu.org>

* cpu-i960.c (scan_960_mach): Don't modify const char *. Use
strncasecmp/strcasecmp instead of strncmp/strcmp.

23 years ago2001-06-24 Fernando Nasser <fnasser@redhat.com>
fnasser [Sun, 24 Jun 2001 13:46:09 +0000 (13:46 +0000)]
2001-06-24  Fernando Nasser  <fnasser@redhat.com>

* remote-rdi.c (arm_rdi_wait): Fix return type in prototype.
* rdi-share/host.h: Add missing parenthesis in conditional.

2001-06-22  J.T. Conklin  <jtc@redback.com>

* configure.in: include nlist.h when checking for member som_addr
in struct so_map.
* configure: regenerate.

23 years ago2001-06-24 Ben Elliston <bje@redhat.com>
bje [Sun, 24 Jun 2001 06:01:48 +0000 (06:01 +0000)]
2001-06-24  Ben Elliston  <bje@redhat.com>

* config/tc-m88k.c (md_number_to_imm): Remove; unused since 1993.
(emit_relocations): Ditto.
(s_bss): Ditto.
(md_begin): Reformat comments to conform to the GNU standards.
(md_assemble): Ditto.

23 years ago* fixes to silence all compiler warnings.
bje [Sun, 24 Jun 2001 01:56:47 +0000 (01:56 +0000)]
* fixes to silence all compiler warnings.

2001-06-24  Ben Elliston  <bje@redhat.com>

* config/tc-m88k.c (get_reg): Adjust type of `reg_prefix' to char.
(md_parse_option): Mark parameters as unused.
(md_show_usage): Ditto.
(calcop): Adjust type of `reg_prefix' to char.
(get_reg): Ditto.
(getval): Adjust type of local `c' to char.
(md_create_short_jump): Mark from_addr, to_addr params as unused.
(md_create_long_jump): Ditto.
(md_estimate_size_before_relax): Mark parameters as unused.

23 years ago2001-06-24 Ben Elliston <bje@redhat.com>
bje [Sun, 24 Jun 2001 01:04:16 +0000 (01:04 +0000)]
2001-06-24  Ben Elliston  <bje@redhat.com>

* m88k-dis.c: Format to conform to GNU coding standards.

23 years ago2001-06-23 H.J. Lu <hjl@gnu.org>
hjl [Sun, 24 Jun 2001 00:36:47 +0000 (00:36 +0000)]
2001-06-23  H.J. Lu  <hjl@gnu.org>

* elf32-i386.c (elf_i386_relocate_section): Check the
ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined
in the regular object file and treat the weak definition as
the normal one.

23 years ago*** empty log message ***
gdbadmin [Sun, 24 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-06-24 Ben Elliston <bje@redhat.com>
bje [Sat, 23 Jun 2001 23:02:57 +0000 (23:02 +0000)]
2001-06-24  Ben Elliston  <bje@redhat.com>

* config/tc-m88k.c (md_pseudo_table): Properly terminate the table
to allay a possible compiler warning.

23 years agoRename gdb.mi/ChangeLog-mi to gdb.mi/ChangeLog. Update everything.
cagney [Sat, 23 Jun 2001 21:47:09 +0000 (21:47 +0000)]
Rename gdb.mi/ChangeLog-mi to gdb.mi/ChangeLog.  Update everything.

23 years agoChange mi/data-disassemble command output to a list ([]) instead of
cagney [Sat, 23 Jun 2001 20:43:56 +0000 (20:43 +0000)]
Change mi/data-disassemble command output to a list ([]) instead of
({}).

23 years ago * disassemble.c (disassembler_usage): Add unused attribute.
aj [Sat, 23 Jun 2001 16:07:05 +0000 (16:07 +0000)]
* disassemble.c (disassembler_usage): Add unused attribute.

23 years ago * unwind-ia64.c (unw_decode_x1): Add unused attribute for
aj [Sat, 23 Jun 2001 16:06:50 +0000 (16:06 +0000)]
* unwind-ia64.c (unw_decode_x1): Add unused attribute for
parameter 'code'.
(unw_decode_x2): Likewise.
(unw_decode_x3): Likewise.
(unw_decode_x4): Likewise.

23 years ago * elf32-i386.c (elf_i386_relocate_section <R_386_GOT32>): Tighten
amodra [Sat, 23 Jun 2001 15:02:43 +0000 (15:02 +0000)]
* elf32-i386.c (elf_i386_relocate_section <R_386_GOT32>): Tighten
unresolved_reloc test to exclude cases where we use "relocation"
before setting it to point into the .got.  Reinstate fudge for
unresolved relocs in debugging sections.

23 years ago2001-06-23 Ben Elliston <bje@redhat.com>
bje [Sat, 23 Jun 2001 13:17:34 +0000 (13:17 +0000)]
2001-06-23  Ben Elliston  <bje@redhat.com>

* config.guess: Import latest version from FSF sources.

23 years ago* test fix: don't fail in presence of --target_board=SOMETHING
fche [Sat, 23 Jun 2001 13:06:43 +0000 (13:06 +0000)]
* test fix: don't fail in presence of --target_board=SOMETHING

[config/ChangeLog]
2001-06-23  Frank Ch. Eigler  <fche@redhat.com>

        * unix.exp: File removed; moved to testsuite/config/default.exp.

[component/testsuite/ChangeLog]
2001-06-23  Frank Ch. Eigler  <fche@redhat.com>

        * config/default.exp: New file, moved from ../../config/unix.exp.

23 years ago* tweak
fche [Sat, 23 Jun 2001 11:18:01 +0000 (11:18 +0000)]
* tweak

2001-06-23  Frank Ch. Eigler  <fche@redhat.com>

        * configrun-sid.in: Add support for --memory-region latency settings.

23 years ago* improvement
fche [Sat, 23 Jun 2001 11:12:32 +0000 (11:12 +0000)]
* improvement

2001-06-23  Frank Ch. Eigler  <fche@redhat.com>

        * glue.cxx (probing_bus::traceAccess): Print non-zero latency.
        * hw-glue-probe-bus.txt: Document this.

23 years ago * elf32-i386.c (elf_i386_relocate_section): Replace ugly
amodra [Sat, 23 Jun 2001 11:01:43 +0000 (11:01 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Replace ugly
complicated tests for unresolvable relocs with a simple direct
scheme using "unresolved_reloc" var.

23 years ago2001-06-23 Ben Elliston <bje@redhat.com>
bje [Sat, 23 Jun 2001 10:26:08 +0000 (10:26 +0000)]
2001-06-23  Ben Elliston  <bje@redhat.com>

* MAINTAINERS: Add myself as M88k maintainer.

23 years ago * elf32-i386.c (struct elf_i386_pcrel_relocs_copied): Rename to
amodra [Sat, 23 Jun 2001 10:03:53 +0000 (10:03 +0000)]
* elf32-i386.c (struct elf_i386_pcrel_relocs_copied): Rename to
elf_i386_dyn_relocs.  Update comment.
(struct elf_i386_link_hash_entry): Rename pcrel_relocs_copied to
dyn_relocs.
(elf_i386_adjust_dynamic_symbol): Remove a BFD_ASSERT, change
others to aborts.
(allocate_plt_and_got_and_discard_relocs): Replace BFD_ASSERT with
abort.
(elf_i386_size_dynamic_sections): Likewise.
(elf_i386_finish_dynamic_symbol): Likewise.
(elf_i386_finish_dynamic_sections): Likewise.
(elf_i386_relocate_section): Likewise.  Tidy R_386_GOT32 and error
handling code.

23 years ago Avoid creating COPY relocs if possible.
amodra [Sat, 23 Jun 2001 05:54:14 +0000 (05:54 +0000)]
Avoid creating COPY relocs if possible.
* elf32-i386.c (elf_i386_check_relocs): Tweak condition under
which .got created.  Mark symbols used by R_386_32 and R_386_PC32
relocs as ELF_LINK_NON_GOT_REF to create COPY relocs only when the
reloc is in a read-only section.  Instead, allocate space for a
dynamic reloc to reference the library symbol directly.  Keep
track of space we allocate using pcrel_relocs_copied.
(discard_copies): Delete, and move code to ..
(allocate_plt_and_got): ..here.  Rename to
allocate_plt_and_got_and_discard_relocs.  Remove unneeded dynamic
relocs for non-shared link.
(elf_i386_size_dynamic_sections): Update calls to above functions.
(elf_i386_relocate_section): Write out the dynamic relocs.  Add
more ugly logic to avoid "unresolvable relocation" error.  Use
htab shortcut in place of elf_hash_table macro.
(elf_i386_finish_dynamic_sections): Allow that dynamic .got may
not always be created now.

23 years ago2001-06-22 Michael Chastain <chastain@redhat.com>
chastain [Sat, 23 Jun 2001 05:22:46 +0000 (05:22 +0000)]
2001-06-22  Michael Chastain  <chastain@redhat.com>

* gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
This is operationally compatible with the previous version.

23 years ago*** empty log message ***
gdbadmin [Sat, 23 Jun 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-06-22 Eric Christopher <echristo@redhat.com>
echristo [Fri, 22 Jun 2001 21:10:01 +0000 (21:10 +0000)]
2001-06-22  Eric Christopher  <echristo@redhat.com>

* mips-opc.c: Move prefx to start of the table.

23 years ago * fhandler.h class fhandler_socket): Declare new method
corinna [Fri, 22 Jun 2001 20:53:45 +0000 (20:53 +0000)]
    * fhandler.h class fhandler_socket): Declare new method
        `set_close_on_exec'.
        * fhandler_socket.cc (fhandler_socket::set_close_on_exec):
        New method.

23 years ago * fhandler_tape.cc (fhandler_dev_tape::tape_erase): Set size
corinna [Fri, 22 Jun 2001 20:13:00 +0000 (20:13 +0000)]
    * fhandler_tape.cc (fhandler_dev_tape::tape_erase): Set size
        parameter to value expected by GetTapeParameters().

23 years ago * fhandler_console.cc (fhandler_console::read): Detect AltGr more
corinna [Fri, 22 Jun 2001 20:08:06 +0000 (20:08 +0000)]
    * fhandler_console.cc (fhandler_console::read): Detect AltGr more
        robustly on WinNT.

23 years ago* configure.in: include nlist.h when checking for member som_addr
jtc [Fri, 22 Jun 2001 16:01:30 +0000 (16:01 +0000)]
* configure.in: include nlist.h when checking for member som_addr
in struct so_map.
* configure: regenerate.

23 years ago2001-06-22 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 22 Jun 2001 12:26:24 +0000 (12:26 +0000)]
2001-06-22  Frank Ch. Eigler  <fche@redhat.com>

* sidcomp.h (API_MAJOR_VERSION, API_MINOR_VERSION): Relabel
previous change impact to 3/1 from 4/0.

23 years agoDocument md_atof
nickc [Fri, 22 Jun 2001 09:32:07 +0000 (09:32 +0000)]
Document md_atof

23 years agoAdd missing support for -o option.
nickc [Fri, 22 Jun 2001 09:02:05 +0000 (09:02 +0000)]
Add missing support for -o option.

23 years agoFix over-optimisation of ST instruction.
nickc [Fri, 22 Jun 2001 08:55:05 +0000 (08:55 +0000)]
Fix over-optimisation of ST instruction.

23 years agoAdd wdebug instruction
nickc [Fri, 22 Jun 2001 08:21:14 +0000 (08:21 +0000)]
Add wdebug instruction

23 years agoAdd %mrp (millicode return pointer) alias for %r2 or %r31, depending on 32 or
nickc [Fri, 22 Jun 2001 08:17:56 +0000 (08:17 +0000)]
Add %mrp (millicode return pointer) alias for %r2 or %r31, depending on 32 or
64 bit architecture.

23 years ago2001-06-22 Ben Elliston <bje@redhat.com>
bje [Fri, 22 Jun 2001 08:11:09 +0000 (08:11 +0000)]
2001-06-22  Ben Elliston  <bje@redhat.com>

* sidcomp.h (API_MAJOR_VERSION): Bump to 4.
(bus::status_t): Remove "delayed" enumerator.

23 years ago2001-06-22 Ben Elliston <bje@redhat.com>
bje [Fri, 22 Jun 2001 07:47:12 +0000 (07:47 +0000)]
2001-06-22  Ben Elliston  <bje@redhat.com>

* glue.cxx (probing_bus::traceAccess): Omit bus::delayed.

23 years ago * gloss.cxx (gloss32::get_string): Ignore bus::delayed status.
bje [Fri, 22 Jun 2001 07:42:56 +0000 (07:42 +0000)]
* gloss.cxx (gloss32::get_string): Ignore bus::delayed status.
(gloss32::set_string): Likewise.
(gloss32::get_word): Likewise.
(gloss32::set_word): Likewise.

23 years ago2001-06-22 Ben Elliston <bje@redhat.com>
bje [Fri, 22 Jun 2001 07:36:54 +0000 (07:36 +0000)]
2001-06-22  Ben Elliston  <bje@redhat.com>

* compTcl.cxx (tcl_component_ctor_0): Omit "delayed" from the bus
status lookup table.

23 years ago2001-06-22 Ben Elliston <bje@redhat.com>
bje [Fri, 22 Jun 2001 07:32:52 +0000 (07:32 +0000)]
2001-06-22  Ben Elliston  <bje@redhat.com>

* compLoader.cxx (elf_loader::load_function): Don't loop while
memory appears delayed -- just write.

23 years ago2001-06-22 Ben Elliston <bje@redhat.com>
bje [Fri, 22 Jun 2001 07:22:52 +0000 (07:22 +0000)]
2001-06-22  Ben Elliston  <bje@redhat.com>

* am29.cxx (am29_bus::write): Never return bus::delayed.
(am29_bus::read) [big_int_1]: Likewise.
(am29_bus::read) [little_int_1]: Likewise.

23 years ago2001-06-22 Ben Elliston <bje@redhat.com>
bje [Fri, 22 Jun 2001 07:09:08 +0000 (07:09 +0000)]
2001-06-22  Ben Elliston  <bje@redhat.com>

* m32rbf.cxx (m32rbf_cpu::memory_trap): Ignore bus::delayed.

23 years ago2001-06-22 Ben Elliston <bje@redhat.com>
bje [Fri, 22 Jun 2001 07:07:39 +0000 (07:07 +0000)]
2001-06-22  Ben Elliston  <bje@redhat.com>

* arm7f.cxx (arm7f_cpu::memory_trap): Ignore bus::delayed.

23 years ago2001-06-22 Ben Elliston <bje@redhat.com>
bje [Fri, 22 Jun 2001 06:21:15 +0000 (06:21 +0000)]
2001-06-22  Ben Elliston  <bje@redhat.com>

* lib/monkey.exp (monkey_test): If an individual monkey test
fails, bail out immediately.

23 years ago2001-06-22 Ben Elliston <bje@redhat.com>
bje [Fri, 22 Jun 2001 05:10:41 +0000 (05:10 +0000)]
2001-06-22  Ben Elliston  <bje@redhat.com>

* sidcomp.cfgroot/comment.badconf: Remove ARM-specific components.
* sidcomp.cfgroot/cr100925.badconf: Likewise.
* sidcomp.cfgroot/cr100931.badconf: Likewise.
* sidcomp.cfgroot/cr100942.badconf: Likewise.
* sidcomp.cfgroot/dupRel.badconf: Likewise.
* sidcomp.cfgroot/illegCh.badconf: Likewise.
* sidcomp.cfgroot/invaName.badconf: Likewise.
* sidcomp.cfgroot/invaRel.badconf: Likewise.
* sidcomp.cfgroot/multiSet.badconf: Likewise.
* sidcomp.cfgroot/unknown.badconf: Likewise.
* sidcomp.cfgroot/wrongOrd.badconf: Likewise.
* sidcomp.cfgroot/comment.expect: Update to reflect new errors.
* sidcomp.cfgroot/cr100925.expect: Likewise.
* sidcomp.cfgroot/cr100931.expect: Likewise.
* sidcomp.cfgroot/cr100942.expect: Likewise.
* sidcomp.cfgroot/dupRel.expect: Likewise.
* sidcomp.cfgroot/illegCh.expect: Likewise.
* sidcomp.cfgroot/invaName.expect: Likewise.
* sidcomp.cfgroot/invaRel.expect: Likewise.
* sidcomp.cfgroot/multiSet.expect: Likewise.
* sidcomp.cfgroot/unknown.expect: Likewise.
* sidcomp.cfgroot/wrongOrd.expect: Likewise.

23 years ago2001-06-22 Ben Elliston <bje@redhat.com>
bje [Fri, 22 Jun 2001 05:02:46 +0000 (05:02 +0000)]
2001-06-22  Ben Elliston  <bje@redhat.com>

* lib/monkey.exp (monkey_test): Correct logic thinko when deciding
whether or not to output the finishing time.

23 years ago*** empty log message ***
gdbadmin [Fri, 22 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * cli-out.c (cli_out_new): Initialize new structure member
kseitz [Thu, 21 Jun 2001 22:54:05 +0000 (22:54 +0000)]
* cli-out.c (cli_out_new): Initialize new structure member
"suppress_output".

23 years ago2001-06-22 Robert Collins rbtcollins@hotmail.com
rbcollins [Thu, 21 Jun 2001 22:27:20 +0000 (22:27 +0000)]
2001-06-22  Robert Collins  rbtcollins@hotmail.com

* thread.cc (__pthread_cond_timedwait): Lock the waiting mutex before
the condition protect mutex to avoid deadlocking. (Found by Greg Smith).
(__pthread_cond_wait): Ditto.

23 years agoAllow adrCCl. [Patch from Phillip BLundel]
nickc [Thu, 21 Jun 2001 19:46:53 +0000 (19:46 +0000)]
Allow adrCCl.  [Patch from Phillip BLundel]
Updated ARM tests.

23 years ago* mi-out.c (struct ui_out_data): Replace field first_header with
cagney [Thu, 21 Jun 2001 19:27:50 +0000 (19:27 +0000)]
* mi-out.c (struct ui_out_data): Replace field first_header with
suppress_output.
(mi_begin, mi_end): Check suppress_header.
(mi_field_int, mi_field_skip): Ditto.
(mi_field_string, mi_field_fmt): Ditto.
(mi_table_begin): When nr_rows is zero, set suppress_header else,
output the start of the header.
(mi_table_body): Clear suppress header.

23 years ago * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix linking of
aj [Thu, 21 Jun 2001 16:33:13 +0000 (16:33 +0000)]
* elf64-x86-64.c (elf64_x86_64_relocate_section): Fix linking of
shared libraries.

23 years agoOutput ``[]'' when a list.
cagney [Thu, 21 Jun 2001 16:15:19 +0000 (16:15 +0000)]
Output ``[]'' when a list.

23 years ago* ui-out.h (ui_out_table_header): Add parameter ``col_name''.
cagney [Thu, 21 Jun 2001 15:39:51 +0000 (15:39 +0000)]
* ui-out.h (ui_out_table_header): Add parameter ``col_name''.
(table_header_ftype): Ditto.
* cli-out.c (cli_table_header): Update.
* ui-out.c (ui_out_table_header): Update.
(uo_table_header): Update.
(default_table_header): Update.
(append_header_to_list): Update.
(struct ui_out_header): Add field ``col_name''.
(append_header_to_list): Use xstrdup.  Initialize col_name.
* breakpoint.c (breakpoint_1): Pass COL_NAME to
ui_out_table_header.

23 years ago2001-06-21 Ben Elliston <bje@redhat.com>
bje [Thu, 21 Jun 2001 13:40:06 +0000 (13:40 +0000)]
2001-06-21  Ben Elliston  <bje@redhat.com>

* sidcomp.cache/cache.exp: Test for the existence of "hit-latency"
and "miss-latency" attributes.

23 years ago2001-06-21 Ben Elliston <bje@redhat.com>
bje [Thu, 21 Jun 2001 13:37:08 +0000 (13:37 +0000)]
2001-06-21  Ben Elliston  <bje@redhat.com>

* cache.h (cache_component::hit_latency): New member.
(cache_component::miss_latency): Likewise.
* cache.cxx (cache_component ctor): Add attributes for these.
(cache_component::write_any): Add miss latency for misaligned
accesses. Set latency correctly for return.
(cache_component::read_any): Add miss latency for misaligned
accesses. Set latency correctly for return.
(cache_component::read_line): Return the true result of reads.
(cache_component::write_line): Likewise for writes.
* hw-cache.txt: Document latency extensions.

23 years ago2001-06-21 Ben Elliston <bje@redhat.com>
bje [Thu, 21 Jun 2001 13:20:08 +0000 (13:20 +0000)]
2001-06-21  Ben Elliston  <bje@redhat.com>

* sidcomp.mapper/basicmapper.exp: Test for the existence of a
"latency" attribute.
* sidcomp.memory/genericmemory.exp: Test for the existence of
"read-latency" and "write-latency" attributes.

23 years ago2001-06-21 Ben Elliston <bje@redhat.com>
bje [Thu, 21 Jun 2001 13:05:11 +0000 (13:05 +0000)]
2001-06-21  Ben Elliston  <bje@redhat.com>

* compMapper.cxx (generic_mapper::latency): New member.
(generic_mapper constructor): Add a "latency" attribute.
(generic_mapper_bus::write_strideoffset_any): Accumulate latency.
(generic_mapper_bus::read_strideoffset_any): Likewise.
(generic_mapper_bus::write_any): Likewise.
(generic_mapper_bus::read_any): Likewise.
* hw-mapper-basic.txt: Document extension.

23 years ago2001-06-21 Ben Elliston <bje@redhat.com>
bje [Thu, 21 Jun 2001 12:49:39 +0000 (12:49 +0000)]
2001-06-21  Ben Elliston  <bje@redhat.com>

* generic.h (generic_memory::read_latency): New member.
(generic_memory::write_latency): Likewise.
(generic_read_write_bus::write_any): Set write latency on return.
(generic_read_only_bus::read_any): Likewise for read latency.
* generic.cxx (generic_memory constructor): Initialise new
read_latency and write_latency members. Add attributes for them.
* hw-memory-ram_rom-basic.txt: Document extensions.
* hw-memory-flash-am29.txt: Likewise.
* hw-memory-flash-at29.txt: Likewise.

23 years agoFix typos
nickc [Thu, 21 Jun 2001 07:44:28 +0000 (07:44 +0000)]
Fix typos

23 years ago * config/tc-hppa.c (CHECK_FIELD_WHERE): Define.
amodra [Thu, 21 Jun 2001 06:12:10 +0000 (06:12 +0000)]
* config/tc-hppa.c (CHECK_FIELD_WHERE): Define.
(md_apply_fix): Use it here.  Replace printf with equivalent
as_bad_where.
(tc_gen_reloc): Use as_bad_where instead of as_bad.
(md_apply_fix): Here too.
* config/tc-i386.c (tc_gen_reloc): Use as_bad_where instead of as_bad.
* config/tc-m68k.c (tc_gen_reloc): Likewise.
(md_convert_frag_1): Likewise.

23 years ago2001-06-21 Ben Elliston <bje@redhat.com>
bje [Thu, 21 Jun 2001 05:54:42 +0000 (05:54 +0000)]
2001-06-21  Ben Elliston  <bje@redhat.com>

* sidcomp.cache/utils.exp: Use sid_bus_ok_p to detect bus write
errors instead of the common construction: if {$result == "ok"}.
* sidcomp.ide/diskio.exp: Likewise.
* sidcomp.lcd/lcdbase.exp: Likewise.
* sidcomp.mapper/basicmapper.exp: Likewise.
* sidcomp.memory/am29.exp: Likewise.
* sidcomp.memory/at29.exp: Likewise.
* sidcomp.memory/at29val.exp: Likewise.
* sidcomp.memory/genericmemory.exp: Likewise.
* sidcomp.mmu/arm-remap.exp: Likewise.
* sidcomp.rtc/ds1642.exp: Likewise.
* sidcomp.rtc/ds1742.exp: Likewise.
* sidcomp.timers/timerbase.exp: Likewise.

23 years ago * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Always
amodra [Thu, 21 Jun 2001 05:47:12 +0000 (05:47 +0000)]
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Always
allocate local .got space.  Use shortcuts from hash table for .got
and .plt rather than comparing section names.
(elf32_hppa_check_relocs): Use local_plt_refcounts var rather than
adjusting index into local_got_refcounts to document what we are
really doing.
(elf32_hppa_relocate_section): Similarly for local_plt_offsets.
Tidy .got and .plt error checking.

23 years ago2001-06-21 Ben Elliston <bje@redhat.com>
bje [Thu, 21 Jun 2001 05:45:17 +0000 (05:45 +0000)]
2001-06-21  Ben Elliston  <bje@redhat.com>

* compTcl.cxx (encode_bus_status): Append bus latency when
constructing the bus status string.
(decode_bus_status): Decode status code and latency.
(sid_bus_read_any): Place status string in a sub-list of result.
* bridge-tcl.txt: Update Tcl type table.

23 years ago2001-06-21 Ben Elliston <bje@redhat.com>
bje [Thu, 21 Jun 2001 05:40:01 +0000 (05:40 +0000)]
2001-06-21  Ben Elliston  <bje@redhat.com>

* sidcomp.h (API_MAJOR_VERSION): Bump to 3.
(API_MINOR_VERSION): Zero.
(bus::status_t): New name for enum status.
(bus::status): New struct.

23 years ago2001-06-21 Ben Elliston <bje@redhat.com>
bje [Thu, 21 Jun 2001 05:38:55 +0000 (05:38 +0000)]
2001-06-21  Ben Elliston  <bje@redhat.com>

* unix.exp (sid_bus_ok_p): Adjust for new bus status structure.

23 years ago*** empty log message ***
gdbadmin [Thu, 21 Jun 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * ld.texinfo (Options, -r): Mention restrictions when using
hp [Wed, 20 Jun 2001 22:40:13 +0000 (22:40 +0000)]
* ld.texinfo (Options, -r): Mention restrictions when using
different object formats.

23 years ago * bfdint.texi (BFD relocation functions) <different formats>:
hp [Wed, 20 Jun 2001 22:23:23 +0000 (22:23 +0000)]
* bfdint.texi (BFD relocation functions) <different formats>:
Mention that the GNU linker is aware of input-output format
restrictions when generating relocatable output.  Make new
paragraph for final-link case.
(BFD target vector swap): Fix typo.

23 years ago * elf-bfd.h (struct elf_backend_data):
clm [Wed, 20 Jun 2001 20:34:10 +0000 (20:34 +0000)]
    * elf-bfd.h (struct elf_backend_data):
        elf_backend_emit_relocs: New field: Function for emitting
        relocs.
        elf_backend_count_relocs: New field: Function for determining
        the number of relocs to be emitted.
        * elfxx-target.h: Provide default (NULL) values for
        elf_backend_emit_relocs and elf_backend_count_relocs.
        * elflink.h (elf_link_size_reloc_section): Make the hash table
        big enough to hold the relocs counted by either reloc_count or
        o->reloc_count.
        (elf_bfd_final_link) emit_relocs: New boolean, set if relocs
        should be emitted, either because of a command line option
        stored in the info structure or because the target provides a
        special reloc emitting function.
        If the target provides a reloc counting function use it,
        unless performing a relocatable link or emitting all relocs.
        Also set the SEC_RELOC flag on any output section which will
        contain relocs.
        (elf_link_input_bfd): emit_relocs: New boolean, set if relocs
        should be emitted, either because of a command line option
        stored in the info structure or because the target provides a
        special reloc emitting function.
        If the target provides a reloc emitting function, use it,
        unless performing a relocatable link or emitting all relocs.

23 years ago2001-06-20 H.J. Lu <hjl@gnu.org>
hjl [Wed, 20 Jun 2001 18:54:52 +0000 (18:54 +0000)]
2001-06-20  H.J. Lu  <hjl@gnu.org>

* elf32-i386.c (elf_i386_size_dynamic_sections): Always
allocate local .got space.

23 years agoFix for problem with default alignment of .comm
trix [Wed, 20 Jun 2001 13:34:06 +0000 (13:34 +0000)]
Fix for problem with default alignment of .comm

23 years ago* fhandler.cc (fhandler_base::open): Work around windows bug when
duda [Wed, 20 Jun 2001 07:44:33 +0000 (07:44 +0000)]
* fhandler.cc (fhandler_base::open): Work around windows bug when
CreateFile() with dwDesiredAccess == 0 called on remote share returns
valid handle even if file doesn't exist.

23 years ago2001-06-20 Ben Elliston <bje@redhat.com>
bje [Wed, 20 Jun 2001 07:18:25 +0000 (07:18 +0000)]
2001-06-20  Ben Elliston  <bje@redhat.com>

* sidcomp.cache/coherency.exp: Use sid_bus_ok_p to detect bus read
errors instead of the frequently used (and less readable)
construction: if {[lindex $result] 0 == "ok"}.
* sidcomp.cache/writealloc.exp: Likewise.
* sidcomp.cache/writethru.exp: Likewise.
* sidcomp.gloss/angel.exp: Likewise.
* sidcomp.ide/diskio.exp: Likewise.
* sidcomp.interrupt/arm-interrupt.exp: Likewise.
* sidcomp.interrupt/cma222-interrupt.exp: Likewise.
* sidcomp.lcd/lcdbase.exp: Likewise.
* sidcomp.mapper/basicmapper.exp: Likewise.
* sidcomp.memory/am29.exp: Likewise.
* sidcomp.memory/at29.exp: Likewise.
* sidcomp.memory/at29val.exp: Likewise.
* sidcomp.memory/genericmemory.exp: Likewise.
* sidcomp.mmu/arm-remap.exp: Likewise.
* sidcomp.parport/parport.exp: Likewise.
* sidcomp.rtc/ds1642.exp: Likewise.
* sidcomp.rtc/ds1742.exp: Likewise.
* sidcomp.timers/timerbase.exp: Likewise.
* sidcomp.timers/timersched.exp: Likewise.

23 years ago* fhandler_socket.cc (fhandler_socket::signal_secret_event): New
duda [Wed, 20 Jun 2001 06:50:13 +0000 (06:50 +0000)]
* fhandler_socket.cc (fhandler_socket::signal_secret_event): New
function.
* fhandler.h: Declare it.
* fhandler_socket.cc (fhandler_socket::create_secret_event): Don't
signal secret event immediately.
(fhandler_socket::check_peer_secret_event): Do it after peer event
was opened.
* net.cc (cygwin_connect): Or if socket is non-blocking.
(cygwin_accept): Ditto.

23 years ago2001-06-20 Ben Elliston <bje@redhat.com>
bje [Wed, 20 Jun 2001 02:19:15 +0000 (02:19 +0000)]
2001-06-20  Ben Elliston  <bje@redhat.com>

* unix.exp (sid_bus_ok_p): Rename sid_assert_bus_ok.

23 years ago2001-06-20 Ben Elliston <bje@redhat.com>
bje [Wed, 20 Jun 2001 02:07:53 +0000 (02:07 +0000)]
2001-06-20  Ben Elliston  <bje@redhat.com>

* unix.exp (sid_assert_bus_ok): New proc.

23 years ago*** empty log message ***
gdbadmin [Wed, 20 Jun 2001 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* cli-out.c: Include "gdb_assert.h'.
cagney [Tue, 19 Jun 2001 20:30:10 +0000 (20:30 +0000)]
* cli-out.c: Include "gdb_assert.h'.
(struct ui_out_data): Add field ``suppress_output.
(cli_table_begin): When NR_ROWS is zero, suppress_output.
(cli_table_end): Clear suppress_output.
(cli_table_body): Check suppress_output.
(cli_table_header, cli_begin): Ditto.
(cli_end, cli_field_int, cli_field_skip): Ditto.
(cli_field_string, cli_field_fmt, cli_spaces): Ditto.
(cli_text, cli_message, cli_wrap_hint): Ditto.
* breakpoint.c (breakpoint_1): Close the ui_out table before
printing the breakpoint not found message.

23 years ago* build fixes/improvements
fche [Tue, 19 Jun 2001 20:16:12 +0000 (20:16 +0000)]
* build fixes/improvements

2001-06-19  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.am (NEARBY_LIBS, NEARBY_DEPS_LIBS): Add libcache.la.
* Makefile.in: Regenerated.

2001-03-21  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.am (NEARBY_DEPS_LIBS): New macro.
(sid_DEPENDENCIES, sid_LDADD): Use it.
* Makefile.in: Regenerated.

23 years ago * ldlang.c (lang_check): Emit fatal error if relocatable link
hp [Tue, 19 Jun 2001 19:57:38 +0000 (19:57 +0000)]
* ldlang.c (lang_check): Emit fatal error if relocatable link
between different object flavours with relocations in input.

23 years ago2001-06-19 H.J. Lu <hjl@gnu.org>
hjl [Tue, 19 Jun 2001 18:16:49 +0000 (18:16 +0000)]
2001-06-19  H.J. Lu <hjl@gnu.org>

* doc/Makefile.in: Regenerated.

23 years agoRestore file accidentally deleted during man page cleanup
nickc [Tue, 19 Jun 2001 16:26:43 +0000 (16:26 +0000)]
Restore file accidentally deleted during man page cleanup

23 years ago* ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
cagney [Tue, 19 Jun 2001 16:19:14 +0000 (16:19 +0000)]
* ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
(default_table_begin): Ditto.
* breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to
ui_out_table_begin.
Update everything.

23 years ago2001-06-19 H.J. Lu <hjl@gnu.org>
hjl [Tue, 19 Jun 2001 15:22:39 +0000 (15:22 +0000)]
2001-06-19  H.J. Lu  <hjl@gnu.org>

* ld.texinfo (-E, --export-dynamic): Mention --version-script.
(--version-script): Mention the language support.

23 years ago2001-06-19 H.J. Lu <hjl@gnu.org>
hjl [Tue, 19 Jun 2001 14:39:02 +0000 (14:39 +0000)]
2001-06-19  H.J. Lu <hjl@gnu.org>

* ldlang.c (lang_check): Revert the change mode on 2001-06-15.