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
Ian Lance Taylor
9296256064
1999-09-06 Donn Terry <donn@interix.com>
...
* syms.c (stt): Add some PE/PEI section names.
(bfd_decode_symclass): Return 'w', not 'U', for a weak undefined
symbol.
(bfd_symbol_info): Check for 'w'.
1999-09-06 18:44:56 +00:00
Ian Lance Taylor
022a5af495
1999-09-06 Donn Terry <donn@interix.com>
...
* section.c (struct bfd_comdat_info): Define.
(asection): Add comdat field.
(STD_SECTION): Initialize comdat field.
(bfd_make_section_anyway): Likewise.
* bfd-in2.h: Rebuild.
1999-09-06 18:34:29 +00:00
Andreas Schwab
0d271c1a5e
* elflink.h (elf_link_add_object_symbols): Copy NON_GOT_REF flag
...
to version symbols.
1999-09-06 10:56:08 +00:00
Jeff Law
90765e3a9e
* hppa.h: Add strict variants of PA1.0/PA1.1 loads and stores.
...
Add a few PA2.0 loads and store variants.
1999-09-06 10:42:11 +00:00
Jeff Law
0f4f8b56e7
* config/tc-hppa.c (pa_ip): Get strict/non-strict mode from the
...
candidate instruction. Require registers for register arguments
when in strict mode. Require assemble-time constants for
constants when in strict mode.
(pa_get_absolute_expression): Require a constant when in strict
mode.
1999-09-06 10:28:21 +00:00
Nick Clifton
d33886536c
Fix value for -Wnuh command line option
1999-09-06 10:24:19 +00:00
Nick Clifton
1c56fb878f
Applied patch from Scott Bambrough <scottb@netwinder.org>:
...
Added HOSTING_CRT0, HOSTING_LIBS for target "arm*-*-linux-gnu*"
1999-09-06 09:51:16 +00:00
Nick Clifton
fed79cc616
use bfd memory allcation routines
1999-09-06 08:57:49 +00:00
Ian Lance Taylor
d9ea9319a9
fix date
1999-09-04 17:40:28 +00:00
Ian Lance Taylor
7d46606982
1999-09-04 Steve Chamberlain <sac@pobox.com>
...
* readelf.c: Include "elf/pj.h".
(dump_relocations): Handle EM_PJ.
(get_machine_name): Likewise.
(get_machine_flags): Likewise.
1999-09-04 17:40:18 +00:00
Ian Lance Taylor
6a0aef968b
1999-09-02 Steve Chamberlain <sac@pobox.com>
...
* binutils-all/objdump.exp: Add pj to cpus_expected.
1999-09-04 17:38:46 +00:00
Ian Lance Taylor
c6c8c6dc7a
1999-09-04 Steve Chamberlain <sac@pobox.com>
...
* configure.tgt (pjl-*-*, pj-*-*): New targets.
* emulparams/pjelf.sh: New file.
* emulparams/pjlelf.sh: New file.
* scripttempl/pj.sc: New file.
* Makefile.am (ALL_EMULATIONS): Add epjelf.o and epjlelf.o.
(epjelf.o, epjlelf.o): New targets.
* Makefile.in: Rebuild.
1999-09-04 17:37:36 +00:00
Ian Lance Taylor
6040cc9d99
remove extraneous period
1999-09-04 17:29:42 +00:00
Ian Lance Taylor
041dd5a9f4
1999-09-04 Steve Chamberlain <sac@pobox.com>
...
* config/tc-pj.c: New file, supports picoJava in ELF.
* config/tc-pj.h: Ditto.
* configure.in (pjl*, pj*): New targets.
* Makefile.am: Rebuild dependencies.
(CPU_TYPES): Add pj.
(TARGET_CPU_CFILES): Add config/tc-pj.c.
(TARGET_CPU_HFILES): Add config/tc-pj.h.
* doc/c-pj.texi: New file.
* doc/as.texinfo: Add some PJ specifics.
* doc/all.texi: Add PJ to the list of all architectures, sort them
all alphabetically.
* doc/Makefile.in (CPU_DOCS): Add c-pj.texi.
* configure, Makefile.in, doc/Makefile.in: Rebuild.
1999-09-04 17:29:22 +00:00
Ian Lance Taylor
2ef5e2a158
1999-09-04 Steve Chamberlain <sac@pobox.com>
...
* gas/pj/{pj.exp, ops.c, ops.d}: New tests for picoJava.
1999-09-04 17:18:59 +00:00
Ian Lance Taylor
5bb59d6527
1999-09-04 Steve Chamberlain <sac@pobox.com>
...
* dis-asm.h (print_insn_pj): Declare.
1999-09-04 17:17:37 +00:00
Ian Lance Taylor
8340b17f41
1999-09-04 Steve Chamberlain <sac@pobox.com>
...
* pj.h: New file.
1999-09-04 17:16:21 +00:00
Ian Lance Taylor
c6a40e00bc
1999-09-04 Steve Chamberlain <sac@pobox.com>
...
* pj.h: New file.
* common.h (EM_PJ): Define.
1999-09-04 17:15:44 +00:00
Ian Lance Taylor
1e608f986c
1999-09-04 Steve Chamberlain <sac@pobox.com>
...
* pj-opc.c: New file.
* pj-dis.c: New file.
* disassemble.c (disassembler): Handle bfd_arch_pj.
* configure.in: Handle bfd_pj_arch.
* Makefile.am: Rebuild dependencies.
(CFILES): Add pj-dis.c and pj-opc.c.
(ALL_MACHINES): Add pj-dis.lo and pj-opc.lo.
* configure, Makefile.in: Rebuild.
1999-09-04 17:14:37 +00:00
Ian Lance Taylor
0bcb993b9f
1999-09-04 Steve Chamberlain <sac@pobox.com>
...
* cpu-pj.c: New file.
* elf32-pj.c: New file.
* config.bfd (pj*): New cpu.
(pj-*-*, pjl-*-*): New targets.
* configure.in (bfd_elf32_pj_vec): New target vector.
(bfd_elf32_pjl_vec): New target vector.
* archures.c (bfd_arch_pj): Define.
* elf.c (prep_headers): Handle bfd_arch_pj.
* reloc.c: Define BFD_RELOC_PJ_* relocations.
* targets.c (bfd_elf32_pj_vec, bfd_elf32_pjl_vec): Declare and add
to target vector list.
* Makefile.am: Rebuild dependencies.
(ALL_MACHINES): Add cpu-pj.lo.
(ALL_MACHINES_CFILES): Add cpu-pj.c.
(BFD32_BACKENDS): Add elf32-pj.lo.
(BFD32_BACKENDS_CFILES): Add elf32-pj.c.
* configure, Makefile.in, bfd-in2.h, libbfd.h: Rebuild.
1999-09-04 17:07:46 +00:00