binutils-gdb.git
25 years ago * hppa-dis.c (print_insn_hppa): Handle 'M' and 'L' operands.
Jeff Law [Sun, 19 Sep 1999 17:06:11 +0000 (17:06 +0000)]
    * hppa-dis.c (print_insn_hppa): Handle 'M' and 'L' operands.

25 years ago * hppa-dis.c (print_insn_hppa): Handle 'l' operand.
Jeff Law [Sun, 19 Sep 1999 16:59:47 +0000 (16:59 +0000)]
    * hppa-dis.c (print_insn_hppa): Handle 'l' operand.

25 years ago * config/tc-hppa.c (pa_ip): Handle 'l' operand.
Jeff Law [Sun, 19 Sep 1999 16:58:33 +0000 (16:58 +0000)]
    * config/tc-hppa.c (pa_ip): Handle 'l' operand.

25 years ago * hppa.h (pa_opcodes): Add support for "b,l".
Jeff Law [Sun, 19 Sep 1999 16:55:09 +0000 (16:55 +0000)]
    * hppa.h (pa_opcodes): Add support for "b,l".

25 years ago * config/tc-hppa.c (pa_ip): Handle 'g' operand.
Jeff Law [Sun, 19 Sep 1999 16:45:20 +0000 (16:45 +0000)]
    * config/tc-hppa.c (pa_ip): Handle 'g' operand.

25 years ago * hppa-dis.c (print_insn_hppa): Handle 'g' operand.
Jeff Law [Sun, 19 Sep 1999 16:44:16 +0000 (16:44 +0000)]
    * hppa-dis.c (print_insn_hppa): Handle 'g' operand.

25 years ago * hppa.h (pa_opcodes): Add support for "b,gate".
Jeff Law [Sun, 19 Sep 1999 16:41:51 +0000 (16:41 +0000)]
    * hppa.h (pa_opcodes): Add support for "b,gate".

25 years ago * hppa-dis.c (print_insn_hppa): Output a space after 'X' completer.
Jeff Law [Sat, 18 Sep 1999 19:11:39 +0000 (19:11 +0000)]
    * hppa-dis.c (print_insn_hppa): Output a space after 'X' completer.

25 years ago * hppa-dis.c: (print_insn_hppa): Do output a space before a 'v'
Jeff Law [Sat, 18 Sep 1999 18:19:56 +0000 (18:19 +0000)]
    * hppa-dis.c: (print_insn_hppa): Do output a space before a 'v'
        operand.

25 years ago * config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
Jeff Law [Sat, 18 Sep 1999 18:16:21 +0000 (18:16 +0000)]
    * config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
        (pa_ip): Handle 'fX'.

25 years ago * hppa-dis.c: (print_insn_hppa): Handle 'fX'.
Jeff Law [Sat, 18 Sep 1999 18:09:38 +0000 (18:09 +0000)]
    * hppa-dis.c: (print_insn_hppa): Handle 'fX'.

25 years ago * hppa.h (pa_opcodes): Use 'fX' for first register operand
Jeff Law [Sat, 18 Sep 1999 18:08:34 +0000 (18:08 +0000)]
    * hppa.h (pa_opcodes): Use 'fX' for first register operand
        in xmpyu.

25 years ago * hppa-dis.c: (print_insn_hppa): Add missing break after
Jeff Law [Sat, 18 Sep 1999 17:57:08 +0000 (17:57 +0000)]
    * hppa-dis.c: (print_insn_hppa): Add missing break after
        FP register case.

25 years ago * hppa.h (pa_opcodes): Fix mask for probe and probei.
Jeff Law [Sat, 18 Sep 1999 17:49:43 +0000 (17:49 +0000)]
    * hppa.h (pa_opcodes): Fix mask for probe and probei.

25 years ago * hppa.h (pa_opcodes): Fix mask for depwi.
Jeff Law [Sat, 18 Sep 1999 17:43:47 +0000 (17:43 +0000)]
    * hppa.h (pa_opcodes): Fix mask for depwi.

25 years ago * hppa-dis.c: Finish constifying various completers, register
Jeff Law [Sat, 18 Sep 1999 17:38:51 +0000 (17:38 +0000)]
    * hppa-dis.c: Finish constifying various completers, register
        names, etc etc.

25 years ago * emulparms/elf64hppa.sh (OTHER_READONLY_SYMBOLS): Remove ".stubs",
Jeff Law [Sat, 18 Sep 1999 14:00:24 +0000 (14:00 +0000)]
    * emulparms/elf64hppa.sh (OTHER_READONLY_SYMBOLS): Remove ".stubs",
        they've been renamed to ".stub", which is handled automatically
        by elf.sc.

25 years agoReally fix the typo.
Jeff Law [Sat, 18 Sep 1999 13:41:01 +0000 (13:41 +0000)]
Really fix the typo.

25 years agoFix typo in last change.
Jeff Law [Sat, 18 Sep 1999 13:26:46 +0000 (13:26 +0000)]
Fix typo in last change.

25 years agoSupport 8 and 16-bit relocs for i386coff. Enable i386 gas testsuite tests
Alan Modra [Sat, 18 Sep 1999 00:44:47 +0000 (00:44 +0000)]
Support 8 and 16-bit relocs for i386coff.  Enable i386 gas testsuite tests
previously disabled for lack of such support.  For *-*-linux*libc1 targets,
XFAIL a ld testsuite that fails due to a bug in the dynamic linker prior to
glibc-2.1.

25 years agoFix typo in last change.
Jeff Law [Fri, 17 Sep 1999 21:58:45 +0000 (21:58 +0000)]
Fix typo in last change.

25 years ago * config/tc-hppa.c (pa_build_unwind_subspace): Do not build
Jeff Law [Fri, 17 Sep 1999 18:00:50 +0000 (18:00 +0000)]
    * config/tc-hppa.c (pa_build_unwind_subspace): Do not build
        unwinds unless the function is in the text space.
        (pa_type_args): Set BSF_FUNCTION for an exproted data symbol.

25 years ago * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Kill completely.
Jeff Law [Fri, 17 Sep 1999 17:02:03 +0000 (17:02 +0000)]
    * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Kill completely.
        (DATA_START_SYMBOLS): Kill __hp_load_map definition

25 years agoUndeo previous delta. Set gc_mark instead.
Nick Clifton [Fri, 17 Sep 1999 11:04:47 +0000 (11:04 +0000)]
Undeo previous delta.  Set gc_mark instead.

25 years ago * elf-hppa.h (elf_hppa_final_write_processing): Turn on TRAPNIL.
Jeff Law [Thu, 16 Sep 1999 21:01:08 +0000 (21:01 +0000)]
    * elf-hppa.h (elf_hppa_final_write_processing): Turn on TRAPNIL.

25 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
Jeff Law [Thu, 16 Sep 1999 20:53:09 +0000 (20:53 +0000)]
    * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
        Use the same filename extension for the bfd_elf_dt_needed_name call
        as we did for finding the library.

25 years ago * elf-hppa.h (elf_hppa_final_link): If unable to find __gp in the
Jeff Law [Thu, 16 Sep 1999 20:39:10 +0000 (20:39 +0000)]
    * elf-hppa.h (elf_hppa_final_link): If unable to find __gp in the
        symbol table, then just compute a suitable value (but do not
        create a __gp symbol).

25 years ago(elf_cpu32_plt0_entry): Use a1 instead of a0.
Catherine Moore [Thu, 16 Sep 1999 18:25:09 +0000 (18:25 +0000)]
(elf_cpu32_plt0_entry): Use a1 instead of a0.
(elf_cpu32_plt_entry): Likewise.
 ----------------------------------------------------------------------

25 years ago * emulparms/elf64hppa.sh (DATA_START_SYMBOLS): Define.
Jeff Law [Thu, 16 Sep 1999 17:57:15 +0000 (17:57 +0000)]
    * emulparms/elf64hppa.sh (DATA_START_SYMBOLS): Define.
        (OTHER_READWRITE_SECTIONS): No longer define __hp_load_map.

25 years ago * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Define.
Jeff Law [Thu, 16 Sep 1999 17:02:14 +0000 (17:02 +0000)]
    * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Define.

25 years ago * elf-hppa.h (elf_hppa_relocate_section): Allow undefined
Jeff Law [Thu, 16 Sep 1999 16:51:34 +0000 (16:51 +0000)]
    * elf-hppa.h (elf_hppa_relocate_section): Allow undefined
        symbols when building shared libraries.
        (elf_hppa_final_link_relocate): Correct handling of PCREL
        relocations against undefined symbols.

25 years agoMark interworking sections as linker created to prevent garbage collection.
Nick Clifton [Thu, 16 Sep 1999 15:32:40 +0000 (15:32 +0000)]
Mark interworking sections as linker created to prevent garbage collection.

25 years ago * emulparms/elf64hppa.sh (SHLIB_TEXT_START_ADDR): Define.
Jeff Law [Thu, 16 Sep 1999 06:23:28 +0000 (06:23 +0000)]
    * emulparms/elf64hppa.sh (SHLIB_TEXT_START_ADDR): Define.
        (SHLIB_DATA_ADDR): Likewise.

        * emulparms/elf64hppa.sh (TEXT_DYNAMIC): Define.

25 years ago * config/tc-hppa.c (pa_ip): Move dwarf2 stuff from here.
Jeff Law [Wed, 15 Sep 1999 13:19:32 +0000 (13:19 +0000)]
    * config/tc-hppa.c (pa_ip): Move dwarf2 stuff from here.
        (md_assemble): To here.  Tweak address generation.

25 years ago * config/tc-hppa.c: Include dwarf2dbg.h if OBJ_ELF. Declare
Jeff Law [Wed, 15 Sep 1999 11:17:54 +0000 (11:17 +0000)]
    * config/tc-hppa.c: Include dwarf2dbg.h if OBJ_ELF.  Declare
        debug_line.
        (md_pseudo_table): Add .file and .line pseudo-ops for OBJ_ELF.
        (md_assemble): Call dwarf2_where for OBJ_ELF.
        (pa_ip): Call dwarf2_gen_line_info for OBJ_ELF.
        (pa_end_of_source): New function.
        * tc-hppa.h (md_end): Define for OBJ_ELF.

25 years agoFix typo in last change.
Jeff Law [Wed, 15 Sep 1999 10:12:21 +0000 (10:12 +0000)]
Fix typo in last change.

25 years ago * elf-hppa.h (elf_hppa_final_link): Revamp __gp handling.
Jeff Law [Wed, 15 Sep 1999 08:51:45 +0000 (08:51 +0000)]
    * elf-hppa.h (elf_hppa_final_link): Revamp __gp handling.
        (elf_hppa_final_link_relocate): Consistently create an absolute
        address, then subtract out the value of __gp.

25 years ago * emulparms/elf64hppa.h (OTHER_READWRITE_SECTIONS): No longer combine
Jeff Law [Wed, 15 Sep 1999 08:51:03 +0000 (08:51 +0000)]
    * emulparms/elf64hppa.h (OTHER_READWRITE_SECTIONS):  No longer combine
        the .plt, .dlt, .opd  into a single output section.  Provide values
        for __gp and __hp_load_map.

25 years agoFix problem with going to automake 2.14
Michael Meissner [Tue, 14 Sep 1999 23:29:35 +0000 (23:29 +0000)]
Fix problem with going to automake 2.14

25 years agoFix problem with going to automake 2.14
Michael Meissner [Tue, 14 Sep 1999 23:16:48 +0000 (23:16 +0000)]
Fix problem with going to automake 2.14

25 years ago1999-09-14 Donn Terry <donn@interix.com>
DJ Delorie [Tue, 14 Sep 1999 22:19:55 +0000 (22:19 +0000)]
1999-09-14  Donn Terry  <donn@interix.com>

* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): allow for
terminating null.

25 years ago1999-09-14 Donn Terry <donn@interix.com>
Ian Lance Taylor [Tue, 14 Sep 1999 15:38:32 +0000 (15:38 +0000)]
1999-09-14  Donn Terry  <donn@interix.com>

* config/te-interix.h (GLOBAL_OFFSET_TABLE_NAME): Define.

25 years agoAdd earm_epoc_pe.c build target.
Nick Clifton [Tue, 14 Sep 1999 13:18:43 +0000 (13:18 +0000)]
Add earm_epoc_pe.c build target.

25 years ago * emulparms/elf64hppa.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.dlt.
Jeff Law [Tue, 14 Sep 1999 11:30:01 +0000 (11:30 +0000)]
    * emulparms/elf64hppa.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.dlt.

25 years agoChange ELF_MAXPAGESIZE to 0x1
Nick Clifton [Tue, 14 Sep 1999 10:34:02 +0000 (10:34 +0000)]
Change ELF_MAXPAGESIZE to 0x1

25 years ago * binutils-all/hppa/objdump.exp: Do not run for PA64.
Jeff Law [Tue, 14 Sep 1999 06:30:50 +0000 (06:30 +0000)]
    * binutils-all/hppa/objdump.exp: Do not run for PA64.

25 years ago * elf-hppa.h (elf_hppa_record_segment_addrs): New function.
Jeff Law [Tue, 14 Sep 1999 03:44:43 +0000 (03:44 +0000)]
    * elf-hppa.h (elf_hppa_record_segment_addrs): New function.
        (elf_hppa_final_link): Initialize text_segment_base and
        data_segment_base.
        (elf_hppa_final_link_relocate): Handle SEGREL relocations.

25 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
Jeff Law [Tue, 14 Sep 1999 02:42:51 +0000 (02:42 +0000)]
    * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
        Search for file with .sl extension if no file with a .so extension
        is found.

25 years ago * elf-hppa.h (elf_hppa_final_link): Remove unused variables.
Jeff Law [Tue, 14 Sep 1999 02:03:58 +0000 (02:03 +0000)]
    * elf-hppa.h (elf_hppa_final_link): Remove unused variables.
        (elf_hppa_final_link_relocate): Likewise.
        (elf_hppa_relocate_insn): Likewise.
        (elf_hppa_relocate_section): Initialize HOWTO.

25 years ago1999-09-13 Donn Terry <donn@interix.com>
Ian Lance Taylor [Mon, 13 Sep 1999 23:55:22 +0000 (23:55 +0000)]
1999-09-13  Donn Terry  <donn@interix.com>

* coffcode.h (styp_to_sec_flags): Further refinement of COMDAT
handling to support both GNU and MS objects.

25 years ago1999-09-13 Donn Terry <donn@interix.com>
Ian Lance Taylor [Mon, 13 Sep 1999 23:45:47 +0000 (23:45 +0000)]
1999-09-13  Donn Terry  <donn@interix.com>

* emultempl/pe.em: Remove the output file at the start, in case it
is not writable.

25 years ago1999-09-13 Donn Terry <donn@interix.com>
Ian Lance Taylor [Mon, 13 Sep 1999 23:42:43 +0000 (23:42 +0000)]
1999-09-13  Donn Terry  <donn@interix.com>

* coffcode.h (coff_write_object_contents): Don't check reloc_count
when determining whether to set F_RELFLG.

25 years agoimport gdb-1999-09-13 snapshot
Jason Molenda [Mon, 13 Sep 1999 21:40:00 +0000 (21:40 +0000)]
import gdb-1999-09-13 snapshot

25 years agoApply Philip Blundell's patch to prevent range checks on weak symbols.
Nick Clifton [Mon, 13 Sep 1999 09:59:02 +0000 (09:59 +0000)]
Apply Philip Blundell's patch to prevent range checks on weak symbols.

25 years agoHackery to handle ix86 "jmp constant" as a pc-relative jump to the given
Alan Modra [Mon, 13 Sep 1999 06:45:15 +0000 (06:45 +0000)]
Hackery to handle ix86 "jmp constant" as a pc-relative jump to the given
absolute address.

25 years ago * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt
Jeff Law [Mon, 13 Sep 1999 06:20:55 +0000 (06:20 +0000)]
    * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt
        at the start of the .dlt output section.

25 years ago * elf-hppa.h (elf_hppa_final_link_relocate): Handle SECREL32.
Jeff Law [Mon, 13 Sep 1999 05:51:32 +0000 (05:51 +0000)]
    * elf-hppa.h (elf_hppa_final_link_relocate): Handle SECREL32.
        Stub SEGREL32.  Return an error for any relocation not handled.

25 years agoChangelog entry for tc-i386.c changes.
Alan Modra [Mon, 13 Sep 1999 03:53:59 +0000 (03:53 +0000)]
Changelog entry for tc-i386.c changes.

25 years agoTidy jump handling code and comments.
Alan Modra [Mon, 13 Sep 1999 03:44:49 +0000 (03:44 +0000)]
Tidy jump handling code and comments.

25 years ago * ar.c (main): Clear output_file if we don't change the archive.
Ian Lance Taylor [Sun, 12 Sep 1999 19:00:11 +0000 (19:00 +0000)]
* ar.c (main): Clear output_file if we don't change the archive.
(delete_members, replace_members): Likewise.

25 years ago1999-09-12 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 18:49:47 +0000 (18:49 +0000)]
1999-09-12  Donn Terry  <donn@interix.com>

* objdump.c (dump_headers): If wide_output, print Flags header.

25 years ago1999-09-12 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 18:39:32 +0000 (18:39 +0000)]
1999-09-12  Donn Terry  <donn@interix.com>

* objdump.c (dump_section_header): Print any comdat information.

25 years ago1999-09-12 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 18:33:05 +0000 (18:33 +0000)]
1999-09-12  Donn Terry  <donn@interix.com>

* objcopy.c (parse_flags): Handle "noload", "debug", and "share".
* binutils.texi, objcopy.1: Document new flags.

25 years ago1999-09-12 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 18:14:07 +0000 (18:14 +0000)]
1999-09-12  Donn Terry  <donn@interix.com>

* ar.c (counted_name_mode): New static variable.
(counted_name_counter): New static variable.
(map_over_members): Handle counted mode.
(usage): Mention N modifier.
(main): Handle N modifier.
(delete_members): Handle counted mode.
* binutils.texi, ar.1: Document N modifier.

25 years ago1999-09-12 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 17:47:19 +0000 (17:47 +0000)]
1999-09-12  Donn Terry  <donn@interix.com>

* ar.c (print_contents): Change printing of member name for
POSIX.2 conformance.

25 years ago1999-09-12 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 17:43:21 +0000 (17:43 +0000)]
1999-09-12  Donn Terry  <donn@interix.com>

* ar.c (output_filename): Make const.
(open_inarch): If creating a new empty archive, set
output_filename.

25 years ago * ar.c (full_pathname): New static variable.
Ian Lance Taylor [Sun, 12 Sep 1999 17:34:19 +0000 (17:34 +0000)]
* ar.c (full_pathname): New static variable.
(map_over_members): Call normalize on command line parameter.
(usage): Mention P modifier.
(normalize): If full_pathname is true, don't do anything.
(main): Accept P modifier.
* binutils.texi, ar.1: Document P modifier.

25 years ago * pe.em: Don't include "../bfd/libbfd.h".
Ian Lance Taylor [Sun, 12 Sep 1999 16:59:56 +0000 (16:59 +0000)]
* pe.em: Don't include "../bfd/libbfd.h".
(gld_${EMULATION_NAME}_after_open): Use xmalloc rather than
bfd_alloc.

25 years ago1999-09-12 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 16:59:49 +0000 (16:59 +0000)]
1999-09-12  Donn Terry  <donn@interix.com>

* ld.h (ld_abort): Declare.
(abort): Define.
* ldmisc.c (ld_abort): Define.

25 years ago1999-09-12 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 16:48:02 +0000 (16:48 +0000)]
1999-09-12  Donn Terry  <donn@interix.com>

* scripttempl/pe.sc: Use ${ENTRY} rather than _mainCRTStartup.
Move .bss section after .rdata.  Move .reloc section after .rsrc.

25 years agoDefine ENTRY in PE emulation files. Also:
Ian Lance Taylor [Sun, 12 Sep 1999 16:45:16 +0000 (16:45 +0000)]
Define ENTRY in PE emulation files.  Also:
* emulparams/i386pe.sh (ENTRY): Define as _mainCRTStartup.

25 years ago1999-09-12 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 16:40:09 +0000 (16:40 +0000)]
1999-09-12  Donn Terry  <donn@interix.com>

* lexsup.c (parse_args): Use strtoul for --split-by-reloc
argument.

25 years ago1999-09-12 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 16:35:20 +0000 (16:35 +0000)]
1999-09-12  Donn Terry  <donn@interix.com>

* lexsup.c (parse_args): If we get an unrecognized argument,
mention --help.

25 years ago * cofflink.c (coff_link_add_symbols): Look for special MSVC string
Ian Lance Taylor [Sun, 12 Sep 1999 16:28:20 +0000 (16:28 +0000)]
* cofflink.c (coff_link_add_symbols): Look for special MSVC string
constant symbols, and avoid multiple definition errors on them.

25 years ago1999-09-12 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 16:10:00 +0000 (16:10 +0000)]
1999-09-12  Donn Terry  <donn@interix.com>

* ldlang.c (section_already_linked): Use comdat information if it
is available.

25 years ago * ld-scripts/script.exp: Add --image-base 0 for PE targets.
Ian Lance Taylor [Sun, 12 Sep 1999 15:59:48 +0000 (15:59 +0000)]
* ld-scripts/script.exp: Add --image-base 0 for PE targets.

25 years ago * pe-dll.h: New file.
Ian Lance Taylor [Sun, 12 Sep 1999 15:27:48 +0000 (15:27 +0000)]
* pe-dll.h: New file.
* pe-dll.c: Include "pe-dll.h".  Mark unused arguments as needed
to avoid warnings.
(edata_sz, reloc_sz): Change from int to size_t.
(pe_details_type): Change type of imagebase_reloc from int to
unsigned int.
(pe_detail_list): Fully initialize last entry.
(pe_dll_id_target): Change parameter to const.
(pe_dll_generate_def_file): Likewise.
(pe_dll_generate_implib): Likewise.
(pe_implied_import_dll): Likewise.  Change dll_name to const.
* emultempl/pe.em: Include "pe-dll.h".  Remove declarations now in
pe-dll.h.
(init): Fully initialize __dll__ entry.
(gld_${EMULATION_NAME}_after_open): Remove unused variables
sequence, elt, and i.
* deffile.h: Add preprocessor guard.
* deffilep.y (def_debug): Remove.
* Makefile.am: Rebuild dependencies.
(HFILES): Add pe-dll.h.

25 years ago1999-09-12 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 14:52:33 +0000 (14:52 +0000)]
1999-09-12  Donn Terry  <donn@interix.com>

* emultempl/pe.em (PE_DEF_SECTION_ALIGNMENT): If
OVERRIDE_SECTION_ALIGNMENT is defined, change to that.
(gld_${EMULATION_NAME}_before_parse): Use EXECUTABLE_NAME if it is
defined, rather than a.exe.
(init): Define __subsystem__ as ${SUBSYSTEM}.
(set_pe_subsystem): Add ${INITIAL_SYMBOL_CHAR} before entry symbol
name.

25 years ago * ldlang.c (open_output): Change local variable desired_endian
Ian Lance Taylor [Sun, 12 Sep 1999 14:50:15 +0000 (14:50 +0000)]
* ldlang.c (open_output): Change local variable desired_endian
from int to enum bfd_endian.

25 years ago * emulparams/arm_epoc_pe.sh: Define SUBSYSTEM and
Ian Lance Taylor [Sun, 12 Sep 1999 14:49:05 +0000 (14:49 +0000)]
* emulparams/arm_epoc_pe.sh: Define SUBSYSTEM and
INITIAL_SYMBOL_CHAR.
* emulparams/armpe.sh: Likewise.
* emulparams/morepe.sh: Likewise.
* emulparams/ppcpe.sh: Likewise.
* emulparams/i386pe.sh (SUBSYSTEM): Define as PE_DEF_SUBSYSTEM.

25 years ago1999-09-12 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 14:27:21 +0000 (14:27 +0000)]
1999-09-12  Donn Terry  <donn@interix.com>

* libbfd.c (bfd_log2): Rewrite to avoid infinite loop if most
significant bit is set.

25 years ago1999-09-12 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 05:32:04 +0000 (05:32 +0000)]
1999-09-12  Donn Terry  <donn@interix.com>

* gas/all/gas.exp: Run cofftag test for i*86-*-interix*.
* lib/gas-defs.exp: Add perror if can not read .d file.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 05:09:50 +0000 (05:09 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
BFD_RELOC_RVA relocations.

25 years ago * config/tc-i386.c (md_apply_fix3): Add horrible adjustments to
Ian Lance Taylor [Sun, 12 Sep 1999 05:06:09 +0000 (05:06 +0000)]
* config/tc-i386.c (md_apply_fix3): Add horrible adjustments to
the value if TE_PE and a global defined symbol.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 03:50:42 +0000 (03:50 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* config/tc-i386.c (md_undefined_symbol): Compare the name against
the macro GLOBAL_OFFSET_TABLE_NAME, rather than assuming that it
starts with "_G".

25 years ago * write.c (write_relocs): Call SET_SECTION_RELOCS if it is
Ian Lance Taylor [Sun, 12 Sep 1999 03:44:42 +0000 (03:44 +0000)]
* write.c (write_relocs): Call SET_SECTION_RELOCS if it is
defined.
* config/obj-coff.h (SET_SECTION_RELOCS): Define.
* doc/internals.texi (Object format backend): Document
SET_SECTION_RELOCS.

25 years agofix copyright
Ian Lance Taylor [Sun, 12 Sep 1999 03:34:29 +0000 (03:34 +0000)]
fix copyright

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 03:18:54 +0000 (03:18 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
relocations against global symbols if TE_PE.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 03:07:49 +0000 (03:07 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* config/obj-coff.c (obj_coff_ident): Add BFD_ASSEMBLER version.
(obj_pseudo_table): Always handle ".ident" with obj-coff_ident.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 02:59:54 +0000 (02:59 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* config/obj-coff.c (coff_frob_symbol): Prohibit weak common
symbols.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 02:55:58 +0000 (02:55 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* config/obj-coff.c (obj_coff_endef): Don't merge labels, or
symbols which do not have a constant value, or tags with
non-tags.  Remove the symbol from the list before adding it at the
end.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 02:49:28 +0000 (02:49 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Handle .ef
C_FCN symbol differently if TE_PE.
(obj_coff_line) [BFD_ASSEMBLER]: Always use the line number which
appears in the pseudo-op, rather coff_line_base which is only set
for a .bf symbol.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 02:39:52 +0000 (02:39 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* config/obj-coff.c (obj_coff_loc): New static function.
(obj_pseudo_table): Add "loc".

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 02:34:00 +0000 (02:34 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* config/obj-coff.c (add_lineno): Check that the line number is
positive.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 02:27:58 +0000 (02:27 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* expr.c (expr): Change first parameter to int.
* config/obj-coff.c: Add declarations for static functions.
(coff_frob_symbol): Use SYM_AUXENT.
* config/tc-i386.h (flag_16bit_code): Don't declare.

25 years agocomment change
Ian Lance Taylor [Sun, 12 Sep 1999 02:27:31 +0000 (02:27 +0000)]
comment change

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 02:12:38 +0000 (02:12 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* config/atof-ieee.c (atof_ieee): Change what_kind to int.
* config/atof-vax.c (flonum_gen2vax): Change format_letter to
int.
(md_atof): Return NULL rather than 0.
* config/tc-i386.c (md_atof): Change type to int.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 02:08:55 +0000 (02:08 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* config/obj-coff.c (obj_coff_section): Default to setting
SEC_LOAD.  Don't set SEC_DATA for 'w' modifier.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 00:45:26 +0000 (00:45 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* libpei.h (_bfd_pei_final_link_postscript): Declare.
(coff_final_link_postscript): Define.
* peigen.c (_bfd_pei_swap_aouthdr_out): Don't set value for data
directory entries here.
(_bfd_pei_final_link_postscript): New function.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sun, 12 Sep 1999 00:32:32 +0000 (00:32 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* peigen.c (_bfd_pei_swap_scnhdr_out): Remove code which sets
section flags based on the section name.