Alan Modra
be7311b0c4
daily update
2002-12-20 23:00:05 +00:00
Kazu Hirata
19852a2abd
* coff-h8300.c: Fix comment typos.
...
* coffcode.h: Likewise.
* cpu-cris.c: Likewise.
* elf32-vax.c: Likewise.
* genlink.h: Likewise.
* linker.c: Likewise.
* som.c: Likewise.
* tekhex.c: Likewise.
* vms-misc.c: Likewise.
2002-12-20 22:41:13 +00:00
DJ Delorie
5fd6399981
* reloc.c: Add BFD_RELOC_XSTORMY16_12.
...
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_12.
(xstormy16_reloc_map): Add R_XSTORMY16_12.
2002-12-20 21:13:19 +00:00
Kazu Hirata
4ee79850e0
* doc/bfdint.texi: Fix typos.
2002-12-20 00:35:03 +00:00
Alan Modra
66e25bab62
* acinclude.m4 (AM_INSTALL_LIBBFD): Do not rely on "test -o".
...
* configure.in (build-warnings): Likewise.
(Horrible hacks to build DLLs on Windows): Do not rely on "tail -1".
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2002-12-20 00:09:54 +00:00
Alan Modra
130e217850
daily update
2002-12-19 23:00:04 +00:00
Alan Modra
0171ee92b2
* coff-h8300.c: Include libiberty.h.
...
(h8300_reloc16_extra_cases): Check the hash table creator before
referencing h8300 specific fields. Stash the hash table pointer
in a local var. Comment typo fixes.
(h8300_bfd_link_add_symbols): Likewise.
2002-12-19 01:58:53 +00:00
Alan Modra
e5982cf5ba
daily update
2002-12-18 23:04:35 +00:00
Alan Modra
7dc77aaa7d
* bfd/reloc.c (struct reloc_howto_struct): Revise src_mask and
...
dst_mask comments.
* bfd-in2.h: Regenerate.
2002-12-18 13:47:03 +00:00
Alan Modra
47388f4cc3
* elf32-ppc.c (ppc_elf_relocate_section): Reorganize dynamic reloc
...
code a little. Comment on dynamic relocs against section symbols.
2002-12-18 13:16:35 +00:00
Alan Modra
2e51bbe3d2
daily update
2002-12-17 23:00:04 +00:00
Alan Modra
1b3e374430
* configure.host (ia64-*-hpux*): Support 64 bit targets using
...
the HP compiler's "long long".
2002-12-17 04:17:21 +00:00
DJ Delorie
46f2b5418f
* elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_LO16
...
and R_XSTORMY16_HI16) howto entries.
(xstormy16_reloc_map): Map R_XSTORMY16_{LO,HI}16 to BFD_RELOC_{LO,HI}16.
(xstormy16_info_to_howto_rela): Use R_XSTORMY16_GNU_VTINHERIT to
determine the start of the second reloc table.
2002-12-17 03:54:15 +00:00
Alan Modra
28274f1d5a
daily update
2002-12-16 23:00:05 +00:00
Nick Clifton
af738ea75a
Fix the reading of the debugging information of Tru64/Alpha binaries that
...
are produced by recent Compaq compilers.
2002-12-16 16:25:06 +00:00
Alan Modra
847b352715
daily update
2002-12-15 23:35:50 +00:00
Alan Modra
1b9b1dcc84
daily update
2002-12-14 23:00:05 +00:00
Alan Modra
eaab896093
daily update
2002-12-13 23:00:06 +00:00
Alan Modra
cc6a87da5e
daily update
2002-12-12 23:00:04 +00:00
Alexandre Oliva
5354b572b3
* elf-m10300.c (elf32_mn10300_link_hash_newfunc): Reorder
...
initializers to match struct declaration.
2002-12-12 21:54:32 +00:00
Alan Modra
ab3acfbe8d
Comment typo fixes.
2002-12-12 10:26:01 +00:00
Alan Modra
6348e046b7
* elf32-i386.c (elf_i386_finish_dynamic_sections): Add output_offset
...
to DT_JMPREL. Use srelplt input section size for DT_PLTRELSZ and
DT_RELSZ adjustment, not output section. Avoid writing tags when
unchanged. Don't assume linker script is sane, adjust DT_REL too.
* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Just use raw
size of srelplt for DT_PLTRELSZ. Use srelplt input section size for
DT_RELASZ adjustment, not output section. Avoid writing tags when
unchanged. Adjust DT_RELA.
* elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Tweaks for better
formatting. Avoid writing tags when unchanged. Adjust DT_RELA.
2002-12-12 10:17:14 +00:00
Alexandre Oliva
2e7a68a82f
* elfxx-mips.c (mips_elf_calculate_relocation): Don't divide
...
addend by 4.
2002-12-12 04:42:06 +00:00
Alexandre Oliva
b15e668260
* elfxx-mips.c (struct mips_got_entry): New.
...
(struct mips_got_info): Added got_entries field.
(mips_elf_got_entry_hash, mips_elf_got_entry_eq): New functions.
(mips_elf_local_got_index, mips_elf_got_page,
mips_elf_got16_entry): Re-implement in terms of new...
(mips_elf_create_local_got_entry): Rewrite to use got_entries.
Change return type.
(mips_elf_highest): Warning clean-up.
(mips_elf_create_got_section): Initialize got_entries.
(_bfd_mips_elf_check_relocs): Use got_entries to estimate
local got size.
(_bfd_mips_elf_size_dynamic_sections): Do not account for
GOT_PAGE entries, since we now reuse GOT16 entries.
2002-12-12 02:55:41 +00:00
Alan Modra
6ebc770bc6
daily update
2002-12-11 23:00:05 +00:00
Alan Modra
7b166d9e59
daily update
2002-12-10 23:00:04 +00:00
Nick Clifton
e6af3a53b1
Allow an otherwise unrepresentable read-only section that lies after .text
...
and before .data to be written into the output file and included in a_text.
2002-12-10 16:15:27 +00:00
Alan Modra
af8b928e75
daily update
2002-12-09 23:46:37 +00:00
Alan Modra
c546ac08d5
daily update
2002-12-08 23:00:05 +00:00
Alan Modra
cf3d882d19
* bfd-in.h: Comment typo fix. Formatting.
...
* bfd-in2.h: Regenerate.
* coff64-rs6000.c (xcoff64_openr_next_archived_file): Warning fix.
* elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): Prototype.
* elf64-mmix.c (mmix_dump_bpo_gregs): Warning fix.
2002-12-08 03:34:38 +00:00
Alan Modra
1b02d8ea3f
daily update
2002-12-07 23:00:04 +00:00
Alan Modra
3b7963af46
daily update
2002-12-06 23:00:04 +00:00
Richard Henderson
2f9bd3f641
* elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21BI.
...
Only send PCREL21B though the plt. Fix installed reloc type.
(elfNN_ia64_relocate_section): Give error for dynamic reloc
against PCREL22 or PCREL64I; clean up error messages for
branch relocs.
2002-12-06 01:48:24 +00:00
Alan Modra
3d8fe2eb21
daily update
2002-12-05 23:00:05 +00:00
Kevin Buettner
d0112f7353
Add n64 core file support for Linux/MIPS.
2002-12-05 05:04:00 +00:00
Jim Wilson
c10d9d8fc3
Patch to update IA-64 port to SDM 2.1.
...
bfd/ChangeLog
* cpu-ia64-opc.c: Add operand constant "ar.csd".
gas/ChangeLog
* config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint"
instruction.
(emit_one_bundle): Handle "hint" instruction.
(operand_match): Match IA64_OPND_AR_CSD.
gas/testsuite/ChangeLog
* gas/ia64/opc-b.d: Update for instructions added by SDM2.1.
* gas/ia64/opc-b.s: Ditto.
* gas/ia64/opc-f.d: Ditto.
* gas/ia64/opc-f.s: Ditto.
* gas/ia64/opc-i.d: Ditto.
* gas/ia64/opc-i.s: Ditto.
* gas/ia64/opc-m.d: Ditto.
* gas/ia64/opc-m.s: Ditto.
* gas/ia64/opc-x.d: Ditto.
* gas/ia64/opc-x.s: Ditto.
include/opcode/ChangeLog
* ia64.h: Fix copyright message.
(IA64_OPND_AR_CSD): New operand kind.
opcodes/ChangeLog
* ia64-opc-d.c (ia64_opcodes_d): Add "hint" instruction.
* ia64-opc-b.c: Add "hint.b" instruction.
* ia64-opc-f.c: Add "hint.f" instruction.
* ia64-opc-i.c: Add "hint.i" instruction.
* ia64-opc-m.c: Add "hint.m", "fc.i", "ld16", "st16", and
"cmp8xchg16" instructions.
* ia64-opc-x.c: Add "hint.x" instruction.
* ia64-opc.h (AR_CSD): New macro.
* ia64-ic.tbl: Update according to SDM2.1.
* ia64-raw.tbl: Ditto.
* ia64-waw.tbl: Ditto.
* ia64-gen.c (in_iclass): Handle "hint" like "nop".
(lookup_regindex): Recognize AR[FCR], AR[EFLAG], AR[CSD],
AR[SSD], AR[CFLG], AR[FSR], AR[FIR], and AR[FDR].
* ia64-asmtab.c: Regenerate.
2002-12-05 02:08:02 +00:00
H.J. Lu
d48770d487
2002-12-04 H.J. Lu <hjl@gnu.org>
...
* elfxx-ia64.c (get_local_sym_hash): Use section ID instead of
BFD address when constructing local name.
2002-12-04 23:59:27 +00:00
Alan Modra
9b7400f84d
daily update
2002-12-04 23:00:33 +00:00
Andreas Schwab
b6152c3461
* elf32-m68k.c (struct elf_m68k_link_hash_table): Add sym_sec
...
member.
(elf_m68k_link_hash_table_create): Initialize it.
(elf_m68k_check_relocs): Handle symbols that are forced to be
local due to visibility changes.
(elf_m68k_adjust_dynamic_symbol): Likewise.
(elf_m68k_size_dynamic_sections): Likewise.
(elf_m68k_discard_copies): Likewise.
(elf_m68k_relocate_section): Likewise.
2002-12-04 15:07:13 +00:00
Alan Modra
73374ef17b
* elf64-ppc.c (ppc64_elf_edit_opd): Correct typo.
2002-12-04 11:08:16 +00:00
Alan Modra
c5c1944d0f
* srec.c (srec_write_symbols): Restore '$' prefix to address
...
accidentally removed in 2002-04-04 change.
(srec_get_symtab): Use 0 instead of `(long) FALSE'.
2002-12-03 23:55:48 +00:00
Alan Modra
80f6040336
daily update
2002-12-03 23:00:04 +00:00
Nick Clifton
6b0817e5ee
Fix typo in ChangeLog entry.
...
Add paranoia checks to .PPC.EMB.apuinfo merging code.
2002-12-03 18:52:45 +00:00
Nick Clifton
e1a9cb8e15
Fix the merging of .PPC.EMB.apuinfo sections. Add a test to make sure that
...
the fix continues to work.
2002-12-03 18:24:33 +00:00
Richard Henderson
a823923bf6
include/opcode/
...
* ia64.h (enum ia64_opnd): Add IA64_OPND_LDXMOV.
bfd/
* cpu-ia64-opc.c (elf64_ia64_operands): Add ldxmov entry.
opcodes/
* ia64-opc-m.c: Add ld8.mov.
* ia64-asmtab.c: Regenerate.
gas/
* config/tc-ia64.c (operand_match): Add IA64_OPND_LDXMOV case.
gas/testsuite/
* gas/ia64/ldxmov-1.[ds]: New.
* gas/ia64/ldxmov-2.[ls]: New.
* gas/ia64/ia64.exp: Run them.
2002-12-03 18:15:48 +00:00
Alan Modra
5adef1a05f
daily update
2002-12-02 23:00:05 +00:00
Alan Modra
16203efcba
daily update
2002-12-01 23:00:05 +00:00
Stephane Carrez
3049164782
Fix PR savannah/1417:
...
* elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Don't adjust
branch if it goes to the start of the deleted region.
2002-12-01 13:24:03 +00:00
Stephane Carrez
bc7c6a9029
* bfd-in2.h (bfd_mach_m6812): Rebuild.
...
* archures.c (bfd_mach_m6812_default, bfd_mach_m6812,
bfd_mach_m6812s): Declare.
* elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): New function.
(_bfd_m68hc12_elf_set_private_flags): Call it.
(_bfd_m68hc12_elf_print_private_bfd_data): Report processor version.
(_bfd_m68hc12_elf_merge_private_bfd_data): Merge the flags and
report microcontroller incompatibilities (HC12 vs HCS12).
(elf_backend_object_p): Update.
2002-12-01 12:18:29 +00:00
Alan Modra
6ecb41c605
daily update
2002-11-30 23:00:05 +00:00