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
Alan Modra
37f4508be1
* elf-hppa.h (elf_hppa_relocate_section): Look up dyn_h for undefweak.
...
* elf64-hppa.c (elf64_hppa_finalize_dlt): Check h->root.type.
2003-07-30 02:15:07 +00:00
Alan Modra
217aa764fc
* elf.c: Convert to C90, remove unnecessary prototypes and casts.
...
Replace PTR with void *. Formatting.
(_bfd_elf_assign_file_position_for_section): Remove INLINE.
(make_mapping): Likewise.
2003-07-30 02:08:06 +00:00
Alan Modra
f827895910
daily update
2003-07-30 00:00:05 +00:00
Alan Modra
494dac0c9f
* elf64-ppc.c (func_desc_adjust): Give linker created function
...
descriptor symbols a size and type.
(ppc64_elf_relocate_section): Correct lq insn test.
2003-07-29 06:47:10 +00:00
Eric Christopher
deaaf2f370
2003-07-28 Eric Christopher <echristo@redhat.com>
...
* elf32-ppc.c (R_PPC_RELAX32): New relocation.
(ppc_elf_install_value): New function.
(ppc_elf_sort_rela): Remove.
(ppc_elf_relax_section): Rewrite. Remove old relaxation
and replace with out of range branch stubs.
(ppc_elf_relocate_section): Handle R_PPC_RELAX32.
2003-07-28 Eric Christopher <echristo@redhat.com>
* ppc.h (R_PPC_RELAX32): New. Fake relocation.
2003-07-29 06:42:51 +00:00
Alexandre Oliva
709e685dff
* elf-m10300.c (mn10300_elf_relax_section): Take symbol hash table
...
from input_bfd.
2003-07-29 06:18:40 +00:00
Alan Modra
ac400888b3
daily update
2003-07-29 00:00:05 +00:00
Alan Modra
36c506c536
* elf.c (special_sections): Set attributes for .got and .plt.
2003-07-28 14:21:44 +00:00
Alan Modra
7b968b10bd
daily update
2003-07-28 00:00:06 +00:00