OSDN Git Service
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.
Nick Clifton [Tue, 14 Sep 1999 13:18:43 +0000 (13:18 +0000)]
Add earm_epoc_pe.c build target.
Jeff Law [Tue, 14 Sep 1999 11:30:01 +0000 (11:30 +0000)]
* emulparms/elf64hppa.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.dlt.
Nick Clifton [Tue, 14 Sep 1999 10:34:02 +0000 (10:34 +0000)]
Change ELF_MAXPAGESIZE to 0x1
Jeff Law [Tue, 14 Sep 1999 06:30:50 +0000 (06:30 +0000)]
* binutils-all/hppa/objdump.exp: Do not run for PA64.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Alan Modra [Mon, 13 Sep 1999 03:53:59 +0000 (03:53 +0000)]
Changelog entry for tc-i386.c changes.
Alan Modra [Mon, 13 Sep 1999 03:44:49 +0000 (03:44 +0000)]
Tidy jump handling code and comments.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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".
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.
Ian Lance Taylor [Sun, 12 Sep 1999 03:34:29 +0000 (03:34 +0000)]
fix copyright
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.
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.
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.
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.
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.
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".
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.
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.
Ian Lance Taylor [Sun, 12 Sep 1999 02:27:31 +0000 (02:27 +0000)]
comment change
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.
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.
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.
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.
Ian Lance Taylor [Sun, 12 Sep 1999 00:30:27 +0000 (00:30 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* peicode.h (coff_swap_scnhdr_in): If COFF_IMAGE_WITH_PE, the
get the overflow of the s_nlnno field from the s_nreloc field.
* peigen.c (_bfd_pei_swap_scnhdr_out): If doing a final link, swap
the s_nlnno overflow of the .text section into the s_nreloc
field.
Ian Lance Taylor [Sun, 12 Sep 1999 00:22:01 +0000 (00:22 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* peigen.c (add_data_entry): Declare.
(pei_swap_aouthdr_out): Get image size right. Set linker version
more intuitively.
(pei_swap_scnhdr_out): Test for UNINIT section, not .bss.
(pe_print_idata): Code cleanup, print more info, get rid of (now)
extraneous ImageBase.
(pe_print_edata): Likewise.
(pe_print_pdata): Likewise. Print exception entries.
(pe_print_reloc): Likewise. Print MIPS_JMPADDR.
(tbl): Make const, add "UNKNOWN".
(_bfd_pe_print_private_bfd_data_common): Print timestamp.
(_bfd_pe_bfd_copy_private_bfd_data_common): Don't copy deleted
section data directory.
(_bfd_pe_bfd_copy_private_section_data): Copy pe_flags.
Ian Lance Taylor [Sun, 12 Sep 1999 00:02:11 +0000 (00:02 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* libpei.h (_bfd_pe_bfd_get_symbol_info): Declare.
* peigen.c (_bfd_pe_bfd_get_symbol_info): New function.
* peicode.h (coff_get_symbol_info): Define.
Ian Lance Taylor [Sat, 11 Sep 1999 23:46:09 +0000 (23:46 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* config.bfd (i[3456]86-*-interix*): Set targ_cflags to
-DSTRICT_PE_FORMAT.
* coffcode.h (styp_to_sec_flags): Check STRICT_PE_FORMAT rather
than __INTERIX.
(coff_classify_symbol): Re-revert 1999-08-08 patch if
STRICT_PE_FORMAT.
Ian Lance Taylor [Sat, 11 Sep 1999 23:38:11 +0000 (23:38 +0000)]
add some comments about peigen.c
Ian Lance Taylor [Sat, 11 Sep 1999 23:37:28 +0000 (23:37 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* libpei.h: New file, broken out of peicode.h.
* peigen.c: New file, broken out of peicode.h.
* peicode.h: A bunch of code moved out to libpei.h and peigen.c.
* configure.in: Add peigen.lo to list of files required for each
PE target.
* Makefile.am: Rebuild dependencies.
(BFD32_BACKENDS): Add peigen.lo.
(BFD32_BACKENDS_CFILES): Add peigen.c.
(SOURCE_HFILES): Add libpei.h.
* configure, Makefile.in: Rebuild.
Ian Lance Taylor [Sat, 11 Sep 1999 22:52:20 +0000 (22:52 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* peicode.h (coff_swap_scnhdr_in): Don't check for a special
section name of _BSS; check IMAGE_SCN_CNT_UNINITIALIZED_DATA
instead. Don't clear the s_paddr field for an uninitialized data
section.
Ian Lance Taylor [Sat, 11 Sep 1999 22:46:37 +0000 (22:46 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* coffcode.h (coff_mkobject_hook): Set timestamp field in
coff_data_type to f_timdat.
* peicode.h (pe_mkobject_hook): Likewise.
Ian Lance Taylor [Sat, 11 Sep 1999 22:41:54 +0000 (22:41 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* peicode.h (coff_swap_filehdr_in): Check the NT executable magic
number if COFF_IMAGE_WITH_PE.
Ian Lance Taylor [Sat, 11 Sep 1999 22:33:45 +0000 (22:33 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* coffcode.h (coff_mkobject_hook): If COFF_WITH_PE, set HAS_DEBUG
to the reverse of IMAGE_FILE_DEBUG_STRIPPED.
(coff_write_object_contents): Set IMAGE_FILE_DEBUG_STRIPPED if
there is no SEC_DEBUGGING section.
* peicode.h (pe_mkobject_hook): Set HAS_DEBUG to the reverse of
IMAGE_FILE_DEBUG_STRIPPED.
Ian Lance Taylor [Sat, 11 Sep 1999 22:17:33 +0000 (22:17 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* pe-i386.c (COFF_LONG_FILENAMES): Define.
(COFF_SECTION_ALIGNMENT_ENTRIES): Define.
* pei-i386.c (COFF_LONG_FILENAMES): Define.
(COFF_SECTION_ALIGNMENT_ENTRIES): Define.
Ian Lance Taylor [Sat, 11 Sep 1999 22:10:33 +0000 (22:10 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* coffswap.h (IMAGE_BASE): Don't define.
* pei-arm.c (IMAGE_BASE): Don't define.
* pei-i386.c (IMAGE_BASE): Don't define.
* pei-mcore.c (IMAGE_BASE): Don't define.
* pei-ppc.c (IMAGE_BASE): Don't define.
Ian Lance Taylor [Sat, 11 Sep 1999 22:04:16 +0000 (22:04 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* cofflink.c (_bfd_coff_link_input_bfd): When writing out a
symbol, switch on the class when determining whether to modify the
value. For PE, don't modify the value of a C_FCN symbol not named
.bf.
Ian Lance Taylor [Sat, 11 Sep 1999 21:51:55 +0000 (21:51 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* libbfd-in.h (_bfd_abort): Declare.
(abort): Define.
* bfd.c (_bfd_abort): New function.
* libbfd.h: Rebuild.
Ian Lance Taylor [Sat, 11 Sep 1999 21:39:03 +0000 (21:39 +0000)]
* coff-ppc.c (COFF_SECTION_ALIGNMENT_ENTRIES): Define.
1999-09-11 Donn Terry <donn@interix.com>
* coffcode.h (coff_set_alignment_hook): Delete POWERPC_LE_PE
special handling.
Ian Lance Taylor [Sat, 11 Sep 1999 21:27:15 +0000 (21:27 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* cofflink.c (_bfd_coff_link_input_bfd): If a symbol is stripped,
don't write out the associated line numbers.
Ian Lance Taylor [Sat, 11 Sep 1999 21:15:16 +0000 (21:15 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* cofflink.c (_bfd_coff_write_global_sym): Handle section symbol
aux entries.
Ian Lance Taylor [Sat, 11 Sep 1999 21:04:09 +0000 (21:04 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* coffcode.h (coff_slurp_symbol_table): If PE, set BSF_DEBUGGING
for C_FCN/C_EFCN symbols, and set BSF_DEBUGGING_RELOC for such
symbols named .bf.
Ian Lance Taylor [Sat, 11 Sep 1999 20:14:57 +0000 (20:14 +0000)]
* elfcode.h (write_relocs): Handle an absolute symbol in REL
relocs as we do for RELA relocs.
Ian Lance Taylor [Sat, 11 Sep 1999 15:26:22 +0000 (15:26 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* cofflink.c (coff_link_add_symbols): Don't warn about symbol type
changes when the base type is unknown.
Ian Lance Taylor [Sat, 11 Sep 1999 15:16:14 +0000 (15:16 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* coffgen.c (coff_print_symbol): Fix printing of aux record for
function symbols.
Ian Lance Taylor [Sat, 11 Sep 1999 14:59:14 +0000 (14:59 +0000)]
* write.c (dump_section_relocs): Call print_symbol_value_1 to
print the symbol, rather than printing it here.
1999-09-11 Donn Terry <donn@interix.com>
* write.c (adjust_reloc_syms): Print adjusted fixup.
Ian Lance Taylor [Sat, 11 Sep 1999 14:41:11 +0000 (14:41 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* syms.c (BSF_DEBUGGING_RELOC): Define.
* coffgen.c (fixup_symbol_value): Relocate a symbol which has
BSF_DEBUGGING_RELOC set.
* bfd-in2.h: Rebuild.
Ian Lance Taylor [Sat, 11 Sep 1999 14:24:59 +0000 (14:24 +0000)]
1999-09-11 Donn Terry <donn@interix.com>
* expr.c (integer_constant): Correct too_many_digits calculation
in base 10 case.
Ian Lance Taylor [Fri, 10 Sep 1999 23:25:51 +0000 (23:25 +0000)]
* ecoff.c (bfd_debug_section): Update initialization for new
comdat_info field.
(_bfd_ecoff_styp_to_sec_flags): Add section parameter.
* libecoff.h (_bfd_ecoff_styp_to_sec_flags): Update declaration.
1999-09-10 H.J. Lu <hjl@gnu.org>
* coff-alpha.c (alpha_ecoff_backend_data): Initialize the new
_bfd_filnmlen field.
* coff-mips.c (mips_ecoff_backend_data): Likewise.
Jeff Law [Fri, 10 Sep 1999 15:46:37 +0000 (15:46 +0000)]
* elf-hppa.h (elf_hppa_final_link_relocate): Create .opd entries
for FPTR relocs involving local symbols.
Jeff Law [Fri, 10 Sep 1999 14:31:09 +0000 (14:31 +0000)]
* emulparms/elf64hppa.sh (LIB_PATH): Define.
Jeff Law [Fri, 10 Sep 1999 14:05:36 +0000 (14:05 +0000)]
* elf-hppa.h (elf_hppa_final_link_relocate): Get the right
value for the stub address in a call through a stub.
Install the value for a local symbol directly into the DLT
instead of generating a reloc. Correctly handle FPTR64 relocs.
Jeff Law [Fri, 10 Sep 1999 06:38:05 +0000 (06:38 +0000)]
* elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): New function.
(elf_hppa_remark_useless_dynamic_symbols): Similarly.
(elf_hppa_final_link): Call them.
Jeff Law [Fri, 10 Sep 1999 06:30:37 +0000 (06:30 +0000)]
* emulparms/elf64hppa.sh (OTHER_READONLY_SECTIONS): Put stubs before
unwinders so that they are closer to the text section.
(OTHER_BSS_SECTIONS): Define.
(EXECUTABLE_SYMBOLS): Provide __SYSTEM_ID and _FPU_STATUS.
(INIT_START, INIT_END): Define.
(FINI_START, FINI_END): Define.
* scripttempl/elf.sc: Add support for INIT_START, INIT_END,
FINI_START, FINI_END and OTHER_BSS_SECTIONS.
Ian Lance Taylor [Fri, 10 Sep 1999 04:22:23 +0000 (04:22 +0000)]
* elflink.h (elf_fix_symbol_flags): Move weakdef handling here...
(elf_adjust_dynamic_symbol): ...from here.
Jeff Law [Fri, 10 Sep 1999 03:49:14 +0000 (03:49 +0000)]
* emulparms/elf64hppa.sh (TEXT_START_ADDR): Move up one page.
(DATA_ADDR): Define.
Richard Henderson [Fri, 10 Sep 1999 01:04:25 +0000 (01:04 +0000)]
* emulparams/d10velf.sh (READONLY_START_ADDR): Set to 0x2000004.
Andreas Schwab [Thu, 9 Sep 1999 16:12:28 +0000 (16:12 +0000)]
* ld.texinfo: Fix arguments of @var to not contain punctuation.
Andreas Schwab [Thu, 9 Sep 1999 16:09:52 +0000 (16:09 +0000)]
* doc/c-arm.texi: Fix arguments of @var to not contain
punctuation.
Andreas Schwab [Thu, 9 Sep 1999 16:01:34 +0000 (16:01 +0000)]
* binutils.texi: Add info dir entries for all programs described
here. Fix arguments of @var to not contain punctuation.
Jeff Law [Thu, 9 Sep 1999 14:52:15 +0000 (14:52 +0000)]
Update some comments.
Jeff Law [Thu, 9 Sep 1999 14:51:33 +0000 (14:51 +0000)]
* elf-hppa.h (elf_hppa_howto_table); There is no DIR64WR, DIR64DR
relocation, remove them. SECREL64->LTOFF16WF.
(elf_hppa_final_link_relocate): Handle LTOFF* relocations. Handle
DIR* relocations.
(elf_hppa_relocate_insn): Similarly.
Jeff Law [Thu, 9 Sep 1999 14:20:18 +0000 (14:20 +0000)]
* elf-hppa.h (elf_hppa_final_link_relocate): Handle PLTOFF* relocs.
(elf_hppa_relocate_insn): Similarly.
Jeff Law [Thu, 9 Sep 1999 14:10:24 +0000 (14:10 +0000)]
* elf-hppa.h (elf_hppa_final_link_relocate): Handle DPREL* and
GPREL* relocations.
(elf_hppa_relocate_insn): Similarly.
Jeff Law [Thu, 9 Sep 1999 13:55:46 +0000 (13:55 +0000)]
* elf-hppa.h (elf_hppa_link_final_relocate): Fix typos.
Handle LTOFF_TP* relocs.
(elf_hppa_relocate_insn): Similarly.
Jeff Law [Thu, 9 Sep 1999 13:32:38 +0000 (13:32 +0000)]
* elf-hppa.h (elf_hppa_final_link_relocate): Handle PCREL* relocs.
Consistently deal with addends. Handle DLTIND14F and DLTREL14F.
(elf_hppa_relocate_insn): Handle PCREL* relocs.