Alan Modra
fa0c152bd9
daily update
2008-10-14 00:00:04 +00:00
Alan Modra
20d22ef40b
daily update
2008-10-13 00:00:08 +00:00
Alan Modra
7022097db9
daily update
2008-10-12 00:00:05 +00:00
Alan Modra
f342ca8ffc
daily update
2008-10-11 00:00:10 +00:00
Nathan Froyd
f82e0623e1
include/elf/
...
* ppc.h: Add Tag_GNU_Power_ABI_Struct_Return.
bfd/
* elf32-ppc.c (ppc_elf_merge_obj_attributes): Merge
Tag_GNU_Power_ABI_Struct_Return.
binutils/
* readelf.c (display_power_gnu_attribute): Decode
Tag_GNU_Power_ABI_Struct_Return.
ld/testsuite/
* ld-powerpc/gnu-attr-12-1.s: New file.
* ld-powerpc/gnu-attr-12-2.s: New file.
* ld-powerpc/gnu-attr-12-11.d: New file.
* ld-powerpc/gnu-attr-12-21.d: New file.
* ld-powerpc/powerpc.exp: Run new dump tests.
2008-10-10 20:55:36 +00:00
Alan Modra
8611ee5267
daily update
2008-10-10 00:00:05 +00:00
Kai Tietz
d078078ddb
binutils/
...
2008-10-09 Kai Tietz <kai.tietz@onevision.com>
* dlltool.c (PAGE_SIZE): Make sure it has bfd_vma type.
(PAGE_MASK): Likewise.
(sfunc): Change to address size of bfd_vma for base-file.
(flush_page): Likewise.
(gen_exp_file): Likewise.
bfd/
2008-10-09 Kai Tietz <kai.tietz@onevision.com>
* cofflink.c (_bfd_coff_generic_relocate_section): Dump bfd_vma sized addresses instead of long sized.
2008-10-09 09:00:08 +00:00
Alan Modra
066ee829b9
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't attempt to
...
read plt relocs if no dynamic syms.
2008-10-09 00:55:52 +00:00
Alan Modra
0396d01779
daily update
2008-10-09 00:14:24 +00:00
Nick Clifton
8cc9115f57
* configure.in (ALL_LINGUAS): Add "id".
...
* configure: Regenerate.
* po/id.po: New Indonesian translation.
2008-10-08 15:58:26 +00:00
Alan Modra
aea274d3a7
* elf.c (assign_file_positions_for_load_sections): When checking
...
a segment for contents, don't assume that a non-TLS nobits section
must only be followed by nobits sections.
2008-10-08 08:30:27 +00:00
Alan Modra
b3155dbdb3
daily update
2008-10-06 23:07:36 +00:00
Alan Modra
38bea03724
daily update
2008-10-05 23:00:05 +00:00
Alan Modra
7a09ae5c89
daily update
2008-10-04 23:00:04 +00:00
Hans-Peter Nilsson
3926fc5473
* elf32-cris.c (TLSHOWTO32, TLSHOWTO16): New macros.
...
(cris_elf_howto_table): Add entries for R_CRIS_32_GOT_GD,
R_CRIS_16_GOT_GD, R_CRIS_32_GD, R_CRIS_DTP, R_CRIS_32_DTPREL,
R_CRIS_16_DTPREL, R_CRIS_DTPMOD, R_CRIS_32_GOT_TPREL,
R_CRIS_16_GOT_TPREL, R_CRIS_32_TPREL, R_CRIS_16_TPREL.
(cris_reloc_map): Similarly.
* reloc.c (bfd_reloc_code_type): Add entries for
BFD_RELOC_CRIS_32_GOT_GD, BFD_RELOC_CRIS_16_GOT_GD,
BFD_RELOC_CRIS_32_GD, BFD_RELOC_CRIS_DTP,
BFD_RELOC_CRIS_32_DTPREL, BFD_RELOC_CRIS_16_DTPREL,
BFD_RELOC_CRIS_DTPMOD, BFD_RELOC_CRIS_32_GOT_TPREL,
BFD_RELOC_CRIS_16_GOT_TPREL, BFD_RELOC_CRIS_32_TPREL,
BFD_RELOC_CRIS_16_TPREL.
* libbfd.h, bfd-in2.h: Regenerate.
2008-10-04 17:18:36 +00:00
Alan Modra
fd20c37f30
daily update
2008-10-04 00:00:06 +00:00
Alan Modra
e932ca37ad
add pr number for last commit
2008-10-03 10:09:51 +00:00
Alan Modra
bcacc0f587
bfd/
...
* elf.c (bfd_elf_set_group_contents): Assign sh_info for ld -r when
the signature symbol is global.
* elflink.c (elf_link_input_bfd): Ensure group signature symbol
is output when ld -r. Set group sh_info when local.
* linker.c (default_indirect_link_order): Handle group sections
specially.
ld/
* ldemul.c (ldemul_place_orphan): Add "name" param.
* ldemul.h (ldemul_place_orphan): Update prototype.
(struct ld_emulation_xfer_struct <place_orphan>): Likewise.
* ldlang.c (lang_place_orphans): Generate unique section names here..
* emultempl/elf32.em (place_orphan): ..rather than here. Don't
directly use an existing output section statement that has no
bfd section.
* emultempl/pe.em (place_orphan): Likewise.
* emultempl/pep.em (place_orphan): Likewise.
* emultempl/beos.em (place_orphan): Adjust.
* emultempl/spuelf.em (spu_place_special_section): Adjust
place_orphan call.
* emultempl/genelf.em (gld${EMULATION_NAME}_after_open): New function.
(LDEMUL_AFTER_OPEN): Define.
2008-10-03 09:40:49 +00:00
Alan Modra
f64aaff407
daily update
2008-10-03 00:00:05 +00:00
Alan Modra
6c0e74aac4
daily update
2008-10-02 00:00:05 +00:00
Alan Modra
c1ea295fc3
daily update
2008-10-01 00:00:07 +00:00
Nick Clifton
e144674af8
* coffgen.c (coff_write_symbols): Check to see if a symbol's flags
...
do not match it class and if necessary update the class.
(null_error_handler): New function. Suppresses the generation of
bfd error messages.
* coff64-rs6000.c (bfd_xcoff_backend_data): Update comment.
* config/tc-tic4x.c (tic4x_globl): Call S_SET_EXTERNAL as well as
S_SET_STORAGE_CLASS.
2008-09-30 10:50:03 +00:00
Alan Modra
782e11fd41
run "make dep-am"
2008-09-30 07:49:32 +00:00
Alan Modra
33177bb154
* elflink.c (elf_link_add_object_symbols): Don't ignore returned
...
value of check_directives.
2008-09-30 04:47:50 +00:00
Alan Modra
9b7bf91e70
daily update
2008-09-30 00:00:05 +00:00
Steve Ellcey
718a6fd816
* configure: Regenerate for new libtool.
...
* aclocal.m4: Ditto.
* Makefile.in: Ditto.
* doc/Makefile.in: Ditto.
2008-09-29 15:34:33 +00:00
Alan Modra
ceae84aacf
bfd/
...
PR 6789
* elf.c (assign_file_positions_for_load_sections): Call
_bfd_elf_map_sections_to_segments, not elf_modify_segment_map.
(get_program_header_size): Protect against NULL info.
(_bfd_elf_map_sections_to_segments): Likewise.
* elf32-spu.c (spu_elf_additional_program_headers): Likewise.
ld/testsuite/
* ld-elf/extract-symbol-1sec.d: Correct section lma.
2008-09-29 14:12:02 +00:00
Nick Clifton
afac680a76
* po/vi.po: Updated Vietnamese translation.
...
* po/fr.po: Updated French translation.
2008-09-29 09:48:31 +00:00
Alan Modra
6948ff7e01
daily update
2008-09-29 00:00:05 +00:00
Alan Modra
9659de1cb3
* elf.c (_bfd_elf_init_private_section_data): Tweak union copy.
...
(bfd_section_from_shdr): Don't change SHT_GROUP section name.
* elflink.c (section_signature): New function.
(_bfd_elf_section_already_linked): Use it.
2008-09-28 13:30:35 +00:00
Alan Modra
e7714d0e20
daily update
2008-09-28 00:00:05 +00:00
Alan Modra
392b5e2b04
daily update
2008-09-27 00:00:05 +00:00
Alan Modra
6e0ee67f86
daily update
2008-09-26 00:00:05 +00:00
Alan Modra
121a04390c
daily update
2008-09-25 00:00:06 +00:00
Alan Modra
9f5110a6ab
daily update
2008-09-24 00:00:06 +00:00
Alan Modra
cc9566afed
daily update
2008-09-23 00:00:07 +00:00
Alan Modra
4388767c3b
daily update
2008-09-22 00:00:05 +00:00
Alan Modra
be1df7f2c7
daily update
2008-09-21 00:00:05 +00:00
Alan Modra
d5026a7d6d
daily update
2008-09-20 00:00:05 +00:00
Alan Modra
e79f59555a
* elf32-ppc.c (ppc_elf_finish_dynamic_sections): Handle vxworks
...
_GLOBAL_OFFSET_TABLE_ in .got.plt section. Add BFD_ASSERTs.
2008-09-19 09:51:32 +00:00
Alan Modra
2a403edaa8
daily update
2008-09-19 00:00:05 +00:00
Bob Wilson
b45329f94a
* elf32-xtensa.c (elf_xtensa_check_relocs): Check for negative refcount.
2008-09-18 00:37:47 +00:00
Alan Modra
bf43e54522
daily update
2008-09-18 00:00:05 +00:00
Jan Kratochvil
2a7b2e88e3
bfd/
...
PR 6893 - Do not consider FDEs for discarded sections as invalid.
* elf-eh-frame.c (_bfd_elf_parse_eh_frame): New REQUIRE_CLEARED_RELOCS.
Consider FDEs with cleared relocations as valid and ignorable.
ld/testsuite/
* ld-elf/eh-group.exp, ld-elf/eh-group1.s, ld-elf/eh-group2.s: New test.
binutils/
Suppress warnings on NONE relocations to discarded sections.
* readelf.c (is_none_reloc): New function.
(debug_apply_relocations): Ignore is_none_reloc() relocations.
2008-09-17 07:50:29 +00:00
Alan Modra
1c4a0acdd3
daily update
2008-09-17 00:00:05 +00:00
H.J. Lu
0a36a439ee
bfd/
...
2008-09-16 H.J. Lu <hongjiu.lu@intel.com>
PR ld/6877
* elflink.c (_bfd_elf_merge_symbol): Allow a common symbol to
override the function in a shared library.
ld/testsuite/
2008-09-16 H.J. Lu <hongjiu.lu@intel.com>
PR ld/6877
* ld-elf/comm1.c: New.
* ld-elf/func1.c: Likewise.
* ld-elf/shared.exp: Add tests for libfunc1.so and comm1.
2008-09-16 14:09:34 +00:00
Alan Modra
e87d403811
PR 6844
...
* elf32-ppc.c (SYM_VAL): Define. Use throughout to find symbol vma.
(ppc_elf_relocate_section): Correct GOT offset calculation.
(ppc_elf_finish_dynamic_symbol): Use PPC_HA and PPC_LO.
(ppc_elf_finish_dynamic_sections): Likewise. Error if
htab->elf.hgot symbol is not defined in htab->got section.
2008-09-16 13:43:36 +00:00
Alan Modra
d02dc88c3d
daily update
2008-09-16 00:00:05 +00:00
Alan Modra
3b4f3a113f
PR 6888
...
* elf32-ppc.c (ppc_elf_relocate_section): Handle NULL symbol section
on R_PPC_TOC16, R_PPC_SDAREL16, R_PPC_EMB_SDA2REL, R_PPC_EMB_SDA21,
R_PPC_EMB_RELSDA, R_PPC_SECTOFF* relocs.
2008-09-15 23:41:55 +00:00
Alan Modra
c63c8ecb3c
daily update
2008-09-15 00:00:06 +00:00