binutils-gdb.git
25 years agoAdd mcore target
Nick Clifton [Fri, 4 Jun 1999 07:20:18 +0000 (07:20 +0000)]
Add mcore target

25 years agoMake LDRH/LDRB consistent with LDR when target is PC-relative
Nick Clifton [Fri, 4 Jun 1999 07:14:10 +0000 (07:14 +0000)]
Make LDRH/LDRB consistent with LDR when target is PC-relative

25 years ago Update to match current gas,bfd and opcodes.
Nick Clifton [Fri, 4 Jun 1999 07:12:40 +0000 (07:12 +0000)]
 Update to match current gas,bfd and opcodes.

25 years ago(ELF_MAXPAGESIZE): Default to 0x1000 not 1
Nick Clifton [Fri, 4 Jun 1999 06:35:04 +0000 (06:35 +0000)]
(ELF_MAXPAGESIZE): Default to 0x1000 not 1

25 years ago * elf.c (elf_fake_sections): Undo change of 1999-05-10.
Andreas Schwab [Fri, 4 Jun 1999 01:07:38 +0000 (01:07 +0000)]
* elf.c (elf_fake_sections): Undo change of 1999-05-10.

25 years ago * elf32-sh.c (sh_elf_relax_delete_bytes): Fix setting of
Joern Rennecke [Thu, 3 Jun 1999 19:12:54 +0000 (19:12 +0000)]
* elf32-sh.c (sh_elf_relax_delete_bytes): Fix setting of
start / stop for recalculating of r_addend of R_SH_SWITCH*.

25 years ago * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH32
Joern Rennecke [Thu, 3 Jun 1999 18:54:32 +0000 (18:54 +0000)]
* elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH32
in other text sections.

25 years ago * libbfd.c (_bfd_generic_verify_endian_match): New function.
Joern Rennecke [Thu, 3 Jun 1999 18:48:24 +0000 (18:48 +0000)]
* libbfd.c (_bfd_generic_verify_endian_match): New function.
* libbfd-in.h (_bfd_generic_verify_endian_match): Declare.
* libbfd.h: Regenerate.
* coff-sh.c (sh_merge_private_data): Delete.
(coff_bfd_merge_private_bfd_data): Change to
_bfd_generic_verify_endian_match.
(elf32-sh.c): bfd_elf32_bfd_merge_private_bfd_data: Define.

25 years agoUse macros to hold names of temporary files.
Nick Clifton [Thu, 3 Jun 1999 13:22:45 +0000 (13:22 +0000)]
Use macros to hold names of temporary files.

25 years ago * cgen.c: Update for symbol handling changes.
Ian Lance Taylor [Thu, 3 Jun 1999 12:51:21 +0000 (12:51 +0000)]
* cgen.c: Update for symbol handling changes.

25 years agoUpdate.
Ulrich Drepper [Thu, 3 Jun 1999 12:46:39 +0000 (12:46 +0000)]
Update.

25 years ago * config/tc-m32r.c: Update for symbol handling changes.
Ian Lance Taylor [Thu, 3 Jun 1999 12:46:26 +0000 (12:46 +0000)]
* config/tc-m32r.c: Update for symbol handling changes.

25 years agoFix typo: change ELF_MAXPAGE_SIZE to ELF_MAXPAGESIZE.
Ulrich Drepper [Thu, 3 Jun 1999 12:46:15 +0000 (12:46 +0000)]
Fix typo: change ELF_MAXPAGE_SIZE to ELF_MAXPAGESIZE.

25 years ago * config/tc-hppa.h: Update for symbol handling changes.
Ian Lance Taylor [Thu, 3 Jun 1999 12:42:36 +0000 (12:42 +0000)]
* config/tc-hppa.h: Update for symbol handling changes.
* config/tc-hppa.c: Likewise.

25 years ago * config/tc-arm.h: Update for symbol handling changes.
Ian Lance Taylor [Thu, 3 Jun 1999 09:50:01 +0000 (09:50 +0000)]
* config/tc-arm.h: Update for symbol handling changes.
* config/tc-arm.c: Likewise.
(symbol_make_empty): Remove.  Just use symbol_create.

25 years ago * symbols.c (symbol_set_tc): Correct name.
Ian Lance Taylor [Thu, 3 Jun 1999 09:49:04 +0000 (09:49 +0000)]
* symbols.c (symbol_set_tc): Correct name.

25 years ago * bfd-in.h (bfd_elf32_arm_allocate_interworking_sections): Correct
Ian Lance Taylor [Thu, 3 Jun 1999 09:21:53 +0000 (09:21 +0000)]
* bfd-in.h (bfd_elf32_arm_allocate_interworking_sections): Correct
prototype.
(bfd_elf32_arm_process_before_allocation): Likewise.
* bfd-in2.h: Rebuild.

25 years ago * Makefile.am: Rebuild dependencies.
Ian Lance Taylor [Thu, 3 Jun 1999 09:06:24 +0000 (09:06 +0000)]
* Makefile.am: Rebuild dependencies.
($(OBJS)): Don't depend upon struc-symbol.h.
(.dep1, .tcdep, .objdep): Create itbl-parse.h.
* dep-in.sed: Don't remove struc-symbol.h.
* Makefile.in: Rebuild.

25 years ago * doc/internals.texi (Symbols): Describe changes in symbol
Ian Lance Taylor [Thu, 3 Jun 1999 08:44:04 +0000 (08:44 +0000)]
* doc/internals.texi (Symbols): Describe changes in symbol
handling.

25 years ago * common.h (EM_PPC64): Define.
Ian Lance Taylor [Thu, 3 Jun 1999 08:20:07 +0000 (08:20 +0000)]
* common.h (EM_PPC64): Define.

25 years agoUpdate.
Richard Henderson [Thu, 3 Jun 1999 03:26:53 +0000 (03:26 +0000)]
Update.

25 years ago* internal.h (BEOS_EXE_IMAGE_BASE, BEOS_DLL_IMAGE_BASE): New.
Richard Henderson [Thu, 3 Jun 1999 03:26:17 +0000 (03:26 +0000)]
* internal.h (BEOS_EXE_IMAGE_BASE, BEOS_DLL_IMAGE_BASE): New.

25 years agoUpdate.
Richard Henderson [Thu, 3 Jun 1999 03:20:40 +0000 (03:20 +0000)]
Update.

25 years ago * dwarf2dbg.c (dwarf2_gen_line_info): Use section_symbol
Richard Henderson [Thu, 3 Jun 1999 03:20:21 +0000 (03:20 +0000)]
    * dwarf2dbg.c (dwarf2_gen_line_info): Use section_symbol
        instead of doing the work by hand.

25 years ago * as.c (parse_args): Add option -gdwarf2 to allow requesting
Richard Henderson [Thu, 3 Jun 1999 02:51:53 +0000 (02:51 +0000)]
    * as.c (parse_args): Add option -gdwarf2 to allow requesting
        DWARF2 debug info (line information only, at this point).
        * as.h: Update comment about supported debug formats.
        * dwarf2dbg.c, dwarf2dbg.h: New files.
        * Makefile.am (GAS_CFILES, HFILES, GENERIC_OBJS): Add them.

25 years ago * expr.c (operand): Don't use [ for parens if we want an index op.
Richard Henderson [Thu, 3 Jun 1999 02:51:27 +0000 (02:51 +0000)]
    * expr.c (operand): Don't use [ for parens if we want an index op.
        (op_encoding): Switch [ into O_index, if desired.
        (op_rank): Renumber with O_index on bottom.
        (expr): If O_index, match closing bracket.
        * expr.h (O_index): New.

25 years ago * read.c (read_a_source_file): Conditionally allow matched "
Richard Henderson [Thu, 3 Jun 1999 02:51:09 +0000 (02:51 +0000)]
    * read.c (read_a_source_file): Conditionally allow matched "
        in lines passed to md_assemble.

25 years ago * config/obj-elf.c (elf_pseudo_table): Add `common'.
Richard Henderson [Thu, 3 Jun 1999 02:50:51 +0000 (02:50 +0000)]
    * config/obj-elf.c (elf_pseudo_table): Add `common'.

25 years agoDavid Mosberger <davidm@hpl.hp.com>
Richard Henderson [Thu, 3 Jun 1999 02:46:47 +0000 (02:46 +0000)]
David Mosberger  <davidm@hpl.hp.com>
        * dwarf2.c (struct line_info): Add member END_SEQUENCE to keep
        track of end_sequence markers.
        (add_line_info): Add END_SEQUENCE arg.
        (decode_line_info): Don't try to infer lo_pc and hi_pc from the
        debug-line info---it doesn't work right if a compilation unit
        consists of multiple discontiguous code-sequences.  It would be
        worthwhile to optimize for the common case where a compilation
        unit results in a contiguous set of code sequences, but this is
        quite tricky to get right for arbitrary DWARF2 files.
        (lookup_address_in_line_info_table): Don't use the last line entry
        for a compilation unit for anything with an address higher than
        this line entry.  Also, check for end_sequence markers to
        correctly handle discontinuities.
        (_bfd_dwarf2_find_nearest_line): When checking previously loaded
        compilation units, check all compilation units with each->high==0
        just like when reading compilation units.
        * dwarf2.c (decode_line_info): Initialize table->files and
        table->last_line to NULL to avoid segfaults due to random
        values in these members.
        (concat_filename): Check for out-of-range file number before
        indexing filename table.  Segfaults suck.
        * dwarf2.c (decode_line_info): Don't truncate address to least
        significant 32 bits (breaks 64 bit targets).
        (lookup_address_in_function_table): Ditto.
        (comp_unit_contains_address): Ditto.

25 years ago Add support for storing local symbols in a small structure to save
Ian Lance Taylor [Thu, 3 Jun 1999 00:29:48 +0000 (00:29 +0000)]
Add support for storing local symbols in a small structure to save
memory when assembling large files.
* as.h: Don't include struc-symbol.h.
(symbolS): Add typedef.
* symbols.c: Include struc-symbol.h.
(local_hash): New static variable.
(save_symbol_name): New static function, from symbol_create.
(symbol_create): Call save_symbol_name.
(local_symbol_count): New static variable.
(local_symbol_conversion_count): Likewise.
(LOCAL_SYMBOL_CHECK): Define.
(local_symbol_make): New static function.
(local_symbol_convert): New static function.
(colon): Handle local symbols.  Create local symbol for local
label name.
(symbol_table_insert): Handle local symbols.
(symbol_find_or_make): Create local symbol for local label name.
(symbol_find_base): Check for local symbol.
(symbol_append, symbol_insert): Check for local symbols.
(symbol_clear_list_pointers, symbol_remove): Likewise.
(verify_symbol_chain): Likewise.
(copy_symbol_attributes): Likewise.
(resolve_symbol_value): Handle local symbols.
(resolve_local_symbol): New static function.
(resolve_local_symbol_values): New function.
(S_GET_VALUE, S_SET_VALUE): Handle local symbols.
(S_IS_FUNCTION, S_IS_EXTERNAL, S_IS_WEAK, S_IS_COMMON): Likewise.
(S_IS_DEFINED, S_IS_DEBUG, S_IS_LOCAL, S_GET_NAME): Likewise.
(S_GET_SEGMENT, S_SET_SEGMENT, S_SET_EXTERNAL): Likewise.
(S_CLEAR_EXTERNAL, S_SET_WEAK, S_SET_NAME): Likewise.
(symbol_previous, symbol_next): New functions.
(symbol_get_value_expression): Likewise.
(symbol_set_value_expression): Likewise.
(symbol_set_frag, symbol_get_frag): Likewise.
(symbol_mark_used, symbol_clear_used, symbol_used_p): Likewise.
(symbol_mark_used_in_reloc): Likewise.
(symbol_clear_used_in_reloc, symbol_used_in_reloc_p): Likewise.
(symbol_mark_mri_common, symbol_clear_mri_common): Likewise.
(symbol_mri_common_p): Likewise.
(symbol_mark_written, symbol_clear_written): Likewise.
(symbol_written_p): Likewise.
(symbol_mark_resolved, symbol_resolved_p): Likewise.
(symbol_section_p, symbol_equated_p): Likewise.
(symbol_constant_p): Likewise.
(symbol_get_bfdsym, symbol_set_bfdsym): Likewise.
(symbol_get_obj, symbol_set_obj): Likewise.
(symbol_get_tc, symbol_set_tc): Likewise.
(symbol_begin): Initialize local_hash.
(print_symbol_value_1): Handle local symbols.
(symbol_print_statistics): Print local symbol statistics.
* symbols.h: Include "struc-symbol.h" if not BFD_ASSEMBLER.
Declare new symbols.c functions.  Move many declarations here from
struc-symbol.h.
(SYMBOLS_NEED_BACKPOINTERS): Define if needed.
* struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Don't set.
(struct symbol): Move bsym to make it clearly the first field.
Remove TARGET_SYMBOL_FIELDS.
(symbolS): Don't typedef.
(struct broken_word): Remove.
(N_TYPE_seg, seg_N_TYPE): Move to symbol.h.
(SEGMENT_TO_SYMBOL_TYPE, N_REGISTER): Likewise.
(symbol_clear_list_pointers): Likewise.
(symbol_insert, symbol_remove): Likewise.
(symbol_previous, symbol_append): Likewise.
(verify_symbol_chain, verify_symbol_chain_2): Likewise.
(struct local_symbol): Define.
(local_symbol_converted_p, local_symbol_mark_converted): Define.
(local_symbol_resolved_p, local_symbol_mark_resolved): Define.
(local_symbol_get_frag, local_symbol_set_frag): Define.
(local_symbol_get_real_symbol): Define.
(local_symbol_set_real_symbol): Define.
Define.
* write.c (write_object_file): Call resolve_local_symbol_values.
* config/obj-ecoff.h (OBJ_SYMFIELD_TYPE): Define.
(TARGET_SYMBOL_FIELDS): Don't define.
* config/obj-elf.h (OBJ_SYMFIELD_TYPE): Add local field.  If
ECOFF_DEBUGGING, add ECOFF fields.
(ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
* config/obj-multi.h (struct elf_obj_sy): Add local field.  If
ECOFF_DEBUGGING, add ECOFF fields.
(ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
(ECOFF_DEBUG_TARGET_SYMBOL_FIELDS): Don't define.
* config/tc-mcore.h: Don't include struc-symbol.h.
(TARGET_SYMBOL_FIELDS): Don't define.
(struct mcore_tc_sy): Define.
(TC_SYMFIELD_TYPE): Define.
* Many files: Use symbolS instead of struct symbol.  Use new
accessor functions rather than referring to symbolS fields
directly.
* read.c (s_mri_common): Don't add in value of line_label.
* config/tc-mips.c (md_apply_fix): Correct parenthesization when
checking for SEC_LINK_ONCE.
* config/tc-sh.h (sh_fix_adjustable): Declare.

25 years ago * app.c (input_buffer): New static variable.
Ian Lance Taylor [Thu, 3 Jun 1999 00:24:14 +0000 (00:24 +0000)]
* app.c (input_buffer): New static variable.
(app_push): Save saved_input in allocated buffer.
(app_pop): Restored saved_input.
(do_scrub_chars): Change get parameter to take char * and int as
arguments.  Change GET macro to pass input_buffer to get
function.  Don't save input into allocated buffer.
* as.h (do_scrub_chars): Update declaration.
* input-file.c (input_file_get): Change to take char * and int.
Read data into passed in buffer.  Remove static buffer.
* read.c (scrub_from_string): Change to take char * and int.  Copy
data into passed in buffer.

25 years ago * gasp.c (chunksize): New variable.
Ian Lance Taylor [Thu, 3 Jun 1999 00:23:27 +0000 (00:23 +0000)]
* gasp.c (chunksize): New variable.
* macro.c (macro_expand_body): Call hash_jam with NULL rather than
hash_delete
.CVS: ----------------------------------------------------------------------

25 years ago * hash.h: Neaten. Declare hash_traverse.
Ian Lance Taylor [Wed, 2 Jun 1999 23:22:50 +0000 (23:22 +0000)]
* hash.h: Neaten.  Declare hash_traverse.
* hash.c: Complete rewrite based on BFD hashing code.

25 years agoJason Merrill <jason@yorick.cygnus.com>
Richard Henderson [Wed, 2 Jun 1999 20:47:23 +0000 (20:47 +0000)]
Jason Merrill  <jason@yorick.cygnus.com>
        * scripttempl/v850.sc: Add initp support.

25 years agoShouldn't have escaped.
Richard Henderson [Wed, 2 Jun 1999 20:33:41 +0000 (20:33 +0000)]
Shouldn't have escaped.

25 years ago * elf32-mips.c (elf_mips_howto_table): Add R_MIPS_JALR.
Mark Mitchell [Wed, 2 Jun 1999 18:17:59 +0000 (18:17 +0000)]
* elf32-mips.c (elf_mips_howto_table): Add R_MIPS_JALR.
* elf64-mips.c (mips_elf64_howto_table_rel): Likewise.
(mips_elf64_howto_table_rela): Likewise.

25 years ago * elf32-mips.c (elf_mips_howto_table): Add R_MIPS_JALR.
Mark Mitchell [Wed, 2 Jun 1999 18:16:48 +0000 (18:16 +0000)]
* elf32-mips.c (elf_mips_howto_table): Add R_MIPS_JALR.
* elf64-mips.c (mips_elf64_howto_table_rel): Likewise.
(mips_elf64_howto_table_rela): Likewise.
* elfcode.h (elf_slurp_reloc_table_from_section): New function,
split out from ...
(elf_slurp_reloc_table): Here.  Use it to handle the case where a
single section has two associated relocation sections.

25 years agoStu Grossman <grossman@babylon-5.cygnus.com>
Richard Henderson [Wed, 2 Jun 1999 18:14:14 +0000 (18:14 +0000)]
Stu Grossman  <grossman@babylon-5.cygnus.com>
        * dwarf.h: Add LANG_JAVA.
        * dwarf2.h: Add DW_LANG_Java.

25 years agoUpdate copyright dates.
Mark Mitchell [Wed, 2 Jun 1999 16:31:16 +0000 (16:31 +0000)]
Update copyright dates.

25 years agoUpdate copyright.
Richard Henderson [Wed, 2 Jun 1999 16:11:43 +0000 (16:11 +0000)]
Update copyright.

25 years agoMark Salter <msalter@cygnus.com>
Richard Henderson [Wed, 2 Jun 1999 15:36:48 +0000 (15:36 +0000)]
Mark Salter  <msalter@cygnus.com>
        * coffcode.h (coff_set_alignment_hook): Set lma from s_vaddr if
        COFF_WITH_PE defined.

25 years agoRename interworking functions to avoid a name space collision
Nick Clifton [Wed, 2 Jun 1999 14:27:10 +0000 (14:27 +0000)]
Rename interworking functions to avoid a name space collision

25 years agoRename ARM interworking functions to avoid a name space collision
Nick Clifton [Wed, 2 Jun 1999 14:26:01 +0000 (14:26 +0000)]
Rename ARM interworking functions to avoid a name space collision

25 years ago * elf-bfd.h (elf_backend_data): Remove use_rela_p. Add
Mark Mitchell [Wed, 2 Jun 1999 13:01:04 +0000 (13:01 +0000)]
* elf-bfd.h (elf_backend_data): Remove use_rela_p.  Add
may_use_rel_p, may_use_rela_p, default_use_rela_p.
(bfd_elf_section_data): Add use_rela_p.
* elf.c (bfd_section_from_shdr): Set use_rela_p appropriately.
(_bfd_elf_new_section_hook): Likewise.
(elf_fake_sections): Use may_use_rela_p, etc., instead of
use_rela_p.
(_bfd_elf_copy_private_section_data): Copy use_rela_p.
* elfcode.h (write_relocs): Determine whether or not use rela
relocs based on the relocation section header.
* elflink.c (_bfd_elf_create_dynamic_sections): Use default_use_rela_p
instead of use_rela_p.
* elfxx-target.h (elf_backend_may_use_relp): New macro.
(elf_backend_may_use_rela_p): Likewise.
(elf_backend_default_use_rela_p): Likewise.
(elfNN_bed): Use them.

25 years ago* hosts/alphalinux.h (TRAD_CORE_EXTRA_SIZE_ALLOWED): Expand to 4096.
Richard Henderson [Wed, 2 Jun 1999 12:39:44 +0000 (12:39 +0000)]
* hosts/alphalinux.h (TRAD_CORE_EXTRA_SIZE_ALLOWED): Expand to 4096.

25 years ago* dlltool.c (gen_exp_file): Revert 19990411 change.
Richard Henderson [Wed, 2 Jun 1999 12:37:48 +0000 (12:37 +0000)]
* dlltool.c (gen_exp_file): Revert 19990411 change.

25 years agoForgot to commit.
Richard Henderson [Wed, 2 Jun 1999 12:29:27 +0000 (12:29 +0000)]
Forgot to commit.

25 years ago * reloc.c (BFD_RELOC_MIPS_SUB): New relocation.
Mark Mitchell [Wed, 2 Jun 1999 10:20:16 +0000 (10:20 +0000)]
* reloc.c (BFD_RELOC_MIPS_SUB): New relocation.
(BFD_RELOC_MIPS_GOT_PAGE): Likewise.
(BFD_RELOC_MIPS_GOT_OFST): Likewise.
(BFD_RELOC_MIPS_GOT_DISP): Likewise.
* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.
* elf32-mips.c (mips_info_to_howto_rela): New function.
(USE_REL): Adjust for new conventions.
(MINUS_ONE): New macro.
(elf_mips_howto_table): Add R_MIPS_SUB.
(mips_r): Add entries for MIPS_SUB, MIPS_GOT_PAGE, MIPS_GOT_OFST,
and MIPS_GOT_DISP.
(mips_elf_final_write_processing): Set sh_link, not sh_info, for a
.MIPS.content section.
(_bfd_mips_elf_fake_sections): Treat all sections that begin
with .MIPS.content as .MIPS.content sections.  Set
SHF_MNIPS_NOSTRIP for such section.
(elf_info_to_howto): Define to mips_info_to_howto_rela.
* elf64-mips.c (mips_r):  Add entries for MIPS_SUB, MIPS_GOT_PAGE,
MIPS_GOT_OFST, and MIPS_GOT_DISP.

25 years ago * vms-misc.c (_bfd_vms_hash_newfunc): Fix use of uninitialized
Andreas Schwab [Wed, 2 Jun 1999 02:56:30 +0000 (02:56 +0000)]
* vms-misc.c (_bfd_vms_hash_newfunc): Fix use of uninitialized
variable.

25 years ago * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Avoid ambigous
Andreas Schwab [Wed, 2 Jun 1999 02:53:21 +0000 (02:53 +0000)]
* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Avoid ambigous
`else'.

25 years agoimport gdb-1999-06-01 snapshot
Jason Molenda [Tue, 1 Jun 1999 15:44:41 +0000 (15:44 +0000)]
import gdb-1999-06-01 snapshot

25 years ago * readelf.c (process_relocs): Determine type of reloc from
Andreas Schwab [Mon, 31 May 1999 00:58:59 +0000 (00:58 +0000)]
* readelf.c (process_relocs): Determine type of reloc from
DT_PLTREL and from section type.

25 years agoCort Dougan <cort@cs.nmt.edu>
Richard Henderson [Sun, 30 May 1999 16:06:14 +0000 (16:06 +0000)]
Cort Dougan  <cort@cs.nmt.edu>
        * config.guess (ppc-*-linux-gnu): Also use ld emul elf32ppclinux.

25 years agoCort Dougan <cort@attis.cs.nmt.edu>
Richard Henderson [Sun, 30 May 1999 15:55:31 +0000 (15:55 +0000)]
Cort Dougan  <cort@attis.cs.nmt.edu>
        * Makefile.am (ALL_EMULATIONS): Add eelf32ppclinux.o.
        * configure.tgt (powerpc-*-linux-gnu): Use it.
        * emulparams/elf32ppclinux.sh: New file.

25 years agoPhilip Blundell <philb@gnu.org>
Nick Clifton [Sun, 30 May 1999 11:36:53 +0000 (11:36 +0000)]
Philip Blundell  <philb@gnu.org>
* elf32-arm.h (elf32_arm_relocate_section): Reinstate change of
1993-03-25 (!!).  Take into account the bitmasks for the reloc so
the addend does not overflow into the rest of the word

25 years ago * ld.texinfo (Options): Clarify that options which refer to files
Ian Lance Taylor [Sat, 29 May 1999 19:43:33 +0000 (19:43 +0000)]
* ld.texinfo (Options): Clarify that options which refer to files
must be properly ordered.

25 years agoFix implementation of R_ARM_PC24 and R_ARM_THM_PC22 relocs to conform to spec.
Nick Clifton [Sat, 29 May 1999 11:05:22 +0000 (11:05 +0000)]
Fix implementation of R_ARM_PC24 and R_ARM_THM_PC22 relocs to conform to spec.

25 years agoImplement new command line option for new ABI: -p which prevents the ARM code
Nick Clifton [Sat, 29 May 1999 10:57:44 +0000 (10:57 +0000)]
Implement new command line option for new ABI: -p which prevents the ARM code
from exhibiting any knowledge of the length of the processor's pipeline.

25 years agoDisplay unknown values detected in ELF program header.
Nick Clifton [Sat, 29 May 1999 10:51:14 +0000 (10:51 +0000)]
Display unknown values detected in ELF program header.

25 years agoInclude pipeline offset in addend unless dealing with an old ABI.
Nick Clifton [Sat, 29 May 1999 10:47:20 +0000 (10:47 +0000)]
Include pipeline offset in addend unless dealing with an old ABI.

25 years agoDefine ELFOSABI_ARM
Nick Clifton [Sat, 29 May 1999 10:42:45 +0000 (10:42 +0000)]
Define ELFOSABI_ARM

25 years agofix typo.
Nick Clifton [Sat, 29 May 1999 09:09:39 +0000 (09:09 +0000)]
fix typo.

25 years agoremove spurious code.
Nick Clifton [Fri, 28 May 1999 17:24:21 +0000 (17:24 +0000)]
remove spurious code.

25 years ago -Wchar-subscripts cleanup
Doug Evans [Fri, 28 May 1999 15:28:56 +0000 (15:28 +0000)]
-Wchar-subscripts cleanup
* listing.c (listing_newline): Use unsigned char variable, so
  calls to isascii,iscntrl are correct.
* atof-generic.c (atof_generic): Cast arg to isdigit, et. al. with
(unsigned char).
* ecoff.c (ecoff_directive_ent,ecoff_stab): Ditto.
* config/obj-elf.c (obj_elf_vtable_inherit): Ditto.
* config/tc-mips.c (mips_ip,mips16_ip): Ditto.
(my_getSmallExpression,get_number,s_mips_ent): Ditto.

25 years ago * hppa.h (pa_opcodes): Move integer arithmetic instructions after
Jeff Law [Fri, 28 May 1999 14:26:52 +0000 (14:26 +0000)]
    * hppa.h (pa_opcodes): Move integer arithmetic instructions after
        integer logical instructions.

25 years agoInitialise EI_OSABI and EI_ABIVERSION fields of e_ident array.
Nick Clifton [Fri, 28 May 1999 13:24:33 +0000 (13:24 +0000)]
Initialise EI_OSABI and EI_ABIVERSION fields of e_ident array.
Add ability for backends to process program and section headers after they
have been created.

25 years agofix typo.
Nick Clifton [Fri, 28 May 1999 10:53:04 +0000 (10:53 +0000)]
fix typo.

25 years agoMinor formatting changes.
Nick Clifton [Fri, 28 May 1999 10:50:29 +0000 (10:50 +0000)]
Minor formatting changes.

25 years agoUpdate comment
Nick Clifton [Fri, 28 May 1999 10:47:30 +0000 (10:47 +0000)]
Update comment

25 years agoBetter coping with different reloc types.
Nick Clifton [Fri, 28 May 1999 10:14:11 +0000 (10:14 +0000)]
Better coping with different reloc types.

25 years ago * configure.in: Check whether getuid and getgid exist.
Ian Lance Taylor [Thu, 27 May 1999 22:48:53 +0000 (22:48 +0000)]
* configure.in: Check whether getuid and getgid exist.
* archive.c: Define getuid and getgid as macros if HAVE_GETUID or
HAVE_GETGID are not defined, respectively.
(bfd_write_armap): Don't special case on _WIN32 for getuid and
getgid.
* configure.host: Set ac_cv_func_get{ug}id for *-*-windows*.
* configure, config.in: Rebuild.

25 years ago1999-05-28 Torbjorn Granlund <tege@matematik.su.se>
Ian Lance Taylor [Thu, 27 May 1999 22:36:51 +0000 (22:36 +0000)]
1999-05-28  Torbjorn Granlund  <tege@matematik.su.se>
* config/tc-m68k.c (m68k_ip): Check for disallowed index register
width for Coldfire.
(arch_coldfire_p): New #define.
(m68k_ip, m68k_init_after_args): Use arch_coldfire_p.
1999-05-28  Linus Nordberg  <linus.nordberg@canit.se>
* config/tc-m68k.c (install_operand): Add places `n', `o'.
* config/tc-m68k.c (m68k_ip): Add formats `E', `G', `H'.
(install_operand): Add place `N'.
(init_table): Add registers ACC, MACSR, MASK.
* config/m68k-parse.h (m68k_register): Add ACC, MACSR, MASK.
* config/tc-m68k.c: Change mcf5200 --> mcf.
(archs): Add mcf5206e, mcf5307.
(m68k_ip): Add format `u'.
(install_operand): Add place `m', `M', `h'.
(init_table): Add upper/lower registers.
* config/m68k-parse.h (m68k_register): Add upper/lower registers.

25 years ago1999-05-28 Linus Nordberg <linus.nordberg@canit.se>
Ian Lance Taylor [Thu, 27 May 1999 22:33:14 +0000 (22:33 +0000)]
1999-05-28  Linus Nordberg  <linus.nordberg@canit.se>
* m68k-opc.c: Rename MACL/MSACL to MAC/MSAC.  Add MACM/MSACM.  Add
MOVE MACSR,CCR.
* m68k-dis.c (fetch_arg): Add places `n', `o'.
* m68k-opc.c: Add MSAC, MACL, MOVE to/from ACC, MACSR, MASK.
Add mcf5206e to appropriate instructions.
Add alias for MAC, MSAC.
* m68k-dis.c (print_insn_arg): Add formats `E', `G', `H' and place
`N'.
* m68k-opc.c (m68k_opcodes): Add divsw, divsl, divuw, divul, macl,
macw, remsl, remul for mcf5307.  Change mcf5200 --> mcf.
* m68k-dis.c: Add format `u' and places `h', `m', `M'.

25 years ago1999-05-28 Linus Nordberg <linus.nordberg@canit.se>
Ian Lance Taylor [Thu, 27 May 1999 22:31:03 +0000 (22:31 +0000)]
1999-05-28  Linus Nordberg  <linus.nordberg@canit.se>
* m68k.h: Document new formats `E', `G', `H' and new places `N',
`n', `o'.
* m68k.h: Define mcf5206e, mcf5307, mcf.  Document new format `u'
and new places `m', `M', `h'.

25 years ago * binutils-all/readelf.h: Update for changes of 1999-04-08.
Ian Lance Taylor [Thu, 27 May 1999 22:05:26 +0000 (22:05 +0000)]
* binutils-all/readelf.h: Update for changes of 1999-04-08.

25 years ago * readelf.c: Include "elf/i960.h".
Ian Lance Taylor [Thu, 27 May 1999 22:04:40 +0000 (22:04 +0000)]
* readelf.c: Include "elf/i960.h".
(dump_relocations): Handle EM_960.

25 years ago * gas/vtable/vtable.exp: Don't run test for i960 yet.
Ian Lance Taylor [Thu, 27 May 1999 21:58:10 +0000 (21:58 +0000)]
* gas/vtable/vtable.exp: Don't run test for i960 yet.

25 years ago1999-05-28 Martin Dorey <mdorey@madge.com>
Ian Lance Taylor [Thu, 27 May 1999 21:57:48 +0000 (21:57 +0000)]
1999-05-28  Martin Dorey  <mdorey@madge.com>
* config/tc-i960.c: Several minor changes to add ELF and
BFD_ASSEMBLER support.
* config/tc-i960.h: Likewise.
* configure.in (i960-*-elf*): New target.
* aclocal.m4, configure: Rebuild.

25 years agorebuild dependencies
Ian Lance Taylor [Thu, 27 May 1999 21:54:35 +0000 (21:54 +0000)]
rebuild dependencies

25 years ago1999-05-28 Martin Dorey <mdorey@madge.com>
Ian Lance Taylor [Thu, 27 May 1999 21:49:21 +0000 (21:49 +0000)]
1999-05-28  Martin Dorey  <mdorey@madge.com>
* configure.tgt (i960-*-elf*): New target.
* emulparams/elf32_i960.sh: New file.
* Makefile.am (ALL_EMULATIONS): Add eelf32_i960.o.
(eelf32_i960.c): New target.
* Makefile.in: Rebuild.

25 years agofix copyrights
Ian Lance Taylor [Thu, 27 May 1999 21:44:39 +0000 (21:44 +0000)]
fix copyrights

25 years ago1999-05-28 Martin Dorey <mdorey@madge.com>
Ian Lance Taylor [Thu, 27 May 1999 21:42:14 +0000 (21:42 +0000)]
1999-05-28  Martin Dorey  <mdorey@madge.com>
* elf32-i960.c: New file.
* elf.c (prep_headers): Handle bfd_arch_i960.
* targets.c (bfd_target_vector): Add &bfd_elf32_i960_vec.
* config.bfd (i960-*-elf*): New target.
* configure.in (bfd_elf32_i960_vec): New target vector.
* Makefile.am (BFD32_BACKENDS): Add elf32-i960.lo.
(BFD32_BACKENDS_CFILES): Add elf32-i960.c.
* Makefile.in, aclocal.m4, configure: Rebuild.

25 years agorebuild
Ian Lance Taylor [Thu, 27 May 1999 21:40:25 +0000 (21:40 +0000)]
rebuild

25 years ago * i960.h: New file.
Ian Lance Taylor [Thu, 27 May 1999 21:29:05 +0000 (21:29 +0000)]
* i960.h: New file.

25 years agobreak long line
Ian Lance Taylor [Thu, 27 May 1999 20:48:12 +0000 (20:48 +0000)]
break long line

25 years agoAdd support for BFD_RELOC_ARM_PLT32
Nick Clifton [Thu, 27 May 1999 07:41:14 +0000 (07:41 +0000)]
Add support for BFD_RELOC_ARM_PLT32

25 years ago * hppa.h (pa_opcodes): Add several processor specific system
Jeff Law [Thu, 27 May 1999 03:19:32 +0000 (03:19 +0000)]
    * hppa.h (pa_opcodes): Add several processor specific system
        instructions.

25 years ago * objcopy.c (copy_archive): Preserve dates of archive members if
Andreas Schwab [Thu, 27 May 1999 03:16:15 +0000 (03:16 +0000)]
* objcopy.c (copy_archive): Preserve dates of archive members if
requested.

25 years ago * readelf.c (dump_relocations): Always print the addend on RELA
Andreas Schwab [Thu, 27 May 1999 03:02:23 +0000 (03:02 +0000)]
* readelf.c (dump_relocations): Always print the addend on RELA
systems even if there is no symbol.
(process_program_headers): Reset dynamic_size before looping
through the program headers.
(process_version_sections): Cast sh_offset to unsigned long for
printing in case bfd_vma is wider.
(process_symbol_table): Use get_symbol_index_type when printing
st_shndx.

25 years agoUse correct template
Nick Clifton [Wed, 26 May 1999 17:23:32 +0000 (17:23 +0000)]
Use correct template

25 years ago * hppa.h (pa_opcodes): Add second entry for "comb", "comib",
Jeff Law [Wed, 26 May 1999 16:04:11 +0000 (16:04 +0000)]
    * hppa.h (pa_opcodes): Add second entry for "comb", "comib",
        "addb", and "addib" to be used by the disassembler.

25 years agoApplied patches from Philip Blundell <pb@nexus.co.uk>, to improve PIC support.
Nick Clifton [Wed, 26 May 1999 08:27:38 +0000 (08:27 +0000)]
Applied patches from Philip Blundell  <pb@nexus.co.uk>, to improve PIC support.

25 years agoimport gdb-1999-05-25 snapshot
Jason Molenda [Tue, 25 May 1999 18:09:09 +0000 (18:09 +0000)]
import gdb-1999-05-25 snapshot

25 years ago* windres.c: add verbose option
DJ Delorie [Tue, 25 May 1999 12:10:27 +0000 (12:10 +0000)]
* windres.c: add verbose option
(main): process verbose option
* resrc.c (look_for_default): new.  Look for the default
preprocessor in a given location.
(read_rc_file): for foo/bar-windres, look for foo/bar-gcc,
foo/gcc (in case of foo/windres), and then gcc (the old default).

25 years ago * coff-arm.c (coff_arm_relocate_section): Don't emit
Catherine Moore [Tue, 25 May 1999 11:56:16 +0000 (11:56 +0000)]
    * coff-arm.c (coff_arm_relocate_section): Don't emit
        base file entries for pc-relative values.

25 years ago* peicode.h (coff_swap_sym_in): When we create the actual section
DJ Delorie [Tue, 25 May 1999 11:37:40 +0000 (11:37 +0000)]
* peicode.h (coff_swap_sym_in): When we create the actual section
to reflect the not-there section C_SECTION symbols refer to,
change the symbol class to C_STAT as the section is now really
there.

25 years agoÿ
Alan Modra [Mon, 24 May 1999 18:25:27 +0000 (18:25 +0000)]
ÿ
Fiz i386-iaout breakage introduced by last patch.

25 years agoè
Alan Modra [Mon, 24 May 1999 18:25:25 +0000 (18:25 +0000)]
è
Fiz i386-iaout breakage introduced by last patch.

25 years agoUpdated to match latest version in EGCS
Nick Clifton [Mon, 24 May 1999 15:20:21 +0000 (15:20 +0000)]
Updated to match latest version in EGCS

25 years ago1999-05-24 Philip Blundell <philb@gnu.org>
Nick Clifton [Mon, 24 May 1999 12:49:30 +0000 (12:49 +0000)]
1999-05-24  Philip Blundell  <philb@gnu.org>
* emultempl/armelf.em (before_parse): Set config.dynamic_link and
  config.has_shared.
* emulparams/armelf.sh (GENERATE_SHLIB_SCRIPT): Define.
* emulparams/armelf_linux.sh (GENERATE_SHLIB_SCRIPT): Likewise