binutils-gdb.git
24 years agoFix description of --stabs switch
Nick Clifton [Sat, 24 Jun 2000 19:53:12 +0000 (19:53 +0000)]
Fix description of --stabs switch

24 years ago* cgen assembler fixes; approved by original author <devans>
Frank Ch. Eigler [Sat, 24 Jun 2000 15:10:45 +0000 (15:10 +0000)]
* cgen assembler fixes; approved by original author <devans>

2000-06-24  Frank Ch. Eigler  <fche@redhat.com>

* cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf.
(gas_cgen_parse_operand): Set it around expression() call.
(gas_cgen_md_operand): Test for it before longjmp().

24 years ago* verbosity reduction
Frank Ch. Eigler [Sat, 24 Jun 2000 14:47:54 +0000 (14:47 +0000)]
* verbosity reduction

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

* cgen-trace.h (TRACE_USEFUL_MASK): Remove TRACE_EVENTS_IDX.

24 years ago* build cleanliness fix
Frank Ch. Eigler [Sat, 24 Jun 2000 14:37:57 +0000 (14:37 +0000)]
* build cleanliness fix

2000-06-24  Frank Ch. Eigler  <fche@redhat.com>

From Maciej W. Rozycki <macro@ds2.pg.gda.pl>:
* Makefile.in (distclean): Clean cconfig.h also.

24 years agoBlow away DEFUN.
Alan Modra [Sat, 24 Jun 2000 11:51:53 +0000 (11:51 +0000)]
Blow away DEFUN.

24 years agoFix comment typos.
Alan Modra [Sat, 24 Jun 2000 08:07:01 +0000 (08:07 +0000)]
Fix comment typos.

24 years agoarm-elf does --gc-sections too.
Alan Modra [Sat, 24 Jun 2000 04:48:41 +0000 (04:48 +0000)]
arm-elf does --gc-sections too.

24 years agoTipo.
Andrew Cagney [Fri, 23 Jun 2000 14:00:13 +0000 (14:00 +0000)]
Tipo.

24 years agoFix printf arguments.
Andrew Cagney [Fri, 23 Jun 2000 12:39:41 +0000 (12:39 +0000)]
Fix printf arguments.

24 years agoDuh! What double-increment?
Alan Modra [Fri, 23 Jun 2000 11:58:00 +0000 (11:58 +0000)]
Duh!  What double-increment?

24 years agoFor EABI, start allocting space on the stack when the registers are
Andrew Cagney [Fri, 23 Jun 2000 11:06:31 +0000 (11:06 +0000)]
For EABI, start allocting space on the stack when the registers are
full.  Not when the number of args == 8.

24 years ago* $literal support
Frank Ch. Eigler [Fri, 23 Jun 2000 10:51:28 +0000 (10:51 +0000)]
* $literal support

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

* expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX
is defined.

24 years ago(operand): Do not as_bad() if RELAX_PAREN_GROUPING is
Alan Modra [Fri, 23 Jun 2000 10:12:48 +0000 (10:12 +0000)]
(operand): Do not as_bad() if RELAX_PAREN_GROUPING is
defined.  Fix error message and double increment of
input_line_pointer for `[' grouping.

24 years agoAdd support for auto_boolean (true, false or auto).
Andrew Cagney [Fri, 23 Jun 2000 08:12:27 +0000 (08:12 +0000)]
Add support for auto_boolean (true, false or auto).

24 years agoWhen FP registers are full, store FP arguments on stack and not in
Andrew Cagney [Fri, 23 Jun 2000 07:44:00 +0000 (07:44 +0000)]
When FP registers are full, store FP arguments on stack and not in
integer registers.

24 years agoKazu Hirata's formatting and comment typo fixes.
Alan Modra [Fri, 23 Jun 2000 05:44:30 +0000 (05:44 +0000)]
Kazu Hirata's formatting and comment typo fixes.

24 years agoMove premature QP notation clearing to it's appropriate location.
Timothy Wall [Fri, 23 Jun 2000 03:31:06 +0000 (03:31 +0000)]
Move premature QP notation clearing to it's appropriate location.

24 years ago* armemu.c (Multiply64): Fix computation of flag N.
Alexandre Oliva [Thu, 22 Jun 2000 20:42:34 +0000 (20:42 +0000)]
* armemu.c (Multiply64): Fix computation of flag N.

24 years ago* armemu.c (MultiplyAdd64): Fix computation of flag N.
Alexandre Oliva [Thu, 22 Jun 2000 20:03:32 +0000 (20:03 +0000)]
* armemu.c (MultiplyAdd64): Fix computation of flag N.

24 years agoCheck dependecies for leading `/' in this dir too.
Alan Modra [Thu, 22 Jun 2000 13:14:21 +0000 (13:14 +0000)]
Check dependecies for leading `/' in this dir too.

24 years agoEnsure /usr/include and the like stay out of dependencies.
Alan Modra [Thu, 22 Jun 2000 13:01:43 +0000 (13:01 +0000)]
Ensure /usr/include and the like stay out of dependencies.

24 years agoFix a problem with 32-bit displacements in .code16gcc mode.
Alan Modra [Thu, 22 Jun 2000 10:49:13 +0000 (10:49 +0000)]
Fix a problem with 32-bit displacements in .code16gcc mode.

24 years agoPARAMS elimination.
Kevin Buettner [Thu, 22 Jun 2000 07:16:20 +0000 (07:16 +0000)]
PARAMS elimination.

24 years ago2000-06-21 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 22 Jun 2000 03:35:54 +0000 (03:35 +0000)]
2000-06-21  H.J. Lu  <hjl@gnu.org>

* Makefile.am: Rebuild dependency.
* Makefile.in: Rebuild.

24 years ago * config/tc-h8300.c (parse_reg): Make the function static.
Jeff Law [Wed, 21 Jun 2000 21:31:24 +0000 (21:31 +0000)]
    * config/tc-h8300.c (parse_reg): Make the function static.
        (parse_exp): Likewise.

24 years ago * typo problems in last commit fixed
Pierre Muller [Wed, 21 Jun 2000 10:21:14 +0000 (10:21 +0000)]
 * typo problems in last commit fixed

24 years ago2000-06-21 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Wed, 21 Jun 2000 09:59:51 +0000 (09:59 +0000)]
2000-06-21  Pierre Muller  <muller@ics.u-strasbg.fr>
   * symfile.c (init_filename_language_table) add ".pas", ".p" and ".pp"
   as pascal source file extensions.

24 years ago* config/tc-i386.c (tc_i386_fix_adjustable): Revert change from
DJ Delorie [Wed, 21 Jun 2000 02:18:17 +0000 (02:18 +0000)]
* config/tc-i386.c (tc_i386_fix_adjustable): Revert change from
Sept 1999; RVA relocs need to be treated more like DIR32 relocs
for cygwin import libraries to work properly.

24 years ago* gdb.texinfo: Fix typo, $bpnum is set to last breakpoint number.
J.T. Conklin [Tue, 20 Jun 2000 22:13:17 +0000 (22:13 +0000)]
* gdb.texinfo: Fix typo, $bpnum is set to last breakpoint number.

24 years ago* build fix
Frank Ch. Eigler [Tue, 20 Jun 2000 21:12:33 +0000 (21:12 +0000)]
* build fix

2000-06-20  Frank Ch. Eigler  <fche@redhat.com>

* compile.c: Don't include "wait.h".
(sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros
instead of WIF* from host.

24 years ago2000-06-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 20 Jun 2000 20:41:02 +0000 (20:41 +0000)]
2000-06-20  H.J. Lu  <hjl@gnu.org>

* Makefile.am: Rebuild dependency.
* Makefile.in: Rebuild.

24 years ago2000-06-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 20 Jun 2000 20:40:40 +0000 (20:40 +0000)]
2000-06-20  H.J. Lu  <hjl@gnu.org>

* Makefile.am: Rebuild dependency.
* Makefile.in: Rebuild.
* configure: Likewise.
* doc/Makefile.in: Likewise.

24 years ago2000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
Ulf Carlsson [Tue, 20 Jun 2000 16:37:36 +0000 (16:37 +0000)]
2000-06-20  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>

* elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): New function.
(elf_backend_copy_indirect_symbol): Map to the new function.

24 years agoTI C54x target added.
Timothy Wall [Tue, 20 Jun 2000 13:59:03 +0000 (13:59 +0000)]
TI C54x target added.

24 years agoTI C54x target.
Timothy Wall [Tue, 20 Jun 2000 13:52:32 +0000 (13:52 +0000)]
TI C54x target.

24 years agotic54x support.
Timothy Wall [Tue, 20 Jun 2000 13:31:59 +0000 (13:31 +0000)]
tic54x support.

24 years agotic54x/ibmc54xdsp target for ld.
Timothy Wall [Tue, 20 Jun 2000 13:29:07 +0000 (13:29 +0000)]
tic54x/ibmc54xdsp target for ld.

24 years agoCorrect pointer comparisons relying on NULL less than any other pointer.
Alan Modra [Tue, 20 Jun 2000 12:33:21 +0000 (12:33 +0000)]
Correct pointer comparisons relying on NULL less than any other pointer.
Alexander Aganichev's fix for ieee.c

24 years ago2000-06-20 Ulf Carlsson <ulfc@engr.sgi.com>
Ulf Carlsson [Tue, 20 Jun 2000 11:06:19 +0000 (11:06 +0000)]
2000-06-20  Ulf Carlsson  <ulfc@engr.sgi.com>

* elf-bfd.h (struct elf_obj_tdata): Define per BFD Irix 5 virtual
sections elf_{text,data}_{section,symbol}.
* elf32-mips.c: mips_elf_{text,data}_{section,symbol}{,_ptr}: Remove.
(_bfd_mips_elf_hide_symbol): New function.
(elf_backend_hide_symbol): Map to the new function.
(_bfd_mips_elf_add_symbol_hook): Change to use new per BFD
definitions of mips_elf_{text,data}_{section,symbol}.
(mips_elf_local_relocation_p): Try to find the direct symbol
based on new check_forced argument.
(mips_elf_calculate_relocation): Use new version of
mips_elf_local_relocation_p.
(mips_elf_relocate_section): Likewise.
(_bfd_mips_elf_relocate_section): Likewise.
(mips_elf_sort_hash_table): Only assert that have enough GOT
space.
(mips_elf_got16_entry): Match all 32 bits to the existing GOT
entry if the relocation based on the new external argument.
(mips_elf_create_dynamic_relocation): Assert that we have a
section contents allocated where we can swap out the dynamic
relocations.
(mips_elf_calculate_relocation): Find the real hash-table entry
correctly by using h->root.root.type.  Only create a dynamic
relocation entry if the symbol is defined in a shared library.
Create an external GOT entry for the GOT16 relocation if the
symbol was forced local.
(_bfd_mips_elf_finish_dynamic_symbol): Don't assert there is a
dynamic index if the symbol was forced local.

2000-06-20  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>

* elf32-mips.c: Fix typos in comments.

24 years ago* armemu.h (NEGBRANCH): Do not overwrite the two most significant
Alexandre Oliva [Tue, 20 Jun 2000 09:36:12 +0000 (09:36 +0000)]
* armemu.h (NEGBRANCH): Do not overwrite the two most significant
bits of the offset.

24 years agoPARAMS elimination.
Kevin Buettner [Tue, 20 Jun 2000 07:13:39 +0000 (07:13 +0000)]
PARAMS elimination.

24 years ago* rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef
Mark Kettenis [Mon, 19 Jun 2000 19:33:35 +0000 (19:33 +0000)]
* rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef
CORE_VERSION_1.

24 years ago* remote-nindy.c (nindy_fetch_word, nindy_store_word): Removed
J.T. Conklin [Mon, 19 Jun 2000 18:59:07 +0000 (18:59 +0000)]
* remote-nindy.c (nindy_fetch_word, nindy_store_word): Removed
(nindy_xfer_inferior_memory): Use dcache_xfer_memory() instead of
breaking transfer into chunks and using nindy_fetch_word() and
nindy_store_word().

* remote-bug.c (bug_xfer_memory): Use dcache_xfer_memory() instead
of breaking transfer into chunks and using gr_fetch_word() and
gr_store_word().

* remote.c (remote_fetch_word, remote_store_word): Removed.

* remote-utils.h (gr_fetch_word, gr_store_word): Removed.
* remote-utils.c (gr_fetch_word, gr_store_word): Removed.

* dcache.h (dcache_fetch, dcache_poke, dcache_poke_block): Removed.
* dcache.c (dcache_fetch, dcache_poke): Removed.

24 years ago2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 19 Jun 2000 14:56:21 +0000 (14:56 +0000)]
2000-06-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * gdb.base/maint.exp: Add 'maint print architecture' item to output
        of 'help maint print' command.

24 years ago * defs.h: define language_pascal in language enumeration.
Pierre Muller [Mon, 19 Jun 2000 10:14:22 +0000 (10:14 +0000)]
* defs.h: define language_pascal in language enumeration.
    * language.h: define _LANG_pascal macro.
    * language.c: add language_pascal support in all language dependant functions.

24 years agoMove "Changes in version 2.10" to where it belongs.
Alan Modra [Mon, 19 Jun 2000 02:36:45 +0000 (02:36 +0000)]
Move "Changes in version 2.10" to where it belongs.

24 years agoUpdate list of targets supporting --gc-sections.
Alan Modra [Mon, 19 Jun 2000 02:05:53 +0000 (02:05 +0000)]
Update list of targets supporting --gc-sections.
KEEP .eh_frame contents.

24 years agoApplied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support
Nick Clifton [Mon, 19 Jun 2000 01:22:44 +0000 (01:22 +0000)]
Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support
for m68hc11 and m68hc12 processors.

24 years agoImprove verbose message
Nick Clifton [Mon, 19 Jun 2000 01:09:55 +0000 (01:09 +0000)]
Improve verbose message

24 years agoDo not expect the compilation unit tag to be unit 1
Nick Clifton [Mon, 19 Jun 2000 01:05:41 +0000 (01:05 +0000)]
Do not expect the compilation unit tag to be unit 1

24 years agoExpect all arm variants to fail copying executable test
Nick Clifton [Mon, 19 Jun 2000 01:04:20 +0000 (01:04 +0000)]
Expect all arm variants to fail copying executable test

24 years agoUse bfd_octets_per_byte instead of OCTETS_PER_BYTE
Nick Clifton [Mon, 19 Jun 2000 01:01:04 +0000 (01:01 +0000)]
Use bfd_octets_per_byte instead of OCTETS_PER_BYTE

24 years agoFix compile time warnings
Nick Clifton [Mon, 19 Jun 2000 00:59:43 +0000 (00:59 +0000)]
Fix compile time warnings

24 years agoFix compile time warnings
Nick Clifton [Mon, 19 Jun 2000 00:58:34 +0000 (00:58 +0000)]
Fix compile time warnings

24 years agoAdd strongarm tests
Nick Clifton [Mon, 19 Jun 2000 00:56:04 +0000 (00:56 +0000)]
Add strongarm tests

24 years ago2000-06-18 Ulf Carlsson <ulfc@engr.sgi.com>
Ulf Carlsson [Mon, 19 Jun 2000 00:18:58 +0000 (00:18 +0000)]
2000-06-18  Ulf Carlsson  <ulfc@engr.sgi.com>

* elf_bfd.h (struct elf_backend_data): Add info argument to
elf_backend_hide_symbol.
(_bfd_elf_link_hash_hide_symbol): Likewise.
* elf.c (_bfd_elf_link_hash_hide_symbol): Likewise.
* elf64-ia64.c (elf64_ia64_hash_hide_symbol): Likewise.
* elflink.h (elf_link_add_object_symbols): Likewise.
(elf_link_assign_sym_version): Likewise.

24 years ago2000-06-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 18 Jun 2000 23:48:21 +0000 (23:48 +0000)]
2000-06-18  H.J. Lu  <hjl@gnu.org>

* coff-i386.c (coff_i386_reloc): Don't return in case of
output_bfd == (bfd *) NULL if COFF_WITH_PE is defined.
Compensate PE relocations when linking with non-PE object
files to generate a non-PE executable.

24 years ago2000-06-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 18 Jun 2000 23:47:18 +0000 (23:47 +0000)]
2000-06-18  H.J. Lu <hjl@gnu.org>

* configure.in: Don't emulate i386-pc-pe-coff with i386coff.
* configure: Rebuild.

24 years agoChanged values of MODSYNC and CRCCON as suggest by Russ Magee <rmagee@home.com>
Nick Clifton [Sun, 18 Jun 2000 23:29:02 +0000 (23:29 +0000)]
Changed values of MODSYNC and CRCCON as suggest by Russ Magee <rmagee@home.com>

24 years agoRe-do multi-line tests using gdb_expect_list().
Andrew Cagney [Sun, 18 Jun 2000 03:45:35 +0000 (03:45 +0000)]
Re-do multi-line tests using gdb_expect_list().

24 years agoPARAMS elimination.
Kevin Buettner [Sun, 18 Jun 2000 00:23:24 +0000 (00:23 +0000)]
PARAMS elimination.

24 years ago2000-06-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 17 Jun 2000 23:08:19 +0000 (23:08 +0000)]
2000-06-17  H.J. Lu  <hjl@gnu.org>

* getopt.h: Updated from gcc.
* libiberty.h: Likewise.
* symcat.h: Likewise.

24 years agoTypo fix: Change BFD_ASSEMLER to BFD_ASSEMBLER.
Nick Clifton [Sat, 17 Jun 2000 22:00:30 +0000 (22:00 +0000)]
Typo fix: Change BFD_ASSEMLER to BFD_ASSEMBLER.

24 years ago2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
H.J. Lu [Sat, 17 Jun 2000 15:51:55 +0000 (15:51 +0000)]
2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>

  * ansidecl.h: #define __extension__ to nothing if
  GCC_VERSION < 2008.

24 years agoAdd ``set debug mips'' command. Add much debugging.
Andrew Cagney [Sat, 17 Jun 2000 15:18:21 +0000 (15:18 +0000)]
Add ``set debug mips'' command.  Add much debugging.

24 years agoFor MIPS_EABI, squeeze simple floating point structs into an FP register.
Andrew Cagney [Sat, 17 Jun 2000 14:33:56 +0000 (14:33 +0000)]
For MIPS_EABI, squeeze simple floating point structs into an FP register.

24 years agoRemove arbitrary printf output limit placed on pmon targets
Andrew Cagney [Sat, 17 Jun 2000 14:00:31 +0000 (14:00 +0000)]
Remove arbitrary printf output limit placed on pmon targets

24 years agoDon't start directives in first column.
Alan Modra [Sat, 17 Jun 2000 12:09:58 +0000 (12:09 +0000)]
Don't start directives in first column.

24 years ago2000-06-17 Ulf Carlsson <ulfc@engr.sgi.com>
Ulf Carlsson [Sat, 17 Jun 2000 09:47:15 +0000 (09:47 +0000)]
2000-06-17  Ulf Carlsson  <ulfc@engr.sgi.com>

* elf32-mips.c (mips_elf_calculate_relocation): Explicitly write
GOT entries if we're doing a static link or -Bsymbolic link.

24 years agoEABI64 was selecting EABI32
Andrew Cagney [Sat, 17 Jun 2000 05:42:50 +0000 (05:42 +0000)]
EABI64 was selecting EABI32

24 years ago2000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>
Ulf Carlsson [Fri, 16 Jun 2000 23:01:00 +0000 (23:01 +0000)]
2000-06-15  Ulf Carlsson  <ulfc@engr.sgi.com>

* elflink.h (elf_link_adjust_relocs): Check for and call backend
specifific swap_reloc_{in,out} and swap_reloca_{in,out} if
available.
(elf_link_output_relocs): Likewise.
(elf_reloc_link_order): Likewise.

24 years ago * rs6000-tdep.c: Changes throughout for multi-arch 64-bit
Nicholas Duffek [Fri, 16 Jun 2000 21:02:22 +0000 (21:02 +0000)]
* rs6000-tdep.c: Changes throughout for multi-arch 64-bit
support.  Incorporate most of tm-rs6000.h.
(find_toc_address_hook): Rename to rs6000_find_toc_address_hook.
(rs6000_set_host_arch_hook): Declare.
(read_memory_addr): Define.
(pop_frame): Rename to rs6000_pop_frame.
(rs6000_pop_frame, rs6000_fix_call_dummy, rs6000_push_arguments,
rs6000_frame_saved_pc, rs6000_frame_chain): Remove non-generic
dummy frame handling.
(branch_dest, rs6000_pop_frame, rs6000_skip_trampoline_code,
rs6000_frame_saved_pc, frame_get_saved_regs,
frame_initial_stack_address, rs6000_frame_chain,
rs6000_convert_from_func_ptr_addr): Call read_memory_addr instead
of read_memory_integer.
(branch_dest, rs6000_pop_frame, rs6000_push_arguments,
rs6000_skip_trampoline_code, rs6000_frame_saved_pc,
frame_get_saved_regs, frame_initial_stack_address,
rs6000_frame_chain): Replace 4 with TDEP->wordsize.
(skip_prologue): Recognize some 64-bit stack adjustments.
(push_dummy_frame, pop_dummy_frame, set_processor,
show_processor): Delete.
(frame_get_saved_regs): Manipulate saved register addresses using
CORE_ADDR instead of int.
(rs6000_create_inferior): New function.
(register_names_*[]): Change to struct reg registers_*[].
(variants[]): Assimilate into multi-arch approach.
(register_names_*[], variants[]): Refer to pre-PowerPC
architectures as POWER instead of RS6000.
* rs6000-nat.c: Ubiquitous changes for 64-bit support.
(vmap_secs, xcoff_relocate_symtab): Cast addresses
to unsigned long to avoid sign-extension errors.
(set_host_arch): New function.
(xcoff_relocate_symtab): Try disabling usleep(36000) workaround.
(rs6000_core_fns): Use new bfd_target_xcoff_flavour.
(_initialize_core_rs6000): Initialize rs6000_set_host_arch_hook.
* symfile.c (find_sym_fns): Remove special xcoff kludge.
* xcoffread.c (secnum_to_bfd_section): Initialize args.objfile.
(process_linenos): Query line struct size from coff
backend instead of using compile-time constant.
(enter_line_range): Likewise.
(read_xcoff_symtab): Pass "XCOFF64" instead of "XCOFF" to
record_debugformat() if appropriate.
(process_xcoff_symbol): Access symbol addresses using
SYMBOL_VALUE_ADDRESS instead of SYMBOL_VALUE.
(read_symbol_lineno): Retrieve XCOFF64 symbol names from strtbl.
(scan_xcoff_symtab): Likewise.  Query syment struct size from
coff backend instead of using compile-time constant.
(xcoff_sym_fns): Set flavour to bfd_target_xcoff_flavour.
* Makefile.in (INTERNAL_LDFLAGS): Add $(MH_LDFLAGS) to list of flags
that this Makefile variable get set to.  (From Kevin Buettner.)
* config/powerpc/aix.mh (MH_LDFLAGS): Add linker flags so that
the TOC doesn't overflow.  (From Kevin Buettner.)
* config/powerpc/tm-ppc-aix.h: Move config decisions to
multi-arched rs6000-tdep.c.
* config/rs6000/tm-rs6000.h: Likewise.
(GDB_MULTI_ARCH): Define.
(skip_trampoline_code): Rename to rs6000_skip_trampoline_code.
(is_magic_function_pointer): Replace with
rs6000_convert_from_func_ptr_addr.
(TARGET_CREATE_INFERIOR_HOOK): Define.
(find_toc_address_hook): Rename to rs6000_find_toc_address_hook.
(rs6000_set_host_arch_hook): Declare.
* config/rs6000/nm-rs6000.h (CHILD_XFER_MEMORY): Define.

24 years ago * disassemble.c (disassembler): Refer to the PowerPC 620 using
Nicholas Duffek [Fri, 16 Jun 2000 20:46:47 +0000 (20:46 +0000)]
* disassemble.c (disassembler): Refer to the PowerPC 620 using
bfd_mach_ppc_620 instead of 620.

24 years ago * archures.c (enum bfd_architecture): #define constants for
Nicholas Duffek [Fri, 16 Jun 2000 20:45:33 +0000 (20:45 +0000)]
* archures.c (enum bfd_architecture): #define constants for
PowerPc and RS6000 machine numbers.
* bfd-in2.h: Regenerate.
* coffcode.h (coff_set_arch_mach_hook): #ifdef XCOFF64, set arch
to bfd_arch_powerpc instead of bfd_arch_rs6000.  Refer to PowerPc
and RS6000 machine numbers using #defined constants from
archures.c.
* cpu-powerpc.c (arch_info_struct): Refer to PowerPc and RS6000
machine numbers using #defined constants from archures.c.  Add
entries for EC603e, 630, A35, RS64II, RS64III, 7400.  Specify
64-bit words in 620 entry.
* cpu-rs6000.c (arch_info_struct): Create with entries for RS1,
RSC, and RS2.
(bfd_rs6000_arch): Change default machine to 0 (bfd_mach_rs6k).

24 years ago * coffcode.h (coff_mkobject_hook): Set xcoff_tdata.xcoff64.
Nicholas Duffek [Fri, 16 Jun 2000 20:40:50 +0000 (20:40 +0000)]
* coffcode.h (coff_mkobject_hook): Set xcoff_tdata.xcoff64.
* libcoff-in.h (struct xcoff_tdata): Define xcoff64 field.
* libcoff.h (struct xcoff_tdata): Define xcoff64 field.

24 years ago * bfd-in.h (bfd_family_coff): Define.
Nicholas Duffek [Fri, 16 Jun 2000 20:35:08 +0000 (20:35 +0000)]
* bfd-in.h (bfd_family_coff): Define.
* bfd-in2.h: Regenerate.
* coffgen.c (coff_count_linenumbers, coff_symbol_from,
coff_find_nearest_line): Check COFFness using bfd_family_coff()
instead of bfd_target_coff_flavour.
* cofflink.c (_bfd_coff_final_link): Likewise.
* cpu-ns32k.c (do_ns32k_reloc): Don't strcmp() target name to
exclude XCOFF files.
* reloc.c (bfd_perform_relocation, bfd_install_relocation):
Likewise.
* targets.c (enum bfd_flavour): Add bfd_target_xcoff_flavour.
* xcoff-target.h (TARGET_SYM): Use bfd_target_xcoff_flavour.
* xcofflink.c (XCOFF_XVECP): Delete.
(bfd_xcoff_link_record_set, bfd_xcoff_import_symbol,
bfd_xcoff_export_symbol, bfd_xcoff_link_count_reloc,
bfd_xcoff_record_link_assignment,
bfd_xcoff_size_dynamic_sections): Replace XCOFF_XVECP() with
check for bfd_target_xcoff_flavour.

24 years ago * rs6000-core.c: Support 64-bit core files, support pre-4.3 core
Nicholas Duffek [Fri, 16 Jun 2000 20:19:24 +0000 (20:19 +0000)]
* rs6000-core.c: Support 64-bit core files, support pre-4.3 core
files on AIX 4.3.
(read_hdr): New function.
(rs6000coff_core_p): Store mstsave or __context64 struct instead
of trying to extract individual registers.  Set abfd->arch_info
to match the architecture that created the core file.
(rs6000coff_get_section_contents): Delete.
* xcoff-target.h (rs6000coff_get_section_contents): Delete.

24 years agoAdd -mcpu=rmXXXX switch.
Nick Clifton [Fri, 16 Jun 2000 19:11:27 +0000 (19:11 +0000)]
Add -mcpu=rmXXXX switch.

24 years agoFix typo.
Alan Modra [Fri, 16 Jun 2000 07:42:12 +0000 (07:42 +0000)]
Fix typo.

24 years agoFile list is incorrect.
Jim Blandy [Fri, 16 Jun 2000 06:28:54 +0000 (06:28 +0000)]
File list is incorrect.

24 years agoPARAMS elimination.
Kevin Buettner [Fri, 16 Jun 2000 02:11:36 +0000 (02:11 +0000)]
PARAMS elimination.

24 years ago2000-06-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 16 Jun 2000 00:46:22 +0000 (00:46 +0000)]
2000-06-15  H.J. Lu  <hjl@gnu.org>

* dyn-string.c: Removed. Not needed with dyn-string.c in
libiberty.
* dyn-string.h: Likewise.

* Makefile.am: Remove references to dyn-string.c and
dyn-string.h. Rebuild dependency.
* Makefile.in: Rebuild.

24 years agoFix some typos.
H.J. Lu [Thu, 15 Jun 2000 21:09:01 +0000 (21:09 +0000)]
Fix some typos.

24 years agoSynced with libiberty in the gcc repository.
H.J. Lu [Thu, 15 Jun 2000 20:56:25 +0000 (20:56 +0000)]
Synced with libiberty in the gcc repository.

24 years agoRemove entries from gcc. They don't make much senses here since
H.J. Lu [Thu, 15 Jun 2000 20:50:48 +0000 (20:50 +0000)]
Remove entries from gcc. They don't make much senses here since
ChangeLogs in gcc and binutils are quite different.

24 years ago2000-06-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 15 Jun 2000 20:47:02 +0000 (20:47 +0000)]
2000-06-15  H.J. Lu  <hjl@gnu.org>

* sort.h: New file. Impored from gcc.

* hashtab.h: Updated from from gcc.

2000-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* demangle.h (demangling_styles): Remove trailing comma in enum.

* dyn-string.h (dyn_string_append_char): Change parameter from
char to int.

2000-06-04  Alex Samuel  <samuel@codesourcery.com>

* dyn-string.h: Move here from gcc/dyn-string.h.  Add new functions.

* demangle.h (DMGL_GNU_NEW_ABI): New macro.
(DMGL_STYLE_MASK): Or in DMGL_GNU_NEW_ABI.
(current_demangling_style): Add gnu_new_abi_demangling.
(GNU_NEW_ABI_DEMANGLING_STYLE_STRING): New macro.
(GNU_NEW_ABI_DEMANGLING): Likewise.
(cplus_demangle_new_abi): New declaration.

24 years ago2000-06-15 Michael Snyder <msnyder@cygnus.com>
Michael Snyder [Thu, 15 Jun 2000 20:40:29 +0000 (20:40 +0000)]
2000-06-15  Michael Snyder  <msnyder@cygnus.com>

        * utils.c: Fix comment typo.

24 years ago2000-06-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 15 Jun 2000 19:34:44 +0000 (19:34 +0000)]
2000-06-15  H.J. Lu  <hjl@gnu.org>

* binutils.texi: Put a warning on copying relocatable object
files between two different formats.

24 years ago2000-06-15 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Thu, 15 Jun 2000 18:54:48 +0000 (18:54 +0000)]
2000-06-15  Michael Snyder  <msnyder@seadog.cygnus.com>

        * valops.c (value_cast): Break up long lines.

24 years ago * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.
Ulf Carlsson [Thu, 15 Jun 2000 09:30:30 +0000 (09:30 +0000)]
* config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.

24 years agoCorrectly set SEC_READONLY for .text section.
Alan Modra [Thu, 15 Jun 2000 09:09:13 +0000 (09:09 +0000)]
Correctly set SEC_READONLY for .text section.

24 years ago*** empty log message ***
Jim Blandy [Wed, 14 Jun 2000 23:31:23 +0000 (23:31 +0000)]
*** empty log message ***

24 years ago2000-06-14 Jim Blandy <jimb@redhat.com>
Jim Blandy [Wed, 14 Jun 2000 23:29:06 +0000 (23:29 +0000)]
2000-06-14  Jim Blandy  <jimb@redhat.com>

* dwarf2read.c (dump_die): Use the proper printf format for
printing DW_UNSND values; they're longs now.

* dwarf2read.c (dump_die): We can read DW_FORM_data8 now, on
at least some platforms, so print it out too.

2000-06-14  James E. Wilson  <wilson@bletchleypark.cygnus.com>

* dwarf2read.c (struct attribute): Change unsnd and snd field types
to long.
(read_8_bytes): Change return type to long.
(read_unsigned_leb128): Change return type to long.  Change type of
local result to long.  Cast argument of left shift to long.
(read_signed_leb128): Likewise.

24 years ago2000-06-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 14 Jun 2000 18:12:26 +0000 (18:12 +0000)]
2000-06-14  H.J. Lu <hjl@gnu.org>

* gas/macros/strings.d: Support a.out and coff.

24 years ago2000-06-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 14 Jun 2000 18:10:10 +0000 (18:10 +0000)]
2000-06-14  H.J. Lu  <hjl@gnu.org>

* vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_rec)
is NULL.

24 years agoRemove 'mrs r9, cpsr_all' since the cpsr_all flag is no longer legal syntax.
Nick Clifton [Wed, 14 Jun 2000 18:08:24 +0000 (18:08 +0000)]
Remove 'mrs r9, cpsr_all' since the cpsr_all flag is no longer legal syntax.

24 years ago2000-06-14 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Wed, 14 Jun 2000 12:27:59 +0000 (12:27 +0000)]
2000-06-14  Pierre Muller  <muller@ics.u-strasbg.fr>

Add support for Pascal language. Part 1: new files.
* p-exp.y, p-lang.c, p-lang.h, p-typeprint.c, p-valprint.c: New files.

24 years ago2000-06-13 Ulf Carlsson <ulfc@engr.sgi.com>
Ulf Carlsson [Wed, 14 Jun 2000 04:58:50 +0000 (04:58 +0000)]
2000-06-13  Ulf Carlsson  <ulfc@engr.sgi.com>

* macro.c (getstring): Make it possible to escape the quote
character.

24 years ago * config/tc-hppa.c (pa_export): Weak symbols can be global.
Jeff Law [Wed, 14 Jun 2000 02:58:49 +0000 (02:58 +0000)]
    * config/tc-hppa.c (pa_export): Weak symbols can be global.

24 years ago * binutils-all/readelf.exp (regexp_diff): Do not break when a
Hans-Peter Nilsson [Wed, 14 Jun 2000 01:21:35 +0000 (01:21 +0000)]
* binutils-all/readelf.exp (regexp_diff): Do not break when a
mismatching line is found.
(readelf_find_size): New.
(readelf_size): New global variable.
(readelf_test): Add newline to send_log of command.
If $srcdir/$subdir/$regexp_file-$readelf_size exists, use it
instead of $srcdir/$subdir/$regexp_file.
(*-*elf test): Fix typo in message.
* binutils-all/readelf.s-64: New.
* binutils-all/readelf.ss-64: New.