Alan Modra
f6cf9273b3
bfd/
...
* opncls.c (bfd_openr_iovec): Add "stat" parameter.
(struct opncls): Add "stat" field.
(opncls_bstat): Call vec->stat.
* bfd-in2.h: Regenerate.
* elf32-spu.c (spu_elf_open_builtin_lib): Adjust.
gdb/
* spu-linux-nat.c (spu_bfd_iovec_stat): New function.
(spu_bfd_open): Adjust bfd_openr_iovec call.
2006-12-15 04:13:37 +00:00
Alan Modra
1d852beb77
daily update
2006-12-14 23:00:12 +00:00
Alan Modra
b0956e0152
* elf-bfd.h (struct bfd_elf_section_data): Clarify sec_group
...
and next_in_group usage.
2006-12-14 03:05:37 +00:00
Alan Modra
1fb41da414
PR 3704
...
* bfdio.c (bfd_bread): Don't read past end of archive elements.
2006-12-14 02:59:25 +00:00
Alan Modra
98cbf3a392
daily update
2006-12-13 23:00:05 +00:00
H.J. Lu
c205176132
Fix a typo.
2006-12-13 21:17:04 +00:00
Alan Modra
06604698b4
daily update
2006-12-12 23:00:08 +00:00
Daniel Jacobowitz
37d037c12d
bfd/
...
* doc/Makefile.am (bfd_TEXINFOS): Set.
(bfd.info bfd.dvi bfd.html): Delete rule.
* doc/Makefile.in: Regenerated.
gas/
* doc/Makefile.am (as_TEXINFOS): Set.
(as.info as.dvi as.html): Delete rule.
* doc/Makefile.in: Regenerated.
gprof/
* Makefile.am (gprof_TEXINFOS): Set.
(gprof.info gprof.dvi gprof.html): Delete rule.
* Makefile.in: Regenerated.
ld/
* Makefile.am (ld_TEXINFOS): Set.
(ld.info ld.dvi ld.html): Delete rule.
* Makefile.in: Regenerated.
2006-12-12 14:31:48 +00:00
Alan Modra
0a94ae59d9
daily update
2006-12-11 23:00:08 +00:00
Daniel Jacobowitz
d5fbea21a5
bfd/
...
* configure.in: Define GENINSRC_NEVER.
* doc/Makefile.am (bfd.info): Remove srcdir prefix.
(MAINTAINERCLEANFILES): Add info file.
(DISTCLEANFILES): Pretend to add info file.
* po/Make-in (.po.gmo): Put gmo files in objdir.
* configure, Makefile.in, doc/Makefile.in: Regenerated.
binutils/
* configure.in: Define GENINSRC_NEVER.
* doc/Makefile.am (MAINTAINERCLEANFILES): Add info file.
(DISTCLEANFILES): Pretend to add info file.
* po/Make-in (.po.gmo): Put gmo files in objdir.
* configure, Makefile.in, doc/Makefile.in: Regenerated.
gas/
* configure.in: Define GENINSRC_NEVER.
* doc/Makefile.am (as.info): Remove srcdir prefix.
(MAINTAINERCLEANFILES): Add info file.
(DISTCLEANFILES): Pretend to add info file.
* po/Make-in (.po.gmo): Put gmo files in objdir.
* configure, Makefile.in, doc/Makefile.in: Regenerated.
gprof/
* configure.in: Define GENINSRC_NEVER.
* doc/Makefile.am (gprof.info): Remove srcdir prefix.
(MAINTAINERCLEANFILES): Add info file.
(DISTCLEANFILES): Pretend to add info file.
* po/Make-in (.po.gmo): Put gmo files in objdir.
* configure, Makefile.in: Regenerated.
ld/
* configure.in: Define GENINSRC_NEVER.
* doc/Makefile.am (ld.info): Remove srcdir prefix.
(MAINTAINERCLEANFILES): Add info file.
(DISTCLEANFILES): Pretend to add info file.
* po/Make-in (.po.gmo): Put gmo files in objdir.
* configure, Makefile.in: Regenerated.
opcodes/
* po/Make-in (.po.gmo): Put gmo files in objdir.
2006-12-11 15:09:46 +00:00
Eric Botcazou
a48710b341
* elflink.c (bfd_elf_gc_sections): Also search for corresponding
...
sections with .gnu.linkonce.t. prefix.
2006-12-11 14:52:13 +00:00
Alan Modra
3b51f217f3
daily update
2006-12-10 23:00:07 +00:00
Alan Modra
f92f6f9ba2
daily update
2006-12-09 23:00:08 +00:00
Alan Modra
45a207368c
daily update
2006-12-08 23:00:06 +00:00
Alan Modra
6915b53399
daily update
2006-12-07 23:00:08 +00:00
Kazu Hirata
c694fd509c
bfd/
...
* elf32-m68k.c: Update uses of EF_M68K_*.
binutils/
* readelf.c: Update uses of EF_M68K_*.
gas/
* config/tc-m68k.c: Update uses of EF_M68K_*.
include/elf
* m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A_NODIV,
EF_M68K_ISA_A, EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B_NOUSP,
EF_M68K_ISA_B, EF_M68K_ISA_C, EF_M68K_MAC_MASK, EF_M68K_MAC,
EF_M68K_EMAC, EF_M68K_EMAC_B, EF_M68K_FLOAT): Rename to
EF_M68K_CF_ISA_MASK, EF_M68K_CF_ISA_A_NODIV, EF_M68K_CF_ISA_A,
EF_M68K_CF_ISA_A_PLUS, EF_M68K_CF_ISA_B_NOUSP,
EF_M68K_CF_ISA_B, EF_M68K_CF_ISA_C, EF_M68K_CF_MAC_MASK,
EF_M68K_CF_MAC, EF_M68K_CF_EMAC, EF_M68K_CF_EMAC_B,
EF_M68K_CF_FLOAT, respectively.
2006-12-07 15:39:02 +00:00
H.J. Lu
e5d080028d
bfd/
...
2006-12-07 H.J. Lu <hjl@gnu.org>
PR ld/3666
* elflink.c (elf_link_add_object_symbols): Keep symbol
visibility for symbols from discarded section.
ld/testsuite/
2006-12-07 H.J. Lu <hjl@gnu.org>
PR ld/3666
* ld-elf/group3a.d: New file.
* ld-elf/group3a.s: Likewise.
* ld-elf/group3b.d: Likewise.
* ld-elf/group3b.s: Likewise.
2006-12-07 13:32:02 +00:00
Alan Modra
b58c1539ac
daily update
2006-12-06 23:00:06 +00:00
Alan Modra
747ffa7b00
* elf64-alpha.c (elf64_alpha_merge_symbol_attribute): New function.
...
(elf_backend_merge_symbol_attribute): Define.
2006-12-06 07:25:29 +00:00
Alan Modra
2bb5b437d4
daily update
2006-12-05 23:00:08 +00:00
Alan Modra
6029d36813
daily update
2006-12-04 23:00:09 +00:00
Jan Beulich
eb3d5f3b94
bfd/
...
2006-12-04 Jan Beulich <jbeulich@novell.com>
* elflink.c (_bfd_elf_link_create_dynamic_sections): Don't create
.eh_frame_hdr section from here anymore.
(bfd_elf_size_dynamic_sections): Call _bfd_elf_maybe_strip_eh_frame_hdr
a little earlier.
ld/
2006-12-04 Jan Beulich <jbeulich@novell.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Create
.eh_frame_hdr section here.
ld/testsuite/
2006-12-04 Jan Beulich <jbeulich@novell.com>
* ld-elf/eh-frame-hdr.d: New.
* ld-elf/eh-frame-hdr.s: New.
* ld-ia64/tlsbin.dd, ld-ia64/tlsbin.sd: Don't depend on exact linkage
table layout.
2006-12-04 08:57:09 +00:00
Alan Modra
a0bf3e8a28
daily update
2006-12-03 23:00:08 +00:00
Alan Modra
ddae5004ad
daily update
2006-12-02 23:00:06 +00:00
Alan Modra
451bcc0a96
daily update
2006-12-01 23:00:09 +00:00
H.J. Lu
945c025aaf
2006-12-01 H.J. Lu <hongjiu.lu@intel.com>
...
PR binutils/3609
* elf.c (rewrite_elf_program_header): Preserve segment physical
address in the output segment if the first section in the
corresponding input segment is null.
2006-12-01 15:55:29 +00:00
Nick Clifton
55d55ac712
PR 3609
...
* elf.c (rewrite_elf_program_header): Do not use the first_section pointer if it is null.
2006-12-01 12:28:18 +00:00
Alan Modra
2621033b5d
daily update
2006-11-30 23:00:12 +00:00
Alan Modra
9ae0b229c8
daily update
2006-11-29 23:00:08 +00:00
Paul Brook
0eaedd0eb6
2006-11-29 Paul Brook <paul@codesourcery.com>
...
bfd/
* elf32-arm.c (elf32_arm_to_thumb_export_stub): Assert that output
section is present.
(allocate_dynrelocs): Only add export stub for symbols defined in
this object.
2006-11-29 17:40:29 +00:00
Paul Brook
004ae5266b
2006-11-29 Paul Brook <paul@codesourcery.com>
...
Julian Brown <julian@codesourcery.com>
bfd/
* elf32-arm.c (copy_eabi_attributes): Correct starting offset.
(elf32_arm_merge_eabi_attributes): Mark output as initialized.
Only set Tag_CPU_name and Tag_ABI_PCS_R9_use if input attribute
is present.
2006-11-29 15:50:06 +00:00
Alan Modra
3cbbd48c8a
daily update
2006-11-28 23:00:07 +00:00
Alan Modra
eb1a93576a
daily update
2006-11-27 23:00:08 +00:00
Bob Wilson
2caa7ca0aa
bfd/
...
* elf32-xtensa.c (elf_xtensa_special_sections): Add .xtensa.info.
gas/
* config/tc-xtensa.c (XSHAL_ABI): Add default definition.
(directive_state): Disable scheduling by default.
(xtensa_add_config_info): New.
(xtensa_end): Call xtensa_add_config_info.
gas/testsuite/
* gas/elf/section2.e-xtensa: New file.
* gas/elf/elf.exp: Use it.
include/
* xtensa-config.h (XSHAL_ABI): New.
(XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New.
ld/
* emultempl/xtensaelf.em (XSHAL_ABI): Add default definition.
(replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags.
Delete redundant code to set sections flags and alignment.
(xt_config_info_unpack_and_check, check_xtensa_info): New.
(elf_xtensa_after_open): Iterate over input statements instead of
link_info.input_bfds.
(elf_xtensa_before_allocation): Likewise. Call check_xtensa_info for
each input, and write a new .xtensa.info section in the output.
2006-11-27 20:14:53 +00:00
Alan Modra
11ad3c50b3
daily update
2006-11-26 23:00:07 +00:00
Alan Modra
281e524f11
daily update
2006-11-25 23:00:08 +00:00
H.J. Lu
9f17e2a6cd
2006-11-24 H.J. Lu <hongjiu.lu@intel.com>
...
* elf.c (IS_SECTION_IN_INPUT_SEGMENT): New.
(INCLUDE_SECTION_IN_SEGMENT): Use IS_SECTION_IN_INPUT_SEGMENT.
(rewrite_elf_program_header): Don't preserve segment physical
address in the output segment if the first section in the
corresponding input segment is removed.
2006-11-25 00:38:14 +00:00
Alan Modra
486ca4a420
daily update
2006-11-24 23:00:05 +00:00
Alan Modra
cdc276993b
daily update
2006-11-23 23:00:06 +00:00
Alan Modra
666571e8fe
daily update
2006-11-22 23:00:06 +00:00
Alan Modra
833fb04eb8
* pef.c (bfd_pef_make_empty_symbol): Delete function. Define instead.
...
* xsym.c (bfd_sym_make_empty_symbol): Likewise.
* xsym.h (bfd_sym_make_empty_symbol): Delete.
2006-11-22 03:33:51 +00:00
Greg McGary
4fe5ca5b13
* elf32-ppc.c (ppc_elf_relocate_section): Fixup D field
...
at proper offset in little-endian mode.
* elf64-ppc.c (ppc_elf_relocate_section): Likewise.
2006-11-22 00:12:30 +00:00
Alan Modra
19a3a98b69
daily update
2006-11-21 23:00:07 +00:00
Jakub Jelinek
bce613b9bf
* elf-eh-frame.c (struct cie): New type.
...
(cie_compare): Removed.
(cie_eq, cie_hash, cie_compute_hash): New functions.
(_bfd_elf_discard_section_eh_frame): Rewrite not to rely on FDEs
pointing only to last CIE and allow merging of any duplicate CIEs,
not just duplicate consecutive CIEs.
(_bfd_elf_discard_section_eh_frame_hdr): Delete cies hash table.
* elf-bfd.h (struct cie_header, struct cie): Removed.
(struct eh_frame_sec_info): Remove alloced field.
(struct eh_frame_hdr_info): Remove last_cie, last_cie_sec
and last_cie_inf fields. Add cies field.
* ld-elf/eh5.d: New test.
* ld-elf/eh5.s: New file.
* ld-elf/eh5a.s: New file.
* ld-elf/eh5b.s: New file.
2006-11-21 11:25:17 +00:00
Alan Modra
344b021b85
daily update
2006-11-20 23:00:07 +00:00
Alan Modra
74633dd074
* bfd-in.h (struct stat): Don't typedef.
...
* bfdio.c (bfd_get_size): Return a file_ptr.
* cisco-core.c (cisco_core_file_validate): Use bfd_size_type for nread.
* mmo.c (mmo_scan): Use file_ptr for curpos.
* trad-core.c (trad_unix_core): Don't cast statbuf.st_size to
unsigned long.
* bfd-in2.h: Regenerate.
2006-11-20 02:09:56 +00:00
Alan Modra
98f0b6ab8c
PR 3532
...
* bfd-in.h (struct bfd_hash_table): Reorganize. Add "frozen".
* hash.c (bfd_hash_table_init_n): Init frozen.
(bfd_hash_lookup): Don't grow if frozen.
(bfd_hash_traverse): Freeze hash table during traversal.
* bfd-in2.h: Regenerate.
2006-11-20 01:38:38 +00:00
Alan Modra
478a2350ed
daily update
2006-11-19 23:00:07 +00:00
Alan Modra
7f762562fe
daily update
2006-11-18 23:00:06 +00:00
Alan Modra
3218c4ac02
daily update
2006-11-17 23:00:08 +00:00