Alan Modra
f48c1c9e9a
daily update
2002-12-27 23:00:33 +00:00
Alan Modra
6c6c88e18c
daily update
2002-12-26 23:00:04 +00:00
Alan Modra
0a4ee94c8f
daily update
2002-12-25 23:00:04 +00:00
Alan Modra
7690a6b38a
daily update
2002-12-24 23:00:04 +00:00
DJ Delorie
213e90f483
* coff64-rs6000.c (xcoff64_ppc_relocate_section): Fix logic reversal.
2002-12-24 03:43:44 +00:00
Alan Modra
11e6387acb
daily update
2002-12-23 23:00:03 +00:00
Alan Modra
7582835273
* elflink.h (elf_link_output_extsym): Heed strip_discarded.
2002-12-23 11:53:59 +00:00
Nick Clifton
312b768e2f
Change linker's default behaviour - it will now reject binary files whoes
...
architecture it does not recognise, unless it has explicitly told to accept
them.
2002-12-23 10:45:03 +00:00
Alan Modra
aabb843608
daily update
2002-12-22 23:00:04 +00:00
Alan Modra
3e9bfb45a0
daily update
2002-12-21 23:00:03 +00:00
Nick Clifton
63222ec9df
Disable WINCE workaround that subtracted 8 from pc relative relocations.
2002-12-21 02:21:00 +00:00
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