Alan Modra
470e0e5f84
daily update
2007-08-10 00:00:07 +00:00
Michael Snyder
6b8f0fd579
2007-08-09 Michael Snyder <msnyder@access-company.com>
...
* aoutx.h (aout_get_external_symbols): Return if count is zero.
2007-08-09 23:14:55 +00:00
H.J. Lu
6d33f2176c
2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
...
PR ld/4909
* elf.c (print_segment_map): New function.
(assign_file_positions_for_load_sections): Call print_segment_map
when a section can't be allocated in segment.
2007-08-09 23:13:41 +00:00
Jan Kratochvil
c309eac207
* opncls.c (bfd_openr_iovec): Fix the OPEN parameter macro expansion.
2007-08-09 14:22:03 +00:00
Alan Modra
4969ffd9c9
daily update
2007-08-09 00:00:06 +00:00
Alan Modra
48219bd292
daily update
2007-08-08 00:00:06 +00:00
Nick Clifton
e6902efc9c
* po/bfd.pot: Updated template.
...
* po/BLD-POTFILES.in: Regenerate.
2007-08-07 11:01:42 +00:00
Alan Modra
817c2f79fd
daily update
2007-08-07 00:00:05 +00:00
Alan Modra
d5191d0cd4
* elf.c: (_bfd_elf_make_section_from_phdr): Properly handle
...
bss segments.
2007-08-06 22:53:27 +00:00
Daniel Jacobowitz
5eda1c47e4
* Makefile.am (BUILD_HFILES): Clean bfd_stdint.h.
...
* Makefile.in: Regenerated.
2007-08-06 20:53:29 +00:00
Daniel Jacobowitz
be118e79ae
* configure.in: Update version to 2.18.50.
...
* configure: Regenerated.
2007-08-06 20:13:48 +00:00
Daniel Jacobowitz
bd97cb95f8
2007-08-06 Paul Brook <paul@codesourcery.com>
...
* elf32-arm.c (elf32_arm_link_hash_entry): Add
plt_maybe_thumb_refcount.
(elf32_arm_link_hash_newfunc): Set plt_maybe_thumb_refcount.
(elf32_arm_copy_indirect_symbol): Ditto.
(elf32_arm_adjust_dynamic_symbol): Ditto.
(bfd_elf32_arm_process_before_allocation): Handle R_ARM_THM_JUMP24.
(arm_add_to_rel): Ditto.
(elf32_arm_final_link_relocate): Merge R_ARM_THM_JUMP24 with
R_ARM_THM_CALL. Handle R_ARM_THM_JUMP19 against a PLT stub.
(elf32_arm_gc_sweep_hook): Call check_use_blx. Update plt counts
for R_ARM_THM_JUMP24 and R_ARM_THM_JUMP19.
(elf32_arm_check_relocs): Update plt counts for R_ARM_THM_JUMP24
and R_ARM_THM_JUMP19.
(allocate_dynrelocs): Use plt_maybe_thumb_refcount.
(elf32_arm_finish_dynamic_symbol): Ditto.
(elf32_arm_output_plt_map): Ditto.
2007-08-06 18:47:21 +00:00
Daniel Jacobowitz
c981028a3f
* elf.c (rewrite_elf_program_header): Handle sections not sorted
...
by address.
(copy_elf_program_header): Likewise.
2007-08-06 18:35:18 +00:00
Alan Modra
6278344fb5
daily update
2007-08-06 00:00:05 +00:00
Alan Modra
ef18b5a26a
daily update
2007-08-05 00:00:06 +00:00
H.J. Lu
f7231afc19
2007-08-04 H.J. Lu <hongjiu.lu@intel.com>
...
* elf-bfd.h (xvec_get_elf_backend_data): Add const.
* elfcode.h (elf_object_p): Use xvec_get_elf_backend_data.
* elfcore.h (elf_core_file_p): Likewise.
2007-08-04 16:31:00 +00:00
Alan Modra
49ff476a98
daily update
2007-08-04 00:00:05 +00:00
Alan Modra
551a778a37
daily update
2007-08-03 00:00:04 +00:00
H.J. Lu
bd33be6e27
bfd/
...
2007-08-02 H.J. Lu <hongjiu.lu@intel.com>
* coffcode.h (ALIGN_SET): Removed.
(ELIFALIGN_SET): Likewise.
(coff_set_alignment_hook): Handle IMAGE_SCN_ALIGN_128BYTES,
IMAGE_SCN_ALIGN_256BYTES, IMAGE_SCN_ALIGN_512BYTES,
IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_2048BYTES,
IMAGE_SCN_ALIGN_4096BYTES and IMAGE_SCN_ALIGN_8192BYTES.
include/coff/
2007-08-02 H.J. Lu <hongjiu.lu@intel.com>
* pe.h (IMAGE_SCN_ALIGN_POWER_BIT_POS): New.
(IMAGE_SCN_ALIGN_POWER_BIT_MASK): Likewise.
(IMAGE_SCN_ALIGN_POWER_NUM): Likewise.
(IMAGE_SCN_ALIGN_POWER_CONST): Likewise.
(IMAGE_SCN_ALIGN_128BYTES): Likewise.
(IMAGE_SCN_ALIGN_256BYTES): Likewise.
(IMAGE_SCN_ALIGN_512BYTES): Likewise.
(IMAGE_SCN_ALIGN_1024BYTES): Likewise.
(IMAGE_SCN_ALIGN_2048BYTES): Likewise.
(IMAGE_SCN_ALIGN_4096BYTES): Likewise.
(IMAGE_SCN_ALIGN_8192BYTES): Likewise.
(IMAGE_SCN_ALIGN_1BYTES): Redefined with
IMAGE_SCN_ALIGN_POWER_CONST.
(IMAGE_SCN_ALIGN_2BYTES): Likewise.
(IMAGE_SCN_ALIGN_4BYTES): Likewise.
(IMAGE_SCN_ALIGN_8BYTES): Likewise.
(IMAGE_SCN_ALIGN_16BYTES): Likewise.
(IMAGE_SCN_ALIGN_32BYTES): Likewise.
(IMAGE_SCN_ALIGN_64BYTES): Likewise.
2007-08-02 16:02:01 +00:00
Alan Modra
b49412aab8
daily update
2007-08-02 00:00:05 +00:00
Michael Snyder
9b0ec667bc
2007-08-01 Michael Snyder <msnyder@access-company.com>
...
* vms-tir.c (new_section): Fix cut and paste error.
2007-08-01 20:06:05 +00:00
Michael Snyder
20c6e70e8d
2007-08-01 Michael Snyder <msnyder@access-company.com>
...
* aoutx.h (aout_link_add_symbols): Return if count is zero.
2007-08-01 19:58:40 +00:00
Michael Snyder
dcf6c77984
2007-08-01 Michael Snyder <msnyder@access-company.com>
...
* elf.c (bfd_elf_print_symbol): Macro dereferences pointer, so
pointer must be non-null.
2007-08-01 19:55:10 +00:00
Nick Clifton
e708816d5a
* coffcode.h (coff_sort_func_alent): New function.
...
(coff_slurp_line_table): Sort line table if not already sorted.
2007-08-01 16:55:54 +00:00
Jakub Jelinek
55b581a678
* elf.c (_bfd_elf_map_sections_to_segments): Work around buggy
...
GCC 3.4.x warning.
2007-08-01 08:57:23 +00:00
Alan Modra
ad756e3f9e
* aoutx.h (swap_ext_reloc_in): Set howto to NULL for unknown
...
r_type.
(swap_std_reloc_in): Likewise.
(aout_link_input_section_std): Likewise. Return with an error
on unexpected relocation type.
(aout_link_input_section_ext): Likewise.
2007-08-01 07:50:16 +00:00
Alan Modra
f6e688f76b
PR4694
...
* aoutx.h (final_link): Write a zero in first word of
stringtab if no symbols rather than corrupting last byte
of text/data.
2007-08-01 07:43:36 +00:00
Alan Modra
32d188a6f6
daily update
2007-08-01 00:00:06 +00:00
Jakub Jelinek
1c5265b57d
* elf.c (get_program_header_size): Adjacent loadable .note*
...
sections need just one PT_NOTE segment.
(_bfd_elf_map_sections_to_segments): Likewise.
2007-07-31 08:15:44 +00:00
Michael Snyder
9ee2139f60
2007-07-30 Michael Snyder <msnyder@access-company.com>
...
* coffgen.c (_bfd_coff_read_internal_relocs): Revert change of
2007-07-26. Buffer still in use, can't be freed.
2007-07-31 03:53:24 +00:00
Alan Modra
11fd5315ac
daily update
2007-07-31 00:00:06 +00:00
Alan Modra
16ba7cd086
daily update
2007-07-30 00:00:05 +00:00
Alan Modra
89916163cd
daily update
2007-07-29 00:00:06 +00:00
Alan Modra
888107e419
daily update
2007-07-28 00:00:05 +00:00
Michael Snyder
d63388ff70
2007-07-27 Michael Snyder <msnyder@access-company.com>
...
* cofflink.c (coff_link_add_symbols): Return if count is zero.
2007-07-27 22:04:23 +00:00
Michael Snyder
50a39e971e
2007-07-27 Michael Snyder <msnyder@access-company.com>
...
* coff-i386.c (coff_i386_rtype_to_howto): Off by one error.
2007-07-27 21:23:01 +00:00
Michael Snyder
87b3278031
2007-07-27 Michael Snyder <msnyder@access-company.com>
...
* aoutx.h (slurp_symbol_table): Return if count == 0.
2007-07-27 19:04:39 +00:00
Michael Snyder
9d7038d330
2007-07-27 Michael Snyder <msnyder@access-company.com>
...
* coffgen.c (_bfd_coff_read_internal_relocs): Return if count is zero.
2007-07-27 18:54:04 +00:00
Michael Snyder
c6aa130f78
2007-07-27 Michael Snyder <msnyder@access-company.com>
...
* elf32-i386.c (elf_i386_check_relocs): Check for null pointer.
2007-07-27 18:50:18 +00:00
H.J. Lu
170bfeb9d3
2007-07-27 H.J. Lu <hongjiu.lu@intel.com>
...
* config.bfd (x86_64-*-mingw*): Don't include x86_64coff_vec.
2007-07-27 13:26:44 +00:00
Michael Snyder
507f589808
2007-07-26 Michael Snyder <msnyder@access-company.com>
...
* coff-i386.c (coff_i386_rtype_to_howto): Guard against null.
2007-07-27 01:15:27 +00:00
Michael Snyder
a6626e8c30
2007-07-26 Michael Snyder <msnyder@svkmacdonelllnx>
...
* linker.c (bfd_section_already_linked_table_insert): Change
return type from void to boolean. Return FALSE on failure.
(_bfd_generic_section_already_linked): Test return value of
bfd_section_already_linked_table_insert, call fatal on error.
* elflink.c (_bfd_elf_section_already_linked): Test return value
of bfd_section_already_linked_table_insert, call fatal on error.
* libbfd-in.h (bfd_section_already_linked_table_insert): Update
return type to bfd_boolean.
* libbfd.h: Regenerate.
2007-07-27 01:04:29 +00:00
Adam Nemet
36e44abdc2
* archive.c (do_slurp_bsd_armap, do_slurp_coff_armap,
...
bfd_slurp_armap): Improve function comment.
2007-07-27 00:49:06 +00:00
Alan Modra
4ccbd2de24
daily update
2007-07-27 00:00:06 +00:00
Michael Snyder
5ba8816a2d
Fix bollixed check-in
2007-07-26 21:58:44 +00:00
Michael Snyder
2d4f3e92ff
2007-07-26 Michael Snyder <msnyder@access-company.com>
...
* linker.c (already_linked_newfunc): Check for NULL return from
bfd_hash_allocate.
2007-07-26 21:53:35 +00:00
Michael Snyder
ac38308c95
2007-07-26 Michael Snyder <msnyder@access-company.com>
...
* coffgen.c (fixup_symbol_value): Guard against null;
bfd_is_com_section will dereference the section pointer.
2007-07-26 19:06:12 +00:00
Michael Snyder
c82a7c57df
2007-07-26 Michael Snyder <msnyder@access-company.com>
...
* syms.c (bfd_decode_symclass): Guard against NULL, since
bfd_is_com_section dereferences the pointer.
2007-07-26 18:53:51 +00:00
Michael Snyder
3d7b34d85b
2007-07-26 Michael Snyder <msnyder@access-company.com>
...
* srec.c (srec_scan): Check for EOF (critical because return value
will be used as array index).
2007-07-26 18:45:13 +00:00
Michael Snyder
44c62d9e24
2007-07-26 Michael Snyder <msnyder@access-company.com>
...
* coffgen.c (_bfd_coff_read_internal_relocs): If internal_relocs
are not to be cached, free the temporary buffer.
2007-07-26 18:43:24 +00:00