OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years agoFix memory corruption with --gstabs and short length filenames.
Nick Clifton [Tue, 7 Nov 2000 19:36:08 +0000 (19:36 +0000)]
Fix memory corruption with --gstabs and short length filenames.

23 years ago2000-11-07 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 7 Nov 2000 19:11:31 +0000 (19:11 +0000)]
2000-11-07  Kazu Hirata  <kazu@hxi.com>

* aix386-core.c: Fix formatting.
* aoutf1.h: Likewise.
* aoutx.h: Likewise.
* archures.c: Likewise.
* armnetbsd.c: Likewise.

23 years agoLast change was actually made by Matthew Green.
Dave Brolley [Tue, 7 Nov 2000 17:25:30 +0000 (17:25 +0000)]
Last change was actually made by Matthew Green.

23 years ago2000-11-07 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 7 Nov 2000 17:20:25 +0000 (17:20 +0000)]
2000-11-07  Dave Brolley  <brolley@redhat.com>

* cgen-dis.in (print_insn): All insns which can fit into insn_value
must be loaded there in their entirety.

23 years agoFix for H8 ld problem.
Alan Modra [Tue, 7 Nov 2000 05:04:04 +0000 (05:04 +0000)]
Fix for H8 ld problem.

23 years agoia64-hpux patches from Steve Ellcey.
Jim Wilson [Tue, 7 Nov 2000 01:21:10 +0000 (01:21 +0000)]
ia64-hpux patches from Steve Ellcey.
* config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage):
Change M to m for -milp32 or -mlp64 to match gcc.
(dot_endp): Use bytes_per_address instead of 8.
(emit_one_bundle): Use number_to_chars_littleendian instead of
md_number_to_chars.
(fix_insn): Likewise.
(ia64_init): New function.
(ia64_target_format): New function.
(md_begin): Set endianness, arch, and machine as appropriate.
* config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars):
Make these macros depend on TE_HPUX macro.
(TARGET_FORMAT): Define.
(HOST_SPECIAL_INIT): Define.
* config/te-hpux.h: New file.
* configure.in: Add "ia64-*-hpux*" target to configure.
* configure: Regenerate.

23 years ago2000-11-06 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 7 Nov 2000 01:18:45 +0000 (01:18 +0000)]
2000-11-06  Kazu Hirata  <kazu@hxi.com>

* as.c: Fix formatting.
* dwarf2dbg.c: Likewise.
* itbl-ops.c: Likewise.
* listing.c: Likewise.
* macro.h: Likewise.
* messages.c: Likewise.
* read.c: Likewise.
* subsegs.c: Likewise.
* subsegs.h: Likewise.
* write.c: Likewise.

23 years agoFix a few minor Changlog formatting problems.
Jim Wilson [Tue, 7 Nov 2000 01:16:25 +0000 (01:16 +0000)]
Fix a few minor Changlog formatting problems.

23 years agoia64-hpux patches from Steve Ellcey.
Jim Wilson [Tue, 7 Nov 2000 00:43:26 +0000 (00:43 +0000)]
ia64-hpux patches from Steve Ellcey.
* archures.c: (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32) Add defines
to differentiate elf32 and elf64 on ia64.
* bfd-in2.h: Regenerate.
* config.bfd: Add target for "ia64*-*-hpux*".
* configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch.
* configure: Regenerate.
* cpu-ia64.c (bfd_ia64_elf32_arch) Add elf32 arch info structure.
* targets.c: Add bfd_target bfd_elf32_ia64_big_vec.
* Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects
from elfxx-ia64.c.  Add depenency rules for making elf32-ia64.lo.
* Makefile.in: Regnerate.
* elf64-ia64.c: Deleted
* elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.

23 years ago2000-11-06 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 6 Nov 2000 22:56:13 +0000 (22:56 +0000)]
2000-11-06  Kazu Hirata  <kazu@hxi.com>

* aout-adobe.c: Fix formatting.
* aout-arm.c: Likewise.
* aout-cris.c: Likewise.
* aout-encap.c: Likewise.
* aout-ns32k.c: Likewise.
* aout-target.h: Likewise.
* aout-tic30.c: Likewise.

23 years ago2000-11-06 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 6 Nov 2000 21:55:46 +0000 (21:55 +0000)]
2000-11-06  Kazu Hirata  <kazu@hxi.com>

* input-file.c: Fix formatting.
* input-file.h: Likewise.
* input-scrub.c: Likewise.

23 years agoAdd GNU Free Documentation License
Nick Clifton [Mon, 6 Nov 2000 20:27:26 +0000 (20:27 +0000)]
Add GNU Free Documentation License

23 years ago2000-11-05 Philip Blundell <philb@gnu.org>
Phil Blundell [Mon, 6 Nov 2000 19:38:10 +0000 (19:38 +0000)]
2000-11-05  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
BFDs containing no sections to be merged, regardless of their flags.

2000-11-04  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_relocate_section): Suppress error message
if a relocation for an undefined symbol also results in an
overflow.

23 years agoAdd GNU Free Documentation License
Nick Clifton [Mon, 6 Nov 2000 19:24:16 +0000 (19:24 +0000)]
Add GNU Free Documentation License

23 years ago* config.sub: Add support for Sun Chorus
Christopher Faylor [Mon, 6 Nov 2000 19:21:51 +0000 (19:21 +0000)]
* config.sub: Add support for Sun Chorus

23 years ago* config.bfd: Add support for Sun Chorus.
Christopher Faylor [Mon, 6 Nov 2000 18:47:14 +0000 (18:47 +0000)]
* config.bfd: Add support for Sun Chorus.

23 years agoFix compilation warnings as otherwise we fail the test.
Alan Modra [Mon, 6 Nov 2000 10:07:06 +0000 (10:07 +0000)]
Fix compilation warnings as otherwise we fail the test.

23 years ago2000-11-05 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Sun, 5 Nov 2000 23:31:45 +0000 (23:31 +0000)]
2000-11-05  David O'Brien  <obrien@FreeBSD.org>
* configure.in: Recognize alpha-*-freebsd*.
* configure: Regenerate.

I had this in my local tree for along time and had gotten approval for this
on Mon, 22 May 2000 15:45:01 -0700 but somehow managed to never commit it.

Approved by:  Nick Clifton <nickc@cygnus.com>
              Message-Id: <200005222245.PAA14600@elmo.cygnus.com>

23 years agoAdd include of "dwarf2dbg.h"
Nick Clifton [Sun, 5 Nov 2000 19:28:57 +0000 (19:28 +0000)]
Add include of "dwarf2dbg.h"

23 years agoRemove extraneous whitepaces
Nick Clifton [Sun, 5 Nov 2000 19:18:34 +0000 (19:18 +0000)]
Remove extraneous whitepaces

23 years ago*** empty log message ***
Nick Clifton [Sun, 5 Nov 2000 17:14:08 +0000 (17:14 +0000)]
*** empty log message ***

23 years ago* ldlex.l (yy_create_string_buffer): Init all structure fields.
Alan Modra [Sun, 5 Nov 2000 06:27:15 +0000 (06:27 +0000)]
* ldlex.l (yy_create_string_buffer): Init all structure fields.

* Makefile.am (DISTCLEANFILES): Add stringify.sed.
Move 2000-11-02 Makefile.in changes to this file.

23 years ago * hashtab.c (htab_expand): Change to return int. Use calloc or
Hans-Peter Nilsson [Sat, 4 Nov 2000 07:54:27 +0000 (07:54 +0000)]
* hashtab.c (htab_expand): Change to return int.  Use calloc or
  xcalloc depending on htab->return_allocation_failure.  Return zero
  if calloc fails.
(htab_create): Update comment to cover memory allocation.
(htab_try_create): New.
(htab_find_slot_with_hash): Return NULL if htab_expand fails.
   Update comment to cover this.

23 years ago * hashtab.h (struct htab): Add member return_allocation_failure.
Hans-Peter Nilsson [Sat, 4 Nov 2000 07:48:51 +0000 (07:48 +0000)]
* hashtab.h (struct htab): Add member return_allocation_failure.
(htab_try_create): New prototype.  Mention which functions may
return NULL when this is used.

23 years ago * hashtab.c: Change void * to PTR where necessary.
Hans-Peter Nilsson [Fri, 3 Nov 2000 20:55:25 +0000 (20:55 +0000)]
* hashtab.c: Change void * to PTR where necessary.
(htab_create, htab_expand): Correct formatting of comment before
function.

23 years ago * hashtab.h: Change void * to PTR where necessary.
Hans-Peter Nilsson [Fri, 3 Nov 2000 20:53:04 +0000 (20:53 +0000)]
* hashtab.h: Change void * to PTR where necessary.

23 years agoUse ${CONSTRUCTING...} to enclose constructors and destructors.
Nick Clifton [Fri, 3 Nov 2000 19:49:05 +0000 (19:49 +0000)]
Use ${CONSTRUCTING...} to enclose constructors and destructors.

23 years agoFix readelf -S and readelf -s tests for MIPS and v850
Nick Clifton [Fri, 3 Nov 2000 01:59:12 +0000 (01:59 +0000)]
Fix readelf -S and readelf -s tests for MIPS and v850

23 years agoAdd --srec-len and --srec-forceS3 switches to objcopy
Nick Clifton [Fri, 3 Nov 2000 01:47:13 +0000 (01:47 +0000)]
Add --srec-len and --srec-forceS3 switches to objcopy

23 years agoAdd support for -storm-chaos
Nick Clifton [Thu, 2 Nov 2000 23:07:28 +0000 (23:07 +0000)]
Add support for -storm-chaos

23 years agoAdd support for *-storm-chaos target
Nick Clifton [Thu, 2 Nov 2000 23:03:24 +0000 (23:03 +0000)]
Add support for *-storm-chaos target

23 years agoPreserve copy of case clobber opcodes so that .req pseudo op works
Nick Clifton [Thu, 2 Nov 2000 19:32:47 +0000 (19:32 +0000)]
Preserve copy of case clobber opcodes so that .req pseudo op works

23 years agoSWitch over to using dwarf2_generate_asm_lineno
Nick Clifton [Thu, 2 Nov 2000 19:17:04 +0000 (19:17 +0000)]
SWitch over to using dwarf2_generate_asm_lineno

23 years ago2000-11-02 Theo Honohan <th@futuretv.com>
Phil Blundell [Thu, 2 Nov 2000 15:10:57 +0000 (15:10 +0000)]
2000-11-02  Theo Honohan  <th@futuretv.com>

* config/tc-arm.c (do_msr): Improve error message.

23 years ago2000-10-31 Philip Blundell <philb@gnu.org>
Phil Blundell [Wed, 1 Nov 2000 07:20:04 +0000 (07:20 +0000)]
2000-10-31  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
EF_SOFT_FLOAT if it is defined.

23 years ago2000-10-31 Eric Christopher <echristo@cygnus.com>
Eric Christopher [Wed, 1 Nov 2000 00:54:00 +0000 (00:54 +0000)]
2000-10-31  Eric Christopher  <echristo@cygnus.com>

* config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved
or pc-relative, else use fx_offset.

23 years agoAdd Eric Christopher as maintainer for MN10300
Nick Clifton [Wed, 1 Nov 2000 00:37:12 +0000 (00:37 +0000)]
Add Eric Christopher as maintainer for MN10300

23 years agoAdd tag support. Error for dangling qualifying predicates.
Jim Wilson [Wed, 1 Nov 2000 00:00:34 +0000 (00:00 +0000)]
Add tag support.  Error for dangling qualifying predicates.
* config/tc-ia64.c (struct md): New field tag_fixups.
(ia64_flush_insns): Handle tag_fixups.  Error if dangling
qualifying predicate.
(emit_one_bundle): Delete spurious multiplication by one.  Handle
tag_fixups.
(ia64_start_line): Error if dangling qualifying predicate.
(defining_tag): New static variable.
(ia64_unrecognized_line, case '['): Parse tags.
(ia64_frob_label): Create tag_fixups.
(md_assemble): Reset md.qp.X_op after using it.

23 years agoAdd Jim Wilson as Maintainer for IA64 code.
Nick Clifton [Tue, 31 Oct 2000 20:37:25 +0000 (20:37 +0000)]
Add Jim Wilson as Maintainer for IA64 code.

23 years agoKaz Kojima's BFD_RELOC_SH_PCDISP12BY2 fix.
Alan Modra [Tue, 31 Oct 2000 12:33:13 +0000 (12:33 +0000)]
Kaz Kojima's BFD_RELOC_SH_PCDISP12BY2 fix.

23 years agoBetter bundle template selection
Bernd Schmidt [Tue, 31 Oct 2000 10:30:11 +0000 (10:30 +0000)]
Better bundle template selection

23 years ago2000-10-30 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 30 Oct 2000 21:59:01 +0000 (21:59 +0000)]
2000-10-30  Kazu Hirata  <kazu@hxi.com>

* expr.c: Fix formatting.
* flonum-copy.c: Likewise.
* flonum.h: Likewise.
* gasp.c: Likewise.
* hash.c: Likewise.

23 years agoAdd noconfigure dirs for m68[hc]{11|12} targets.
Nick Clifton [Mon, 30 Oct 2000 21:12:29 +0000 (21:12 +0000)]
Add noconfigure dirs for m68[hc]{11|12} targets.

23 years ago * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
Hans-Peter Nilsson [Mon, 30 Oct 2000 20:26:42 +0000 (20:26 +0000)]
* config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
for weak symbols.

23 years ago * as.h (OPTION_MD_BASE): Bump to 190.
Hans-Peter Nilsson [Mon, 30 Oct 2000 20:15:02 +0000 (20:15 +0000)]
* as.h (OPTION_MD_BASE): Bump to 190.
* as.c (parse_args) <std_longopts>: Add comment about the need to
check OPTION_MD_BASE in as.h.

23 years ago * ld-selective/selective.exp <no CXX>: Fix typo for argument to
Hans-Peter Nilsson [Sun, 29 Oct 2000 17:21:03 +0000 (17:21 +0000)]
* ld-selective/selective.exp <no CXX>: Fix typo for argument to
"untested".

23 years ago2000-10-27 Philip Blundell <philb@gnu.org>
Phil Blundell [Fri, 27 Oct 2000 22:24:52 +0000 (22:24 +0000)]
2000-10-27  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
attempts to mix PIC code with non-PIC, just mark the output as
being position dependent.
(elf32_arm_merge_private_bfd_data): Likewise.  Print an error
message for EF_SOFT_FLOAT mismatches.  Display diagnostics for
all mismatches, not just the first one.

23 years agoAdd m68hc12 to list of supported configurations
Nick Clifton [Fri, 27 Oct 2000 18:57:33 +0000 (18:57 +0000)]
Add m68hc12 to list of supported configurations

23 years agohandle lower cased cpsr and spsr
Aldy Hernandez [Fri, 27 Oct 2000 13:55:49 +0000 (13:55 +0000)]
handle lower cased cpsr and spsr

23 years ago * binutils-all/readelf.exp (-wi test): Add cris-*-* to xfails.
Hans-Peter Nilsson [Wed, 25 Oct 2000 23:23:39 +0000 (23:23 +0000)]
* binutils-all/readelf.exp (-wi test): Add cris-*-* to xfails.

23 years agoPlug one of many possible memory leaks in error handling.
Nick Clifton [Wed, 25 Oct 2000 21:53:44 +0000 (21:53 +0000)]
Plug one of many possible memory leaks in error handling.

23 years agoAdd --gdwarf2 support to ARM toolchain
Nick Clifton [Wed, 25 Oct 2000 19:15:34 +0000 (19:15 +0000)]
Add --gdwarf2 support to ARM toolchain

23 years ago2000-10-25 Diego Novillo <dnovillo@cygnus.com>
Diego Novillo [Wed, 25 Oct 2000 11:42:51 +0000 (11:42 +0000)]
2000-10-25  Diego Novillo  <dnovillo@cygnus.com>

* tc-i386.c: Fix prototype declarations for functions taking no
arguments.

23 years ago2000-10-24 Diego Novillo <dnovillo@cygnus.com>
Diego Novillo [Wed, 25 Oct 2000 01:39:11 +0000 (01:39 +0000)]
2000-10-24  Diego Novillo  <dnovillo@cygnus.com>

* tc-i386.c (i386_operand_modifier): Remove.
(build_displacement_string): Remove.
(i386_parse_seg): Remove.
(i386_intel_memory_operand): Remove.
(i386_intel_operand): Re-write using recursive descent parser based
on MASM documentation.
(struct intel_parser_s): New structure.
(intel_parser): New static variable.
(struct intel_token): New structure.
(cur_token, prev_token): New static variables.
(T_NIL): Define.
(T_CONST): Define.
(T_REG): Define.
(T_BYTE): Define.
(T_WORD): Define.
(T_DWORD): Define.
(T_QWORD): Define.
(T_XWORD): Define.
(T_SHORT): Define.
(T_OFFSET): Define.
(T_PTR): Define.
(T_ID): Define.
(intel_match_token): New function.
(intel_get_token): New function.
(intel_putback_token): New function.
(intel_expr): New function.
(intel_e05): New function.
(intel_e05_1): New function.
(intel_e06): New function.
(intel_e06_1): New function.
(intel_e09): New function.
(intel_e09_1): New function.
(intel_e10): New function.
(intel_e10_1): New function.
(intel_e11): New function.

2000-10-24  Diego Novillo  <dnovillo@cygnus.com>

* intel.s, intel.d: Add new tests for intel syntax.

23 years agoAdd mail submission addresses for autoconf and config.{guess,sub}.
Ben Elliston [Tue, 24 Oct 2000 01:08:11 +0000 (01:08 +0000)]
Add mail submission addresses for autoconf and config.{guess,sub}.

23 years ago[merge from gcc]
DJ Delorie [Mon, 23 Oct 2000 15:30:54 +0000 (15:30 +0000)]
[merge from gcc]
* cp-demangle.c (string_list_def): Add caret_position and comments.
(result_caret_pos): New macro.
(result_append_string): Rename to...
(result_add_string): ... this, and insert at caret position.
Rename throughout.
(result_append): Rename to...
(result_add): ... this, and insert at caret position.  Rename
throughout.
(result_append_char): Rename to...
(result_add_char): ... this, and insert at caret position.  Rename
throughout.
(result_append_space): Remove.
(string_list_new): Initialize caret position.
(result_add_separated_char): Use caret position.
(result_get_caret): New funtion.
(result_set_caret): Likewise.
(result_shift_caret): Likewise.
(result_previous_char_is_space): Likewise.
(substitution_start): Use caret position.
(substitution_add): Likewise.
(demangling_new): Initialize caret position.
(demangle_encoding): Use caret position.
(demanglin_nested_name): Put CV qualifiers after name.
(demangle_type_ptr): Use switch statement.  Handle pointers to
arrays.  Don't use result_append_space.  Use caret position.
(demangle_type): Emit CV qualifiers after underlying type.  Adjust
call to demangle_array_type.
(demangle_array_type): Add parameter to handle pointers to arrays.

23 years ago * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
Jakub Jelinek [Fri, 20 Oct 2000 10:58:32 +0000 (10:58 +0000)]
* emulparams/elf64_sparc.sh (TEXT_START_ADDR,
NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
Fix sed invocation, so that it coped with '/' in Solaris 64bit
library path suffix.
Based on patch by Andrew Macleod <amacleod@cygnus.com>.

23 years agogas/
Jakub Jelinek [Fri, 20 Oct 2000 10:38:47 +0000 (10:38 +0000)]
gas/
* config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p
instructions to loose any special insn->architecture mask.

* config/tc-sparc.c (v9a_asr_table): Add v9b ASRs.
(sparc_md_end, sparc_arch_types, sparc_arch,
sparc_elf_final_processing): Handle v8plusb and v9b architectures.
(sparc_ip): Handle siam mode operands. Support v9b ASRs (and
request v9b architecture if they are used).

bfd/
* elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
elf32_sparc_object_p, elf32_sparc_final_write_processing):
Support v8plusb.
* elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
sparc64_elf_object_p): Support v9b.
* archures.c: Declare v8plusb and v9b machines.
* bfd-in2.h: Ditto.
* cpu-sparc.c: Ditto.

include/opcode/
* sparc.h (enum sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_V9B.
Note that '3' is used for siam operand.

opcodes/
* sparc-dis.c (v9a_asr_reg_names): Add v9b ASRs.
(compute_arch_mask): Add v8plusb and v9b machines.
(print_insn_sparc): siam mode decoding, accept ASRs up to 25.
* opcodes/sparc-opc.c: Support for Cheetah instruction set.
(prefetch_table): Add #invalidate.

23 years ago2000-10-19 H.J. Lu (hjl@gnu.org)
H.J. Lu [Thu, 19 Oct 2000 19:52:28 +0000 (19:52 +0000)]
2000-10-19  H.J. Lu  (hjl@gnu.org)

* ld-elfvsb/elfvsb.exp (visibility_run): Set expected failures
for Linux/PPC.
* ld-shared/shared.exp: Likewise.

23 years ago(readelf -S test, readelf -s test): Expect mips*-*-* to fail.
Nick Clifton [Thu, 19 Oct 2000 18:04:56 +0000 (18:04 +0000)]
(readelf -S test, readelf -s test): Expect mips*-*-* to fail.

23 years agoEnsure section sizes are multiples of 16, so that targets like MIPS
Alan Modra [Thu, 19 Oct 2000 03:19:51 +0000 (03:19 +0000)]
Ensure section sizes are multiples of 16, so that targets like MIPS
that pad out sections won't fail these tests.

23 years ago2000-10-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 18 Oct 2000 19:46:28 +0000 (19:46 +0000)]
2000-10-18  H.J. Lu <hjl@gnu.org>

* gas/i386/intel.d: Fix the support for 64bit BFD in the last
change.

23 years agoFix the previous misapplied patch.
Nick Clifton [Wed, 18 Oct 2000 19:26:57 +0000 (19:26 +0000)]
Fix the previous misapplied patch.

23 years agoRELAX_RELOC_*: New definitions for both BFD_ASSEMBLER and !BFD_ASSEMBLER.
Nick Clifton [Wed, 18 Oct 2000 17:42:27 +0000 (17:42 +0000)]
RELAX_RELOC_*: New definitions for both BFD_ASSEMBLER and !BFD_ASSEMBLER.

23 years ago * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
Hans-Peter Nilsson [Wed, 18 Oct 2000 13:10:12 +0000 (13:10 +0000)]
* scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
for consecutive sections.

23 years ago2000-10-17 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 17 Oct 2000 20:21:45 +0000 (20:21 +0000)]
2000-10-17  Kazu Hirata  <kazu@hxi.com>

* debug.c: Fix formatting.
* depend.c: Likewise.
* dwarf2dbg.c: Likewise.
* dwarf2dbg.h: Likewise.
* ecoff.c: Likewise.
* expr.c: Likewise.
* expr.h: Likewise.
* flonum-konst.c: Likewise.
* frags.h: Likewise.

23 years agoAdded new option --target-help.
Chandra Chavva [Tue, 17 Oct 2000 20:10:20 +0000 (20:10 +0000)]
Added new option --target-help.

23 years ago * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
Geoffrey Keating [Mon, 16 Oct 2000 20:49:53 +0000 (20:49 +0000)]
* elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
of a GOT reloc.

23 years ago * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
Geoffrey Keating [Mon, 16 Oct 2000 19:52:26 +0000 (19:52 +0000)]
* elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
(SYMBOL_CALLS_LOCAL): New macro.
(ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
(ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
(ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
(ppc_elf_relocate_section): Use flag variable to determine
whether the relocation refers to a local symbol.
Test whether a PLTREL24 reloc will produce a reloc by looking
to see whether a PLT entry was made.

23 years ago * config/tc-sh.c (JREG): Remove.
Hans-Peter Nilsson [Mon, 16 Oct 2000 19:44:39 +0000 (19:44 +0000)]
* config/tc-sh.c (JREG): Remove.
(md_convert_frag): Remove #if 0:d code using JREG.

23 years agoAdd tests of return values from bfd function calls
Nick Clifton [Mon, 16 Oct 2000 19:08:45 +0000 (19:08 +0000)]
Add tests of return values from bfd function calls

23 years agoChange mask for OC to 0xFE00
Nick Clifton [Mon, 16 Oct 2000 18:18:47 +0000 (18:18 +0000)]
Change mask for OC to 0xFE00

23 years agogas:
Diego Novillo [Sun, 15 Oct 2000 06:17:36 +0000 (06:17 +0000)]
gas:

2000-10-15  Diego Novillo  <dnovillo@cygnus.com>

* config/tc-i386.c (i386_operand_modifier): Only match
modifiers SHORT and FLAT if they are followed by a space.
(parse_register): When `allow_naked_reg' is set, do not confuse
identifiers that start with a register name with a register.

gas/testsuite:

2000-10-15  Diego Novillo  <dnovillo@cygnus.com>

* intel.s, intel.d: Add new tests for naked registers using intel
syntax.

23 years ago * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
Geoffrey Keating [Sat, 14 Oct 2000 23:30:12 +0000 (23:30 +0000)]
* elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
entries that could serve as a definition for a weak symbol.

23 years ago2000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>
Ulf Carlsson [Sat, 14 Oct 2000 04:05:23 +0000 (04:05 +0000)]
2000-10-13  Ulf Carlsson  <ulfc@engr.sgi.com>

From  Ralf Baechle  <ralf@gnu.org>

* elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
local_p.  Add symbol value only for non-R_MIPS_REL32 relocations
against local symbols.
(_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.

23 years agoOops - fix mistake in previous delta where unused variable 'nsyms' was
Nick Clifton [Fri, 13 Oct 2000 20:41:08 +0000 (20:41 +0000)]
Oops - fix mistake in previous delta where unused variable 'nsyms' was
deleted, but along with its (necessary) call to bfd_canonicalize_symtab.

23 years agoAdd #ifdef DLL_SUPPORT around use of pe_dll_search_prefix.
Nick Clifton [Fri, 13 Oct 2000 20:16:03 +0000 (20:16 +0000)]
Add #ifdef DLL_SUPPORT around use of pe_dll_search_prefix.

23 years ago* emultempl/pe.em (pe_dll_search_prefix): New variable,
DJ Delorie [Thu, 12 Oct 2000 19:18:20 +0000 (19:18 +0000)]
* emultempl/pe.em (pe_dll_search_prefix): New variable,
(longopts): New --dll-search-prefix option.
(gld_${EMULATION_NAME}_list_options): Document.
(gld_${EMULATION_NAME}_parse_args): Handle.
(gld_${EMULATION_NAME}_open_dynamic_archive): When linking
dynamically, search for a dll named '<prefix><basename>.dll'
in preference to 'lib<basename>.dll' if --dll-search-prefix
is specified.

23 years ago* Make comma after string after icon/control optional.
DJ Delorie [Thu, 12 Oct 2000 17:47:35 +0000 (17:47 +0000)]
* Make comma after string after icon/control optional.

23 years agoAnother try at correcting relocations against discarded
Alan Modra [Thu, 12 Oct 2000 03:44:51 +0000 (03:44 +0000)]
Another try at correcting relocations against discarded
link-once section symbols.

23 years agomerge from gcc repository
DJ Delorie [Thu, 12 Oct 2000 02:16:48 +0000 (02:16 +0000)]
merge from gcc repository

23 years agoInclude alloca-conf.h
Alan Modra [Thu, 12 Oct 2000 01:28:06 +0000 (01:28 +0000)]
Include alloca-conf.h

23 years ago2000-10-12 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 11 Oct 2000 20:24:32 +0000 (20:24 +0000)]
2000-10-12  Kazu Hirata  <kazu@hxi.com>

* app.c: Fix formatting.
* as.c: Likewise.
* as.h: Likewise.
* bit_fix.h: Likewise.
* cgen.c: Likewise.
* cgen.h: Likewise.
* cond.c: Likewise.

23 years agoRevert 2000-10-07 link-once section symbol changes.
Alan Modra [Wed, 11 Oct 2000 07:05:02 +0000 (07:05 +0000)]
Revert 2000-10-07 link-once section symbol changes.

23 years ago2000-10-10 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 11 Oct 2000 00:16:07 +0000 (00:16 +0000)]
2000-10-10  Kazu Hirata  <kazu@hxi.com>

* deffile.h: Fix formatting.
* lexsup.c: Likewise.
* mri.c: Likewise.

23 years agoFix my last change to actually compile.
Alan Modra [Tue, 10 Oct 2000 23:38:27 +0000 (23:38 +0000)]
Fix my last change to actually compile.

23 years ago(ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
Alan Modra [Tue, 10 Oct 2000 15:50:35 +0000 (15:50 +0000)]
(ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.

23 years ago* section.c (bfd_make_section_anyway): Release newsect ptr when
Alan Modra [Tue, 10 Oct 2000 15:23:38 +0000 (15:23 +0000)]
* section.c (bfd_make_section_anyway): Release newsect ptr when
newsect->symbol fails to alloc.  Use bfd_release instead of free.

23 years ago* pe-dll.c (make_one): Do not generate code thunk for DATA
DJ Delorie [Tue, 10 Oct 2000 03:28:01 +0000 (03:28 +0000)]
* pe-dll.c (make_one): Do not generate code thunk for DATA
exports.
(process_def_file): deduce DATA flag for auto-export sumbols.

23 years ago * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
Richard Henderson [Mon, 9 Oct 2000 23:16:30 +0000 (23:16 +0000)]
    * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
        (elf64_ia64_unwind_entry_compare): New.
        (elf64_ia64_final_link): Sort the .IA_64.unwind section.

23 years ago2000-10-09 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 9 Oct 2000 15:46:45 +0000 (15:46 +0000)]
2000-10-09  Kazu Hirata  <kazu@hxi.com>

* pe-dll.c: Revert some formatting fixes.

23 years ago2000-10-09 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 9 Oct 2000 15:09:17 +0000 (15:09 +0000)]
2000-10-09  Kazu Hirata  <kazu@hxi.com>

* ldcref.c: Fix formatting.
* ldctor.h: Likewise.
* ldemul.c: Likewise.
* ldemul.h: Likewise.
* ldexp.c: Likewise.
* ldexp.h: Likewise.
* ldfile.c: Likewise.
* ldfile.h: Likewise.
* ld.h: Likewise.
* ldlang.c: Likewise.
* ldlang.h: Likewise.
* ldmain.c: Likewise.

23 years ago2000-10-09 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 9 Oct 2000 07:01:29 +0000 (07:01 +0000)]
2000-10-09  Kazu Hirata  <kazu@hxi.com>

* pe-dll.c: Fix formatting.

23 years ago2000-10-08 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 9 Oct 2000 01:37:11 +0000 (01:37 +0000)]
2000-10-08  Kazu Hirata  <kazu@hxi.com>

* pe-dll.c: Fix formatting.

23 years ago * ld-selective/selective.exp: Rearrange to be table-driven.
Hans-Peter Nilsson [Mon, 9 Oct 2000 01:35:13 +0000 (01:35 +0000)]
* ld-selective/selective.exp: Rearrange to be table-driven.

23 years ago(md_apply_fix): Remove bad assert added 2000-09-26.
Alan Modra [Sat, 7 Oct 2000 14:38:32 +0000 (14:38 +0000)]
(md_apply_fix): Remove bad assert added 2000-09-26.

23 years ago* ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too
Alan Modra [Sat, 7 Oct 2000 13:57:29 +0000 (13:57 +0000)]
* ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too

23 years agoCure a number of segfaults caused by /DISCARD/ of dynamic sections.
Alan Modra [Sat, 7 Oct 2000 13:40:33 +0000 (13:40 +0000)]
Cure a number of segfaults caused by /DISCARD/ of dynamic sections.

23 years agoMake elf section symbols global for link-once sections.
Alan Modra [Sat, 7 Oct 2000 12:52:15 +0000 (12:52 +0000)]
Make elf section symbols global for link-once sections.

23 years ago* peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
DJ Delorie [Fri, 6 Oct 2000 19:47:51 +0000 (19:47 +0000)]
* peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
* coffcode.h (coff_set_alignment_hook): read extended reloc count
(coff_write_relocs): write extended reloc count
(coff_write_object_contents): account for extended relocs