H.J. Lu
5cc7c785d2
2000-03-01 H.J. Lu <hjl@gnu.org>
...
* aoutx.h (aout_link_input_section_std): Pass "true" to
the undefined_symbol callback.
(aout_link_input_section_ext): Likewise.
* bout.c (get_value): Likewise.
* coff-a29k.c (coff_a29k_relocate_section): Likewise.
* coff-alpha.c (alpha_ecoff_get_relocated_section_conten):
Likewise.
(alpha_relocate_section): Likewise.
* coff-arm.c (coff_arm_relocate_section): Likewise.
* coff-i960.c (coff_i960_relocate_section): Likewise.
* coff-mcore.c (coff_mcore_relocate_section): Likewise.
* coff-mips.c (mips_relocate_section): Likewise.
* coff-ppc.c (coff_ppc_relocate_section): Likewise.
* coff-sh.c (sh_relocate_section): Likewise.
* coff-tic80.c (coff_tic80_relocate_section): Likewise.
* cofflink.c (_bfd_coff_generic_relocate_section): Likewise.
* elf-m10200.c (mn10200_elf_relocate_section): Likewise.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-v850.c (v850_elf_relocate_section): Likewise.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise.
* elflink.h (elf_link_output_extsym): Likewise.
* pe-mips.c (coff_pe_mips_relocate_section): Likewise.
* reloc.c (bfd_generic_get_relocated_section_conten): Likewise.
* reloc16.c (_bfd_ppc_xcoff_relocate_section): Likewise.
* elf-hppa.h (elf_hppa_relocate_section): Pass "false" to the
undefined_symbol callback when building shared library with
-Bsymbolic and undefined symbols are allowed. Otherwise, pass
"true".
* elf32-arm.h (elf32_arm_relocate_section): Likewise.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mips.c (mips_elf_calculate_relocation): Likewise.
(elf32_mips_get_relocated_section_content): 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-sparc.c (sparc64_elf_relocate_section): Likewise.
2000-03-01 19:40:54 +00:00
Nick Clifton
2f0ca46a49
Apply Thoams de Lellis's patch to fic disassembly of Thumb instructions when
...
bounded by non-function labels.
2000-01-27 20:05:32 +00:00
Nick Clifton
756fa1b9b7
Fix bug in interwork stubs from thumb to arm
2000-01-13 22:55:12 +00:00
Nick Clifton
811b4bf61d
Add SEC_CODE and SEC_READONLY flags to glue sections.
1999-11-25 11:45:05 +00:00
Nick Clifton
57db232e4b
Undeo previous delta. Set gc_mark instead.
1999-09-17 11:04:47 +00:00
Nick Clifton
d0f2103d07
Mark interworking sections as linker created to prevent garbage collection.
1999-09-16 15:32:40 +00:00
Nick Clifton
59f2c4e703
Apply Philip Blundell's patch to prevent range checks on weak symbols.
1999-09-13 09:59:02 +00:00
Nick Clifton
ddda4409ce
fix bug in previous delta
1999-08-20 07:56:08 +00:00
Nick Clifton
98c1d4aab7
Fix partial REL relocs.
1999-08-19 10:12:28 +00:00
Nick Clifton
bcbdc74cb2
Fix interworking problems.
1999-08-12 08:37:15 +00:00
Nick Clifton
230801466a
Check for overflow on R_ARM_PC24 relocs.
1999-08-11 10:56:35 +00:00
Catherine Moore
d512aa072e
Correctly handle Vtentry relocs.
1999-07-30 15:09:54 +00:00
Ian Lance Taylor
5f771d47c7
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
...
as appropriate. Use EMPTY_HOWTO as appropriate. Fill in
structure initializations. Add casts.
* reloc.c (EMPTY_HOWTO): Define.
* bfd-in2.h: Rebuild.
* coff-h8300.c (h8300_reloc16_extra_cases): Remove useless
comparisons against 0.
* elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Change
previous_ibfd_e_flags to unsigned long.
* vms.h (struct vms_private_data_struct): Change section_count to
unsigned.
* vms-gsd.c (_bfd_vms_slurp_gsd): Change psect_idx to unsigned.
(_bfd_vms_write_gsd): Change symnum to unsigned.
* vms-hdr.c (_bfd_vms_write_hdr): Change symnum to unsigned.
* vms-tir.c (etir_sta): Change psect to unsigned.
(alloc_section): Change idx to unsigned.
(tir_sta, tir_ctl): Change psect to unsigned.
(_bfd_vms_write_tir): Change len and before to bfd_size_type.
* vms.c (priv_section_count): Change to unsigned.
1999-07-12 10:30:21 +00:00
Ian Lance Taylor
e049a0de5a
* Many files: Changes to avoid gcc warnings: Remove unused local
...
variables. Add default case to enum switches.
* coff-arm.c (bfd_arm_allocate_interworking_sections): Only
compile if not COFF_IMAGE_WITH_PE.
(record_arm_to_thumb_glue, record_thumb_to_arm_glue): Likewise.
(bfd_arm_get_bfd_for_interworking): Likewise.
(bfd_arm_process_before_allocation): Likewise.
* epoc-pei-arm.c: Don't rename bfd_arm functions.
* pei-arm.c: Likewise.
* elf32-mips.c (mips_elf_link_hash_table_create): Don't declare.
(MIPS_ELF_ADD_DYNAMIC_ENTRY): Correct last change.
(mips_elf_got16_entry): Put parens around & in body of ==.
(mips_elf_calculate_relocation): Correct test for empty string.
* vms-gsd.c: Use _bfd_error_handler rather than fprintf to
stderr.
* vms-misc.c (_bfd_vms_length_hash_symbol): Correct sprintf
format.
1999-07-12 07:35:20 +00:00
Mark Mitchell
5e38c3b856
* dwarf2.c (parse_comp_unit): Add ABBREV_LENGTH parameter.
...
(_bfd_dwarf2_find_nearest_line): Add ADDR_SIZE parameter.
* elf.c (_bfd_elf_find_nearest_line): Pass it.
* elf32-arm.h (elf32_arm_find_nearest_line): Likewise.
* elf32-mips.c (ABI_64_P): New macro.
(IRIX_COMPAT): We are IRIX6-compatible if ABI_64_P.
(_bfd_mips_elf_find_nearest_line): Adjust call to
_bfd_dwarf2_find_nearest_line.
* libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype.
* libbfd.h: Regenerated.
1999-07-02 21:03:56 +00:00
Nick Clifton
04f7c78d64
Define 'elf_backend_got_header_size' and 'elf_backend_plt_header_size'.
1999-06-30 02:30:04 +00:00
Nick Clifton
a72747a354
Patch from: Jim Pick <jim@jimpick.com>
...
Take note of 'no_undefined'.
1999-06-29 02:51:50 +00:00
Nick Clifton
dece465892
(ELF_MAXPAGESIZE): Default to 0x1000 not 1
1999-06-04 06:35:04 +00:00
Ulrich Drepper
f21f3fe0b8
Fix typo: change ELF_MAXPAGE_SIZE to ELF_MAXPAGESIZE.
1999-06-03 12:46:15 +00:00
Nick Clifton
2ef994e0d6
Philip Blundell <philb@gnu.org>
...
* elf32-arm.h (elf32_arm_relocate_section): Reinstate change of
1993-03-25 (!!). Take into account the bitmasks for the reloc so
the addend does not overflow into the rest of the word
1999-05-30 11:36:53 +00:00
Nick Clifton
ba96a88f08
Fix implementation of R_ARM_PC24 and R_ARM_THM_PC22 relocs to conform to spec.
1999-05-29 11:05:22 +00:00
Nick Clifton
780a67af1e
Applied patches from Philip Blundell <pb@nexus.co.uk>, to improve PIC support.
1999-05-26 08:27:38 +00:00
Nick Clifton
db65e864b3
1999-05-24 Philip Blundell <pb@nexus.co.uk>
...
* elf32-arm.h (elf32_arm_relocate_section): Undo change of
1999-03-25
1999-05-24 10:06:39 +00:00
Andreas Schwab
97eaf9de67
* elf32-arm.h (elf32_arm_relocate_section): Fix operator
...
precedence between bit-and and comparison.
1999-05-14 02:02:26 +00:00
Richard Henderson
252b5132c7
19990502 sourceware import
1999-05-03 07:29:11 +00:00