Ian Lance Taylor
5d3aaa749f
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.
1999-09-11 15:26:22 +00:00
Ian Lance Taylor
312191a689
1999-09-11 Donn Terry <donn@interix.com>
...
* coffgen.c (coff_print_symbol): Fix printing of aux record for
function symbols.
1999-09-11 15:16:14 +00:00
Ian Lance Taylor
e723ef7c5f
* 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.
1999-09-11 14:59:14 +00:00
Ian Lance Taylor
703153b566
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.
1999-09-11 14:41:11 +00:00
Ian Lance Taylor
fa16d38700
1999-09-11 Donn Terry <donn@interix.com>
...
* expr.c (integer_constant): Correct too_many_digits calculation
in base 10 case.
1999-09-11 14:24:59 +00:00
Ian Lance Taylor
7b50b349e2
* 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.
1999-09-10 23:25:51 +00:00
Jeff Law
e48c661ee6
* elf-hppa.h (elf_hppa_final_link_relocate): Create .opd entries
...
for FPTR relocs involving local symbols.
1999-09-10 15:46:37 +00:00
Jeff Law
e5b08bf0d3
* emulparms/elf64hppa.sh (LIB_PATH): Define.
1999-09-10 14:31:09 +00:00
Jeff Law
6a0b987115
* 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.
1999-09-10 14:05:36 +00:00
Jeff Law
af7dc6449e
* elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): New function.
...
(elf_hppa_remark_useless_dynamic_symbols): Similarly.
(elf_hppa_final_link): Call them.
1999-09-10 06:38:05 +00:00
Jeff Law
904ecb2d78
* 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.
1999-09-10 06:30:37 +00:00
Ian Lance Taylor
fc4cc5bb8f
* elflink.h (elf_fix_symbol_flags): Move weakdef handling here...
...
(elf_adjust_dynamic_symbol): ...from here.
1999-09-10 04:22:23 +00:00
Jeff Law
7e4d694ea7
* emulparms/elf64hppa.sh (TEXT_START_ADDR): Move up one page.
...
(DATA_ADDR): Define.
1999-09-10 03:49:14 +00:00
Richard Henderson
2f2bc1bb67
* emulparams/d10velf.sh (READONLY_START_ADDR): Set to 0x2000004.
1999-09-10 01:04:25 +00:00
Andreas Schwab
1d0a3c9c5f
* ld.texinfo: Fix arguments of @var to not contain punctuation.
1999-09-09 16:12:28 +00:00
Andreas Schwab
13a830b61a
* doc/c-arm.texi: Fix arguments of @var to not contain
...
punctuation.
1999-09-09 16:09:52 +00:00
Andreas Schwab
ad0481cd94
* binutils.texi: Add info dir entries for all programs described
...
here. Fix arguments of @var to not contain punctuation.
1999-09-09 16:01:34 +00:00
Jeff Law
b1d5590577
Update some comments.
1999-09-09 14:52:15 +00:00
Jeff Law
b726396160
* 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.
1999-09-09 14:51:33 +00:00
Jeff Law
8267b1550c
* elf-hppa.h (elf_hppa_final_link_relocate): Handle PLTOFF* relocs.
...
(elf_hppa_relocate_insn): Similarly.
1999-09-09 14:20:18 +00:00
Jeff Law
6849fb4de7
* elf-hppa.h (elf_hppa_final_link_relocate): Handle DPREL* and
...
GPREL* relocations.
(elf_hppa_relocate_insn): Similarly.
1999-09-09 14:10:24 +00:00
Jeff Law
b233eaabc0
* elf-hppa.h (elf_hppa_link_final_relocate): Fix typos.
...
Handle LTOFF_TP* relocs.
(elf_hppa_relocate_insn): Similarly.
1999-09-09 13:55:46 +00:00
Jeff Law
571047ad0a
* 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.
1999-09-09 13:32:38 +00:00
Jeff Law
e5bb3efcc5
* elf-hppa.h (elf_hppa_final_link_relocate): Handle LT_OFF_FPTR*,
...
DIR32, DIR64 and FPTR64 relocations.
(elf_hppa_relocate_insn): Similarly.
1999-09-09 13:01:11 +00:00
Jeff Law
be7582f38a
Wed Sep 8 17:56:11 1999 Jeffrey A Law (law@cygnus.com)
...
* elf-hppa.h (elf_hppa_final_link): Set the value of __gp to the
address of the .PARISC.global section.
(elf_hppa_relocate_section): Lookup and pass the PA64 hash
table entry elf_hppa_final_link_relocate. Do not give a warning
for a reloc against an external symbol if it has a PA64 hash
table entry.
(elf_hppa_final_link_relocate): Significantly rework. Handle
DLTIND relocations. Compute the final value of the relocation
before passing the value of elf_hppa_relocate_insn.
(elf_hppa_relocate_insn): Revamp to handle just bit tiwiddling
relocation support. Handle DLTIND relocation requests just like
DLTREL relocation requests. Simplify branch handling.
1999-09-08 Ulrich Drepper <drepper@cygnus.com>
* elf-hppa.h (elf_hppa_relocate_section): Catch problems with
non-allocated section as done in i386 version.
(elf_hppa_final_link_relocate): Uncomment R_PARISC_14F in switch
statement since this is no know relocation.
1999-09-09 12:01:24 +00:00
Jeff Law
040266ab33
Thu Sep 9 05:52:34 1999 Jeffrey A Law (law@cygnus.com)
...
* emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Define.
1999-09-08 Ulrich Drepper <drepper@cygnus.com>
* emulparams/elf64hppa.sh (ELFSIZE): New. Set to 64.
Wed Sep 8 00:07:39 1999 Jeffrey A Law (law@cygnus.com )
* emulparms/elf64hppa.sh (ENTRY): Define to main.
1999-09-09 11:56:00 +00:00
Stan Shebs
d4f3574e77
import gdb-1999-09-08 snapshot
1999-09-09 00:02:17 +00:00
Nick Clifton
325188ecac
Only support interworking and pic for ELF or COFF targets
1999-09-08 13:10:28 +00:00
Jeff Law
084d930bff
* elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14F
...
relocs.
(elf_hppa_relocate_insn): Similarly.
1999-09-08 01:00:12 +00:00
Jeff Law
11c19a4e3c
* elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14WR and
...
DLTREL14WD relocs.
(elf_hppa_relocate_insn): Similarly.
1999-09-08 00:50:50 +00:00
Jeff Law
c8933571da
* elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14R and
...
DLTREL21L relocs. Pass the output bfd to elf_hppa_relocate_insn.
Pass the relocate type rather than the insn format to
elf_hppa_relocate_insn.
(elf_hppa_relocate_insn): Make switch dependent on relocation type
rather than the opcode. Handle DLTREL21L and DLTREL14R relocs.
1999-09-08 00:09:52 +00:00
Jeff Law
2beaab59a5
* hppa-dis.c (print_insn_hppa): Escape '%' in output strings.
1999-09-07 19:57:23 +00:00
Jeff Law
d1e9bd1f11
* hppa-dis.c (print_insn_hppa): Handle 'Z' argument.
1999-09-07 19:52:51 +00:00
Jeff Law
4964086a66
* config/tc-hppa.c (pa_ip): Support 'Z' argument.
1999-09-07 19:48:13 +00:00
Jeff Law
52d836e28f
* hppa.h (pa_opcodes): Add "addil" variant which has the %r1 as
...
an explicit output argument.
1999-09-07 19:46:47 +00:00
Jeff Law
e7c1f43c29
* config/tc-hppa.c (pa_ip): Put strict register checks before
...
call to pa_parse_number.
1999-09-07 19:30:14 +00:00
Nick Clifton
f45812f66a
Add patterns with correct names for mulu and muls instructions (mulu.w and muls.w)
1999-09-07 17:26:21 +00:00
Ian Lance Taylor
692b7d62e8
* coffcode.h (bfd_coff_backend_data): Add _bfd_filnmlen field.
...
(bfd_coff_filnmlen): Define.
(bfd_coff_std_swap_table): Initialize new field.
* coffgen.c (coff_fix_symbol_name): Use bfd_coff_filnmlen rather
than FILNMLEN.
(coff_write_symbols): Likewise.
(coff_get_normalized_symtab): Likewise.
* coff-sh.c (bfd_coff_small_swap_table): Initialize new field.
* libcoff.h: Rebuild.
1999-09-07 04:28:27 +00:00
Ian Lance Taylor
4c117b10b2
reformat for 80 column screen
1999-09-07 04:14:35 +00:00
Ian Lance Taylor
75cc718903
1999-09-06 Donn Terry <donn@interix.com>
...
* coffcode.h (sort_by_secaddr): New static function if
COFF_IMAGE_WITH_PE.
(coff_compute_section_file_positions): If COFF_IMAGE_WITH_PE, sort
sections by VMA when assigning target_index values. Always set
virt_size.
1999-09-07 04:06:50 +00:00
Ian Lance Taylor
fdfd89ab43
remove unneeded ifdefs
1999-09-07 03:42:53 +00:00
Ian Lance Taylor
8d3ad4e16f
1999-09-06 Donn Terry <donn@interix.com>
...
* libcoff-in.h (struct pei_section_tdata): Add pe_flags field.
* coffcode.h (coff_set_alignment_hook): Set pe_flags field if
COFF_WITH_PE.
* libcoff.h: Rebuild.
1999-09-07 03:40:32 +00:00
Ian Lance Taylor
25bcc51d8f
1999-09-06 Donn Terry <donn@interix.com>
...
* internal.h (DTYPE): Define.
* pe.h (struct external_PEI_filehdr): Rename from
external_PE_filehdr. Define even if COFF_IMAGE_WITH_PE is not
defined.
1999-09-07 03:28:54 +00:00
Ian Lance Taylor
c4bf532f53
* config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for
...
BFD_ASSEMBLER code.
1999-09-07 03:26:58 +00:00
Ian Lance Taylor
8a1ad8e793
1999-09-06 Donn Terry <donn@interix.com>
...
* coffcode.h (coff_set_custom_section_alignment): Add const to
declaration to match definition.
(coff_write_object_contents): Don't set F_AR32W(R)? if
COFF_WITH_PE.
1999-09-07 03:00:32 +00:00
Ian Lance Taylor
6fb72d08dc
* coff-i386.c (in_reloc_p): Add declaration.
...
(i386coff_vec): Simplify initialization of
application_section_flags.
1999-09-07 02:59:17 +00:00
Ian Lance Taylor
2820a0b713
add comment
1999-09-07 02:58:00 +00:00
Ian Lance Taylor
a33132fd8e
1999-09-06 Donn Terry <donn@interix.com>
...
* as.c (perform_an_assembly_pass): Set SEC_DATA for data_section.
1999-09-07 02:23:44 +00:00
Ian Lance Taylor
417335159b
1999-09-06 Donn Terry <donn@interix.com>
...
* coffcode.h (sec_to_styp_flags): Write separate COFF_WITH_PE
version. Move COFF_WITH_PE specific code to new version.
(stype_to_sec_flags): Likewise. Add section parameter.
* coffgen.c (make_a_section_from_file): Set target_index before
calling styp_to_sec_flags. Pass section to styp_to_sec_flags.
* libcoff.h: Rebuild.
1999-09-07 02:11:54 +00:00
Ian Lance Taylor
1865dcb816
1999-09-06 Donn Terry <donn@interix.com>
...
* nm.c (print_symbol_info_bsd): Check for 'w' as well as 'U'.
(print_symbol_info_sysv): Likewise.
(print_symbol_info_posix): Likewise.
1999-09-06 18:47:31 +00:00