Jeff Law
19ef546580
* elf-hppa.h (elf_hppa_final_link): Revamp __gp handling.
27 years ago
Jeff Law
833be1c7bc
* emulparms/elf64hppa.h (OTHER_READWRITE_SECTIONS): No longer combine
27 years ago
Michael Meissner
6d83c84bcf
Fix problem with going to automake 2.14
27 years ago
Michael Meissner
a8100d5bb4
Fix problem with going to automake 2.14
27 years ago
DJ Delorie
e4e24acbc8
1999-09-14 Donn Terry <donn@interix.com>
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): allow for
terminating null.
27 years ago
Ian Lance Taylor
41fd319a45
1999-09-14 Donn Terry <donn@interix.com>
* config/te-interix.h (GLOBAL_OFFSET_TABLE_NAME): Define.
27 years ago
Nick Clifton
cf8654428c
Add earm_epoc_pe.c build target.
27 years ago
Jeff Law
2491f1100f
* emulparms/elf64hppa.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.dlt.
27 years ago
Nick Clifton
06a5ee5553
Change ELF_MAXPAGESIZE to 0x1
27 years ago
Jeff Law
c392c1bbc1
* binutils-all/hppa/objdump.exp: Do not run for PA64.
27 years ago
Jeff Law
2ec0dd123c
* 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.
27 years ago
Jeff Law
070f1aed4e
* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
Search for file with .sl extension if no file with a .so extension
is found.
27 years ago
Jeff Law
b2e311df32
* elf-hppa.h (elf_hppa_final_link): Remove unused variables.
27 years ago
Ian Lance Taylor
e5db213db2
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.
27 years ago
Ian Lance Taylor
361d94e768
1999-09-13 Donn Terry <donn@interix.com>
* emultempl/pe.em: Remove the output file at the start, in case it
is not writable.
27 years ago
Ian Lance Taylor
7920749071
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.
27 years ago
Jason Molenda
cff3e48be7
import gdb-1999-09-13 snapshot
27 years ago
Nick Clifton
59f2c4e703
Apply Philip Blundell's patch to prevent range checks on weak symbols.
27 years ago
Alan Modra
2f66722d55
Hackery to handle ix86 "jmp constant" as a pc-relative jump to the given
27 years ago
Jeff Law
9169713a19
* emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt
27 years ago
Jeff Law
228d307f1b
* elf-hppa.h (elf_hppa_final_link_relocate): Handle SECREL32.
27 years ago
Alan Modra
795a77040c
Changelog entry for tc-i386.c changes.
27 years ago
Alan Modra
a217f122fa
Tidy jump handling code and comments.
27 years ago
Ian Lance Taylor
a20a10a650
* ar.c (main): Clear output_file if we don't change the archive.
(delete_members, replace_members): Likewise.
27 years ago
Ian Lance Taylor
8bea4d5c6c
1999-09-12 Donn Terry <donn@interix.com>
* objdump.c (dump_headers): If wide_output, print Flags header.
27 years ago
Ian Lance Taylor
deecf979f6
1999-09-12 Donn Terry <donn@interix.com>
* objdump.c (dump_section_header): Print any comdat information.
27 years ago
Ian Lance Taylor
3994e2c66d
1999-09-12 Donn Terry <donn@interix.com>
* objcopy.c (parse_flags): Handle "noload", "debug", and "share".
* binutils.texi, objcopy.1: Document new flags.
27 years ago
Ian Lance Taylor
3de3906459
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.
27 years ago
Ian Lance Taylor
946d15cab8
1999-09-12 Donn Terry <donn@interix.com>
* ar.c (print_contents): Change printing of member name for
POSIX.2 conformance.
27 years ago
Ian Lance Taylor
c8446de592
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.
27 years ago
Ian Lance Taylor
fe84ea5db2
* 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.
27 years ago
Ian Lance Taylor
71add73133
* pe.em: Don't include "../bfd/libbfd.h".
(gld_${EMULATION_NAME}_after_open): Use xmalloc rather than
bfd_alloc.
27 years ago
Ian Lance Taylor
45455cddda
1999-09-12 Donn Terry <donn@interix.com>
* ld.h (ld_abort): Declare.
(abort): Define.
* ldmisc.c (ld_abort): Define.
27 years ago
Ian Lance Taylor
be4514d38d
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.
27 years ago
Ian Lance Taylor
c3d002bb17
Define ENTRY in PE emulation files. Also:
* emulparams/i386pe.sh (ENTRY): Define as _mainCRTStartup.
27 years ago
Ian Lance Taylor
d98dd8ba26
1999-09-12 Donn Terry <donn@interix.com>
* lexsup.c (parse_args): Use strtoul for --split-by-reloc
argument.
27 years ago
Ian Lance Taylor
03983865c3
1999-09-12 Donn Terry <donn@interix.com>
* lexsup.c (parse_args): If we get an unrecognized argument,
mention --help.
27 years ago
Ian Lance Taylor
49147fca36
* cofflink.c (coff_link_add_symbols): Look for special MSVC string
constant symbols, and avoid multiple definition errors on them.
27 years ago
Ian Lance Taylor
bb8fe706a0
1999-09-12 Donn Terry <donn@interix.com>
* ldlang.c (section_already_linked): Use comdat information if it
is available.
27 years ago
Ian Lance Taylor
777690b647
* ld-scripts/script.exp: Add --image-base 0 for PE targets.
27 years ago
Ian Lance Taylor
1069dd8da7
* 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.
27 years ago
Ian Lance Taylor
2be9b2c7ee
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.
27 years ago
Ian Lance Taylor
1b69a0bfca
* ldlang.c (open_output): Change local variable desired_endian
from int to enum bfd_endian.
27 years ago
Ian Lance Taylor
ff65f4f015
* 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.
27 years ago
Ian Lance Taylor
86b21447e7
1999-09-12 Donn Terry <donn@interix.com>
* libbfd.c (bfd_log2): Rewrite to avoid infinite loop if most
significant bit is set.
27 years ago
Ian Lance Taylor
61feeec2ee
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.
27 years ago
Ian Lance Taylor
d33e1d248c
1999-09-11 Donn Terry <donn@interix.com>
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
BFD_RELOC_RVA relocations.
27 years ago
Ian Lance Taylor
c0c949c786
* config/tc-i386.c (md_apply_fix3): Add horrible adjustments to
the value if TE_PE and a global defined symbol.
27 years ago
Ian Lance Taylor
18dc2407f4
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".
27 years ago
Ian Lance Taylor
945a1a6b98
* 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.
27 years ago