Alan Modra
eddbf8500e
daily update
2003-09-13 00:00:06 +00:00
Alan Modra
3573e347d9
daily update
2003-09-12 00:00:05 +00:00
Alan Modra
60022f723a
daily update
2003-09-11 00:00:15 +00:00
H.J. Lu
fdbdabdda5
2003-09-10 H.J. Lu <hongjiu.lu@intel.com>
...
* elfxx-ia64.c (elfNN_ia64_special_sections): Mark all sections
started with ".sbss" or "".sdata" as SHF_IA_64_SHORT.
2003-09-10 20:48:32 +00:00
Dave Anglin
a252afa4cd
* elf32-hppa.c (struct elf32_hppa_link_hash_entry,
...
hppa_link_hash_newfunc, hppa_build_one_stub,
elf32_hppa_adjust_dynamic_symbol, mark_PIC_calls, allocate_plt_static,
allocate_dynrelocs, elf32_hppa_size_dynamic_sections,
elf32_hppa_finish_dynamic_symbol): Remove pic_call field and all code
for generating import stubs for calls to statically linked PIC
functions.
(hppa_type_of_stub): Don't generate an import stub for calls to
statically linked pic functions. Generate import stubs for calls
in a shared object, to functions not in a regular file, and to
defined weak functions. Add new argument INFO.
(hppa_build_one_stub): Don't undef ADDIL_DP.
(elf32_hppa_check_relocs): Don't set SEC_HAS_GOT_REF flag.
(elf32_hppa_size_stubs): Pass info to hppa_type_of_stub.
(final_link_relocate): Change all DLTIND relocs to DPREL relocs in a
non-shared link. Convert instructions that use the the linkage table
pointer, or a facsimile thereof, to use the global data pointer when
the reloc has been changed.
2003-09-10 18:46:08 +00:00
Alan Modra
cd39598c88
daily update
2003-09-10 00:00:35 +00:00
Alan Modra
1b23b01f8e
daily update
2003-09-09 00:00:06 +00:00
Joel Brobecker
42acdc7c30
* archures.c: Add new machine names for hppa.
...
* bfd-in2.h: Regenerate.
* cpu-hppa.c: Use the new machine names.
2003-09-08 16:46:02 +00:00
Alan Modra
6e1ccdbeda
daily update
2003-09-08 00:00:06 +00:00
Alan Modra
ff8aebd45c
daily update
2003-09-07 00:00:06 +00:00
Stephane Carrez
2a0e29b406
* elf32-m68hc1x.h (struct m68hc11_elf_link_hash_table): Remove
...
all_local_syms member.
* elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Use bfd_elf_get_elf_syms
to get the local symbols.
2003-09-06 21:09:40 +00:00
Stephane Carrez
3f533aa9ec
* elf32-m68hc12.c (elf32_m68hc12_special_sections): New for hc11.
...
(elf_backend_special_sections): Define.a
PR savannah/4950:
* elf32-m68hc11.c (elf32_m68hc11_special_sections): The .vectors
section is read-only.
2003-09-06 20:55:50 +00:00
Alan Modra
cc1b3dc7b2
daily update
2003-09-06 00:00:13 +00:00
Alan Modra
4db070aa57
daily update
2003-09-05 00:00:05 +00:00
Nick Clifton
8ad30312ff
Add binutils support for v850e1 processor
2003-09-04 11:04:38 +00:00
Alan Modra
331a33edeb
daily update
2003-09-04 00:00:06 +00:00
Nick Clifton
3922a8c154
Do not skip section symbols that are used in relocs.
2003-09-03 16:06:12 +00:00
Nick Clifton
13dfd2d039
Add *kfreebsd-gnu configuration support
2003-09-03 09:32:21 +00:00
Alan Modra
902a241b02
daily update
2003-09-03 00:00:06 +00:00
Alan Modra
8308626d33
daily update
2003-09-02 00:00:05 +00:00
Alan Modra
ca972297ff
daily update
2003-09-01 00:00:06 +00:00
Christian Groessler
32d920dd70
fixed comment for i860_howto_pc26_reloc
2003-08-31 18:25:09 +00:00
Christian Groessler
1c0881ddd9
* elf32-i860.c (i860_howto_pc26_reloc): Finish relocation here
...
instead of returning bfd_reloc_continue.
2003-08-31 18:22:06 +00:00
Andreas Jaeger
ac0e732ef3
* merge.c: Update to ISO C90.
2003-08-31 10:07:47 +00:00
Alan Modra
7274f0d79a
daily update
2003-08-31 00:00:05 +00:00
Alan Modra
eac8c92310
daily update
2003-08-30 00:00:07 +00:00
Alan Modra
1d4be3b517
daily update
2003-08-29 00:00:14 +00:00
Alan Modra
ae5a54c2fa
daily update
2003-08-28 00:00:16 +00:00
Ian Lance Taylor
49c97a80e3
* configure.in: Check for strtoull.
...
* bfd.c (bfd_scan_vma): Use strtoull when available.
* configure, config.in: Regenerate.
2003-08-27 17:57:33 +00:00
Ian Lance Taylor
ec317fb157
* configure.in: Define and substitute BFD_HOST_LONG_LONG.
...
* bfd-in.h: Define BFD_HOST_LONG_LONG. Test it rather than
__GNUC__ when deciding whether to use long long for
BFD_HOST_64_BIT.
* configure, Makefile.in, doc/Makefile.in, bfd-in2.h: Regenerate.
2003-08-27 17:43:39 +00:00
Christian Groessler
d539b3aa78
2003-08-27 Christian Groessler <chris@groessler.org>
...
* elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc,
i860_howto_splitn_reloc, i860_howto_highadj_reloc): New
functions.
(elf32_i860_howto_table): Insert the new functions as
'special_function's in the proper reloc type entries.
2003-08-27 13:28:42 +00:00
Richard Sandiford
73052b5e96
* elf32-frv.c (elf32_frv_relocate_section): Use
...
_bfd_elf_rela_local_sym.
2003-08-27 09:21:15 +00:00
Alan Modra
a9b6ab4d33
daily update
2003-08-27 00:00:05 +00:00
Michael Snyder
2c848f79e9
2003-08-26 Michael Snyder <msnyder@redhat.com>
...
* cpu-frv.c: Remove unused enum.
2003-08-26 17:13:18 +00:00
Alan Modra
dbd8c104d5
daily update
2003-08-26 00:00:06 +00:00
Maciej W. Rozycki
980491e6d5
2003-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
...
* reloc.c: Fix documentation for MIPS ELF relocations.
libbfd.h: Regenerate.
bfd-in2.h: Regenerate.
2003-08-25 12:39:14 +00:00
Alan Modra
2ff3acebc0
daily update
2003-08-25 00:00:06 +00:00
Jason Eckhardt
6d1227b86c
2003-08-24 Jason Eckhardt <jle@rice.edu>
...
* coff-i860.c (CALC_ADDEND): Define to be a no-op.
2003-08-24 20:54:05 +00:00
Jason Eckhardt
f680ea79cc
2003-08-24 Jason Eckhardt <jle@rice.edu>
...
* elf32-i860.c (elf32_i860_relocate_pc16): Subtract 4 and
shift by 2 before storing the relocated value.
2003-08-24 18:16:46 +00:00
Alan Modra
5c877b7234
daily update
2003-08-24 00:00:06 +00:00
Jason Eckhardt
c28b1c2869
2003-08-23 Jason Eckhardt <jle@rice.edu>
...
[bfd/ChangeLog]
* coff-i860.c (coff_i860_reloc_nyi): New function.
(howto_table): Add entries for relocations PAIR, HIGHADJ, HIGH,
LOWn, SPLITn, and BRADDR.
(RTYPE2HOWTO): Check that the r_type is within the howto_table
before trying to access the entry.
(coff_i860_rtype_to_howto): Likewise.
(coff_i860_reloc_type_lookup): New function.
(i860_reloc_processing): New function.
(coff_bfd_reloc_type_lookup): Define macro.
(RELOC_PROCESSING): Define macro.
Minor formatting adjustments.
[include/coff/ChangeLog]
* coff/i860.h (COFF860_R_PAIR, COFF860_R_LOW0, COFF860_R_LOW1,
COFF860_R_LOW2, COFF860_R_LOW3, COFF860_R_LOW4, COFF860_R_SPLIT0,
COFF860_R_SPLIT1, COFF860_R_SPLIT2, COFF860_R_HIGHADJ,
COFF860_R_BRADDR): Define new relocation constants and document.
Minor formatting adjustments.
2003-08-23 23:00:09 +00:00
Alan Modra
40a0491a90
* elflink.h (elf_link_add_object_symbols): Don't crash on NULL owner.
2003-08-23 04:10:34 +00:00
Alan Modra
37f2f67a89
daily update
2003-08-23 00:00:05 +00:00
H.J. Lu
69bbc4c090
2003-08-22 H.J. Lu <hongjiu.lu@intel.com>
...
* elfxx-ia64.c (elfNN_ia64_create_dynamic_sections): Align the
.got section at 8 bytes.
2003-08-22 23:35:59 +00:00
Alan Modra
23597ff0e8
daily update
2003-08-22 00:00:05 +00:00
Nick Clifton
85db1db4b9
Fix spelling typo.
2003-08-21 16:26:20 +00:00
Nick Clifton
8b9561304c
Convert to ISO C90. Tidy up formatting.
2003-08-21 16:20:39 +00:00
Nick Clifton
6c21aa7634
For elf32-hppa-linux, objects can have OSABI=Linux or OSABI=SysV; check for
...
both.
2003-08-21 14:00:06 +00:00
Nick Clifton
3673a93e66
Updated translations
2003-08-21 13:52:58 +00:00
Alan Modra
9a0b3ef03e
daily update
2003-08-21 00:00:05 +00:00
Richard Sandiford
427b80f4a9
* elf64-mips.c (elf_backend_copy_indirect_symbol): Define.
2003-08-20 13:53:42 +00:00
Nick Clifton
560e09e9cc
Better handking for unresolved symbols
2003-08-20 08:37:19 +00:00
Alan Modra
8a9cddf46f
daily update
2003-08-20 00:00:04 +00:00
Alan Modra
9424b17afa
daily update
2003-08-19 00:00:06 +00:00
H.J. Lu
4091ea4e21
2003-08-18 Andreas Schwab <schwab@suse.de>
...
* libpei.h (bfd_pe_executable_p): Also recognize efi-app
executables.
2003-08-18 18:26:56 +00:00
Alan Modra
91a2fd1fbe
daily update
2003-08-18 00:00:06 +00:00
Hans-Peter Nilsson
b0cdc7bcb0
* simple.c (bfd_simple_get_relocated_section_contents): Move
...
reloc_done hack to before first bfd_section_size call. Change all
returns to use new wrapper macro RETURN, restoring sec->reloc_done.
2003-08-17 07:37:33 +00:00
Alan Modra
95173cb290
daily update
2003-08-17 00:00:06 +00:00
Alan Modra
c1993d0493
* elf64-ppc.c: Don't include elf/ppc.h.
2003-08-16 13:42:43 +00:00
Alan Modra
53db97b0b3
daily update
2003-08-16 00:00:06 +00:00
Alan Modra
12d4560293
daily update
2003-08-15 00:00:06 +00:00
Richard Sandiford
792b4a532f
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Fix PT_DYNAMIC
...
code to work with 64-bit bfds.
2003-08-14 09:30:34 +00:00
Alan Modra
fdc09da8b5
* dep-in.sed: Remove libintl.h.
...
* Makefile.am (SRC-POTFILES.in, BLD-POTFILES.in): Unset LC_COLLATE.
(POTFILES.in): Remove target.
* Makefile.in: Regenerate.
2003-08-14 07:03:00 +00:00
Alan Modra
ef417f4de3
daily update
2003-08-14 00:00:06 +00:00
Alan Modra
51dc90a107
daily update
2003-08-13 00:00:06 +00:00
Alan Modra
ee87f2dab8
* elf64-ppc.c (ppc64_elf_next_input_section): Update comment.
...
(ppc64_elf_relocate_section): For zero sym R_PPC64_TOC relocs,
use the function sym from the previous reloc.
2003-08-12 05:58:10 +00:00
Alan Modra
262e2d8016
daily update
2003-08-12 00:00:06 +00:00
Jakub Jelinek
15f40dfc73
* elf32-i386.c (elf_i386_relocate_section): Make undefined symbols
...
fatal if -pie.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
(ppc_elf_relocate_section) <case R_PPC_RELAX32>: Issue fatal error
on undefined symbols if -pie.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
2003-08-11 14:26:11 +00:00
Alan Modra
6ab189d5a4
* elf64-ppc.c (ppc64_elf_relocate_section): Add special case for crt1.o
...
branch to __libc_start_main.
2003-08-11 11:31:01 +00:00
Alan Modra
e561512e36
daily update
2003-08-11 00:00:06 +00:00
Alan Modra
73d40e94db
daily update
2003-08-10 00:00:06 +00:00
Alan Modra
ba2f8de116
daily update
2003-08-09 00:00:07 +00:00
Nick Clifton
3b260895e3
Add MSP430 variants
2003-08-08 10:14:52 +00:00
Alan Modra
ffd2286a66
daily update
2003-08-08 00:00:05 +00:00
Alan Modra
9c5bfbb7fd
* elfxx-target.h: Remove PTR cast.
...
* targets.c (bfd_target): Make backend_data const void *.
* elf-bfd.h: Constify all occurrences of struct elf_backend_data.
* elf-m10300.c: Likewise.
* elf.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-m68hc1x.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-sparc.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-mips.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-sh64.c: Likewise.
* elf64-sparc.c: Likewise.
* elf64-x86-64.c: Likewise.
* elfcode.h: Likewise.
* elfcore.h: Likewise.
* elflink.c: Likewise.
* elflink.h: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.
* elfxx-mips.h: Likewise.
* elf.c (prep_headers): Remove useless check for null backend_data.
* bfd-in2.h: Regenerate.
2003-08-07 08:38:11 +00:00
Alan Modra
c39a58e6ff
* elf-bfd.h: Remove PARAMS macro. Replace PTR with void *.
...
(NAME): Use ## rather than CONCAT4 macro.
* elfcode.h: Remove one remaining PARAMS macro.
* elf-eh-frame.c: Convert to C90, remove unneeded casts and prototypes.
* elf-strtab.c: Likewise.
* elf-hppa.h: Likewise.
* elf32-hppa.h: Likewise.
* elf32-hppa.c: Likewise.
(elf32_hppa_add_symbol_hook): Delete.
(elf_backend_add_symbol_hook): Don't define.
* libhppa.h: Convert to C90. Replace INLINE with inline.
2003-08-07 07:25:34 +00:00
Alan Modra
9a37c57c73
daily update
2003-08-07 00:00:05 +00:00
Alan Modra
97b639ba81
* elf64-ppc.c (ppc_stub_name): Tweak names for better readability.
...
(ppc64_elf_adjust_dynamic_symbol): Allow copy relocs against
function descriptors, but warn.
(ppc_build_one_stub): Remove a couple of vars. Move code creating
stub syms so that we can avoid a stub sym if we already have a
plt sym. Do not redefine an existing symbol.
(ppc64_elf_build_stubs): When --emit-stub-syms, print a symbol for
glink.
2003-08-06 12:23:37 +00:00
Nick Clifton
9e7d479d74
Updated French translations
2003-08-06 10:15:16 +00:00
Nick Clifton
4a21a4925a
Fix typo
2003-08-06 09:02:50 +00:00
Alan Modra
77f3d02765
* elflink.c (_bfd_elf_create_dynamic_sections): Mark .dynbss with
...
SEC_LINKER_CREATED.
2003-08-06 01:27:11 +00:00
Alan Modra
6e15d39180
daily update
2003-08-06 00:00:05 +00:00
Daniel Jacobowitz
50d6c87817
* elf32-arm.h (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
...
(elf32_arm_final_link_relocate, elf32_arm_relocate_section): Use it.
2003-08-05 16:24:12 +00:00
Nick Clifton
14abcef98a
Detect and issue a warning message if the line number table could not be read.
2003-08-05 08:25:17 +00:00
Alan Modra
b2764862fa
daily update
2003-08-05 00:00:06 +00:00
Nick Clifton
8c6756949e
Prefix .gnu.warning section messages with "warning: ".
2003-08-04 11:32:52 +00:00
Alan Modra
268b6b3931
* elfcode.h: Convert to C90, remove unneeded casts and prototypes.
...
* elfcore.h: Likewise.
* elflink.c: Likewise.
* elflink.h: Likewise.
* elf.c (sym_is_global): Remove INLINE.
(align_file_position): Replace INLINE with inline.
* elfcode.h (elf_swap_dyn_in, elf_swap_dyn_out): Remove INLINE.
(elf_file_p): Replace INLINE with inline.
2003-08-04 09:39:46 +00:00
Alan Modra
4b4f13235f
daily update
2003-08-04 00:00:06 +00:00
Alan Modra
392bd7b386
daily update
2003-08-03 00:00:05 +00:00
Kaz Kojima
866f48b717
* elf32-sh.c (sh_elf_check_relocs): Don't set DF_TEXTREL here.
...
* ld-sh/shared-2.d, ld-sh/textrel1.s, ld-sh/textrel2.s: New test.
2003-08-02 13:46:44 +00:00
Alan Modra
ce83f84815
daily update
2003-08-02 00:00:06 +00:00
H.J. Lu
8651fcf94c
2003-08-01 H.J. Lu <hongjiu.lu@intel.com>
...
* elfxx-ia64.c (get_got): Align the .got section at 8 bytes.
2003-08-01 22:46:16 +00:00
H.J. Lu
37cd262974
2003-08-01 H.J. Lu <hongjiu.lu@intel.com>
...
* elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Use
ElfNN_External_Rela instead of Elf64_External_Rela.
2003-08-01 22:42:26 +00:00
Nick Clifton
91fb2a9d47
Add code to catch obsolete configurations and warn about them unless
...
--enable-obsolete is used. Use this to mark vax-vms port as obsolete.
2003-08-01 08:35:04 +00:00
Alan Modra
d9efd8a93f
daily update
2003-08-01 00:00:05 +00:00
Alan Modra
e656e36976
* elf32-ppc.c (ppc_elf_install_value): Tidy.
...
(ppc_elf_relax_section): Remove dead code. Remove unnecessary casts.
Formatting.
* elfxx-target.h: Remove PARAMS macro. Formatting.
2003-07-31 14:38:15 +00:00
Alan Modra
50bc79368a
* elf.c (bfd_section_from_r_symndx): Test for SHN_UNDEF.
...
* elf64-ppc.c (get_fdh): New function, split out from
ppc64_elf_edit_opd.
(ppc64_elf_check_relocs): Use get_fdh.
(func_desc_adjust): Likewise. Tidy.
(ppc64_elf_edit_opd): Tighten reloc checks. Free local_syms on error
exit. Use get_fdh. Account for superfluous dynamic relocs.
(ppc64_elf_relocate_section): Warning fix.
2003-07-31 14:34:13 +00:00
Alan Modra
c7773400f6
daily update
2003-07-31 00:00:06 +00:00
Jason Eckhardt
a62d170c66
2003-07-30 Jason Eckhardt <jle@rice.edu>
...
* coff-i860.c: Convert to ISO C90. Remove superflous prototypes.
2003-07-30 21:37:35 +00:00
Jason Eckhardt
7734b6e923
bfd:
...
2003-07-30 Jason Eckhardt <jle@rice.edu>
* elf32-i860.c: Convert to ISO C90. Remove superflous prototypes.
gas:
2003-07-30 Jason Eckhardt <jle@rice.edu>
* config/tc-i860.c: Convert to ISO C90.
2003-07-30 20:24:55 +00:00