Alan Modra
5af11cab92
Eli Zaretskii's DOSish file name patches.
2000-05-26 13:11:57 +00:00
Alan Modra
b6cdd0fd9a
(bfd_close_all_done): Mask file perms with 0777 not 0x777.
2000-05-26 07:32:26 +00:00
Jakub Jelinek
f7775d95e6
* elf64-sparc.c (sparc64_elf_relax_section): New.
...
(sparc64_elf_relocate_section): Optimize tail call into branch always
if possible.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
(elf32_sparc_relax_section): New.
2000-05-26 06:41:33 +00:00
Jakub Jelinek
6c08d69728
* elf64-sparc.c: Add ATTRIBUTE_UNUSED to unused function parameters.
...
Remove unusued variables.
(sparc64_elf_relocate_section): Change r_symndx type to unsigned long.
(sparc64_elf_merge_private_bfd_data): Fix shared library case from
previous fix, so that shared libs really don't influence targets
extension mask and memory model.
2000-05-26 06:39:51 +00:00
Hans-Peter Nilsson
964802a856
Delete pass on manually added dependency for readelf.o for new target
2000-05-25 00:39:59 +00:00
Hans-Peter Nilsson
dd167cc82f
* bfdint.texi (BFD ELF processor required): Add paragraph about
...
target necessities for readelf.
2000-05-24 18:21:53 +00:00
H.J. Lu
ba09750c1e
2000-05-23 H.J. Lu <hjl@gnu.org>
...
* elf32-mips.c (mips_elf_calculate_relocation): Check
h->root.other not h->other.
* elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.
2000-05-23 14:20:57 +00:00
H.J. Lu
edb72b3b35
2000-05-23 H.J. Lu <hjl@gnu.org>
...
* elf64-alpha.c (elf64_alpha_relocate_section): Check
h->root.other not h->other.
2000-05-23 14:15:30 +00:00
H.J. Lu
3a27a730c7
2000-05-23 H.J. Lu <hjl@gnu.org>
...
* elf32-i386.c (elf_i386_relocate_section): Don't allow the
undefined symbol with the non-default visibility attributes.
* elf-hppa.h (elf_hppa_relocate_section): Likewise.
* elf32-arm.h (elf32_arm_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-mips.c (mips_elf_calculate_relocation): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-ia64.c (elf64_ia64_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
2000-05-23 14:05:50 +00:00
Richard Henderson
748abff62c
* elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI,
...
PCREL22, PCREL64I. Zero size of special relocs.
(elf64_ia64_reloc_type_lookup): Likewise.
(USE_BRL, oor_brl, oor_ip): New.
(elf64_ia64_relax_section): New.
(elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I.
(elf64_ia64_install_value): Likewise, plus PCREL21BI.
(elf64_ia64_relocate_section): Likewise.
(bfd_elf64_bfd_relax_section): New.
* reloc.c (BFD_RELOC_IA64_PCREL21BI): New.
(BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New.
* bfd-in2.h, libbfd.h: Regenerate.
2000-05-23 01:32:28 +00:00
Nick Clifton
fb67355a64
Add peigen.lo to MIPS PE target
2000-05-22 19:16:59 +00:00
Nick Clifton
1fe494a572
Use bfd_generic_verify_endian_match() and fix it to only check when endianness
...
is known.
2000-05-22 18:44:02 +00:00
H.J. Lu
32c092c3fa
2000-05-22 H.J. Lu <hjl@gnu.org>
...
* elflink.h (elf_link_output_extsym): Clear the visibility
field for symbols not defined locally.
2000-05-22 07:26:58 +00:00
Jeff Law
df6d9773e2
* libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,
...
re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn.
(hppa_rebuild_insn): Mask immediate bits here instead.
* elf-hppa.h (elf_hppa_relocate_insn): Mask here too.
2000-05-19 00:20:31 +00:00
Nick Clifton
7ad3436572
Force relocs emited for an executable to contain virtual addresses.
2000-05-18 17:12:31 +00:00
Jeff Law
d1dab720ad
* config.bfd (hppa*64*-*-hpux11*): New target triplet.
2000-05-18 16:55:34 +00:00
Nick Clifton
6d3e950baa
Add part of patch omittede from previous delta
2000-05-17 19:55:14 +00:00
Nick Clifton
a712da2085
Apply patch from Richard Gorton <gorton@scrugs.lkg.dec.com> to implement
...
--emit-relocs switch to the linker to preserve relocs in an output executable
2000-05-17 19:38:53 +00:00
Catherine Moore
10febd8491
* som.c (som_decode_symclass): Recognize weak symbols.
2000-05-16 14:20:10 +00:00
Alan Modra
db8503c490
Fix problems introduced with my last change.
2000-05-16 02:10:00 +00:00
Joern Rennecke
851cde108c
* elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.
2000-05-15 23:10:59 +00:00
Phil Blundell
1bde2d57d9
Support ARM ELF defaulting to big endian
2000-05-14 18:49:34 +00:00
H.J. Lu
3d5d550708
Remove the erroneous ">>>>>>> 1.419".
2000-05-12 15:35:15 +00:00
Alan Modra
9ee2520132
(bfd_target_vector): #ifdef BFD64 rs6000coff64_vec
2000-05-12 06:07:04 +00:00
Alan Modra
a76b448c6f
Restore some functionality removed by previous patch.
...
Tidy printing of bfd_vma's.
2000-05-11 23:24:27 +00:00
Alan Modra
72730e0ced
Fix some nits shown up by objcopy.
2000-05-09 00:43:44 +00:00
Alan Modra
bfde9f995a
Fix coredump discovered running m68k testsuite.
2000-05-08 10:00:27 +00:00
Alan Modra
b35efbcd1b
* trad-core.c (trad_unix_core_file_p): Return
...
bfd_error_wrong_format rather than bfd_error_file_truncated.
2000-05-08 06:57:39 +00:00
Alan Modra
8181c4030f
DataDirectory virtual address is relative. Fix to suit.
2000-05-08 05:52:58 +00:00
Clinton Popetz
2c38bc20f9
* xcoff.h: Rename to xcoff-target.h
...
* Makefile.am: Change all instances of xcoff.h to xcoff-target.h
* coff-rs6000.c: Ditto.
* coff64-rs6000.c: Ditto.
* coff-pmac.c: Ditto.
* Makefile.in: Regenerate.
2000-05-06 01:47:18 +00:00
Clinton Popetz
c6664dfb26
bfd:
...
* coffcode.h (coff_set_arch_mach_hook, coff_set_flags):
Change U802TOC64MAGIC to U803XTOCMAGIC.
include:
* coff/rs6k64.h (U802TOC64MAGIC): Change to U803XTOCMAGIC.
2000-05-06 01:41:50 +00:00
Michael Snyder
3425c18298
2000-05-04 Michael Snyder <msnyder@seadog.cygnus.com>
...
* elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1.
* bfd-in.h: Prototype bfd_elf_get_arch_size.
* bfd-in2.h: Prototype bfd_elf_get_arch_size.
2000-05-05 18:12:53 +00:00
Alan Modra
7c30ac3752
Fix thinko in 2000-05-02 change.
2000-05-04 12:45:43 +00:00
H.J. Lu
0444bdd49c
2000-05-03 Martin v. Löwis <loewis@informatik.hu-berlin.de>
...
* elflink.h (elf_link_add_object_symbols): Reset dynindx for
hidden and internal symbols.
(elf_fix_symbol_flags): Clear NEEDS_PLT for symbols with
visibility.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Do not
assign a PLT or GOT entry to symbols with hidden and
internal visibility.
2000-05-04 06:38:33 +00:00
Alan Modra
da5d444c29
go32 bss alignment.
2000-05-03 04:25:33 +00:00
H.J. Lu
ee44def1ea
2000-05-02 H.J. Lu <hjl@gnu.org>
...
* elf.c (prep_headers): USe ELFOSABI_NONE instead of
ELFOSABI_SYSV.
2000-05-02 17:51:36 +00:00
Alan Modra
e0afaebdfc
Restore elf32-hppa target vec.
2000-05-02 11:18:33 +00:00
Jim Wilson
85e22c7ef1
Fix IA-64 --enable-targets=all bug reports.
...
* Makefile.am (BFD32_BACKENDS): Add efi-app-ia32.lo.
(BFD32_BACKENDS_CFILES): Add efi-app-ia32.c.
(BFD64_BACKENDS): Delete coff-ia64.lo. Add efi-app-ia64.lo.
(BFD64_BACKENDS_CFILES): Delete coff-ia64.c. Add efi-app-ia64.c.
* Makefile.in: Rebuild.
2000-05-02 00:23:54 +00:00
Alan Modra
3f9b03b5da
Assorted code cleanup and fixes for hppa. Re-enable elf32-hppa as
...
it now compiles even if it doesn't work too well.
2000-05-02 00:12:52 +00:00
Alan Modra
01fff6e2f4
Fix "incompatible types in return" gcc error.
2000-05-01 05:02:57 +00:00
Alan Modra
c8735523e1
Fix bfd_coff_small_swap_table initialisation.
2000-05-01 04:47:39 +00:00
Ben Elliston
afdaa25fc3
2000-04-30 Ben Elliston <bje@redhat.com>
...
* bfdint.texi (BFD generated files): Fix another typo.
2000-04-30 15:04:58 +00:00
Clinton Popetz
b4911a31c0
* xcoff.h: Forgot to cvs add in last patch.
2000-04-29 14:41:30 +00:00
Clinton Popetz
0ca652e9ec
* libcoff.h: Sigh, whitespace differences after 'make headers'.
2000-04-29 02:45:34 +00:00
Clinton Popetz
2243c419e9
* coffcode.h Copy changes mistakenly done to libcoff.h in
...
4/24/2000 patch.
2000-04-29 02:41:36 +00:00
Alan Modra
a1934524a3
Correctly check gcc version.
2000-04-29 00:56:29 +00:00
Clinton Popetz
14958a432d
* Makefile.am (BFD64_BACKENDS, BFD64_BACKENDS_CFILES): Add
...
coffdu-rs6000.{lo,c}.
(coff-pmac.lo, coff-rs6000.lo, coff64-rs6000.lo): Add dependency
on xcoff.h
* Makefile.in: Regenerate.
* xcoff.h: New file.
* coff-pmac.c: Use xcoff.h instead of coff-rs6000.c.
* coff-rs6000.c: Move all declarations and defines that are
common to the xcoff backends into xcoff.h
* coff64-rs6000.c: Ditto,
2000-04-28 20:02:30 +00:00
Clinton Popetz
ecefdb5878
* coff-mips.c (mips_ecoff_backend_data): Add initialization of
...
_bfd_coff_force_symnames in strings and
_bfd_coff_debug_string_prefix_length to their default values.
* coff-sh.c: (bfd_coff_small_swap_table): Ditto.
2000-04-28 13:50:57 +00:00
Clinton Popetz
6732d8bf82
* coff-alpha.c (alpha_ecoff_backend_data): Add initialization of
...
_bfd_coff_force_symnames in strings and
_bfd_coff_debug_string_prefix_length to their default values.
2000-04-28 13:17:26 +00:00
Alan Modra
dd5724d523
Reference count .plt and .got on x86 for garbage collection code. Fix a
...
couple of m68k and ppc bugs discovered while testing x86 gc.
2000-04-27 00:31:17 +00:00