Alan Modra
beabab97f0
daily update
2005-10-18 00:00:06 +00:00
Alan Modra
df2ce3e5f9
daily update
2005-10-17 00:00:07 +00:00
Alan Modra
53a7c4cf13
daily update
2005-10-16 00:00:07 +00:00
H.J. Lu
66b920dc13
2005-10-15 H.J. Lu <hongjiu.lu@intel.com>
...
* coff-rs6000.c (rs6000coff_vec): Initialize
_bfd_match_sections_by_type with
_bfd_generic_match_sections_by_type.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.
2005-10-15 15:38:12 +00:00
H.J. Lu
ecca98713a
bfd/
...
2005-10-15 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1467
* elf-bfd.h (_bfd_elf_match_sections_by_type): New.
(_bfd_generic_match_sections_by_type): New. Defined.
* elf.c (_bfd_elf_match_sections_by_type): New.
* libbfd-in.h (_bfd_generic_match_sections_by_type): New.
* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.
* libbfd.c (_bfd_generic_match_sections_by_type): New.
* targets.c (BFD_JUMP_TABLE_LINK): Initialize
_bfd_match_sections_by_type with
_bfd_generic_match_sections_by_type.
(bfd_target): Add _bfd_match_sections_by_type.
ld/
2005-10-15 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1467
* emultempl/elf32.em: Include "elf-bfd.h".
(gld${EMULATION_NAME}_place_orphan): Check section type and
don't use section name for ELF input sections.
* ld.texinfo: Document orphan section processing.
* ldlang.c (lang_output_section_find_by_flags): Match section
types by calling bfd_match_sections_by_type.
2005-10-15 14:57:55 +00:00
Alan Modra
ff0929e51c
daily update
2005-10-15 00:00:05 +00:00
Alan Modra
ce80b210f3
daily update
2005-10-14 00:00:05 +00:00
Alan Modra
4454c32763
daily update
2005-10-13 00:00:07 +00:00
Alan Modra
9e691ad0b4
daily update
2005-10-12 00:00:05 +00:00
Alan Modra
7dd98ef00d
daily update
2005-10-11 00:00:05 +00:00
Alan Modra
aade0c975e
daily update
2005-10-10 00:00:05 +00:00
Alan Modra
d9d34a62bd
daily update
2005-10-09 00:00:04 +00:00
Paul Brook
ee065d83ee
2005-10-08 Paul Brook <paul@codesourcery.com>
...
bfd/
* elf32-arm.c: Move #include "elf/arm.h" after libbfd.h.
(NUM_KNOWN_ATTRIBUTES): Define.
(aeabi_attribute, aeabi_attribute_list): Define.
(elf32_arm_obj_tdata): Add known_eabi_attributes and
other_eabi_attributes.
(uleb128_size, is_default_attr, eabi_attr_size,
elf32_arm_eabi_attr_size, write_uleb128, write_eabi_attribute,
elf32_arm_set_eabi_attr_contents, elf32_arm_bfd_final_link,
elf32_arm_new_eabi_attr, attr_strdup, elf32_arm_add_eabi_attr_int,
elf32_arm_add_eabi_attr_compat, copy_eabi_attributes,
elf32_arm_merge_eabi_attributes): New functions.
(elf32_arm_copy_private_bfd_data): Copy EABI object attributes.
(elf32_arm_fake_sections): Handle .ARM.attributes.
(elf32_arm_parse_attributes): New function.
(elf32_arm_section_from_shdr): Use it.
(bfd_elf32_bfd_final_link): Define.
gas/
* config/tc-arm.c: Don't provide fallback default for CPU_DEFAULT.
(arm_arch_used, thumb_arch_used, selected_cpu, selected_cpu_name):
New variables.
(arm_cpu_option_table): Add canonical_name.
(arm_cpus): Populate canonical_name field.
(s_arm_eabi_attribute, s_arm_arch, s_arm_cpu, s_arm_fpu,
aeabi_set_public_attributes, arm_md_end): New functions.
(md_pseudo_table): Add "cpu", "arch", "fpu" and "eabi_attribute".
(md_assemble): Set thumb_arch_used and arm_arch_used.
(md_begin): Set defaut cpu if CPU_DEFAULT not defined.
* config/tc-arm.h (md_end): Define.
* doc/c-arm.texi: Document .cpu, .arch, .fpu and .eabi_attribute.
gas/testsuite/
* gas/arm/eabi_attr_1.s: New test.
* gas/arm/eabi_attr_1.d: New test.
* gas/arm/arm7t.d: Only disassemble code sections.
* gas/arm/bignum1.d: Ignore Arm object attribute sections.
* gas/arm/mapping.d: Ditto.
* gas/arm/unwind.d: Ditto.
* gas/elf/section0.d: Ditto.
* gas/elf/section1.d: Ditto.
* gas/elf/elf.exp: Set target_machine for Arm EABI based targets.
* gas/elf/section2.e-armeabi: New file.
include/elf/
* arm.h: Add prototypes for BFD object attribute routines.
ld/testsuite/
* ld-arm/arm-rel31.d: Ignore Arm object attribute sections.
* ld-arm/arm-target1-abs.d: Ditto.
* ld-arm/arm-target1-rel.d: Ditto.
* ld-arm/arm-target2-abs.d: Ditto.
* ld-arm/arm-target2-got-rel.d: Ditto.
* ld-arm/arm-target2-rel.d: Ditto.
2005-10-08 17:07:19 +00:00
Alan Modra
646d45ea7c
daily update
2005-10-08 00:00:06 +00:00
Alan Modra
13d59a6730
daily update
2005-10-07 00:00:07 +00:00
Daniel Jacobowitz
6edfbbad08
bfd/
...
* elf32-arm.c (elf32_arm_check_relocs): Avoid aliasing warnings from
GCC.
(elf32_arm_size_dynamic_sections): Likewise.
* ecofflink.c (bfd_ecoff_debug_one_external): Likewise.
* elf32-hppa.c (elf32_hppa_check_relocs): Likewise.
* elf32-m32r.c (m32r_elf_check_relocs): Likewise.
* elf32-m68k.c (elf_m68k_check_relocs): Likewise.
* elf32-ppc.c (ppc_elf_check_relocs): Likewise.
* elf32-s390.c (elf_s390_check_relocs): Likewise.
(elf_s390_size_dynamic_sections): Likewise.
* elf32-sh.c (sh_elf_check_relocs): Likewise.
* elf64-ppc.c (ppc64_elf_check_relocs, dec_dynrel_count)
(ppc64_elf_size_dynamic_sections): Likewise.
* elf64-s390.c (elf_s390_check_relocs): Likewise.
(elf_s390_size_dynamic_sections): Likewise.
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
(_bfd_sparc_elf_size_dynamic_sections): Likewise.
* ieee.c (ieee_slurp_section_data): Likewise.
* oasys.c (oasys_slurp_section_data): Likewise.
opcodes/
* ppc-dis.c (struct dis_private): Remove.
(powerpc_dialect): Avoid aliasing warnings.
(print_insn_big_powerpc, print_insn_little_powerpc): Likewise.
2005-10-06 19:21:14 +00:00
Alan Modra
af42c39620
daily update
2005-10-06 00:00:04 +00:00
Bob Wilson
1b74d0942e
* archive.c: Add missing SUBSECTION for documentation.
...
* bfd.c: Likewise.
* cache.c: Likewise.
* corefile.c: Likewise.
* format.c: Likewise.
* init.c: Likewise.
* libbfd.c: Likewise.
* opncls.c: Likewise.
* elf.c: Remove blank line after SECTION heading.
* reloc.c: Change "howto manager" SECTION to a SUBSECTION.
2005-10-05 21:24:23 +00:00
Alan Modra
339d060c74
daily update
2005-10-05 00:00:05 +00:00
Nick Clifton
bd4aae00cc
* elf32-arm.c (get_arm_elf_section_data): Cache the last pointer matched so
...
that the typical case of scanning for the previous section to last one can be
handled quickly.
2005-10-04 07:23:50 +00:00
Alan Modra
7981f521d7
daily update
2005-10-04 00:00:05 +00:00
Bob Wilson
d638e0acb3
* elf32-xtensa.c (relocations_reach): Skip range check for
...
absolute literals.
2005-10-03 21:49:17 +00:00
Alan Modra
65a7a66f3a
* elf.c (_bfd_elf_get_synthetic_symtab): Set BSF_GLOBAL on
...
synthetic syms.
2005-10-03 03:41:56 +00:00
Alan Modra
9698b410b6
daily update
2005-10-03 00:00:05 +00:00
Alan Modra
4b2e80a669
daily update
2005-10-01 00:00:08 +00:00
H.J. Lu
5d038dee61
2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
...
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
2005-09-30 18:38:50 +00:00
Catherine Moore
0f64bb0271
* Makefile.am: Bfin support.
...
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* archures.c (bfd_mach_bfin): New.
(bfd_arch_bfin): New.
bfd-in.h (bfd_bfin_elf32_create_embedded_relocs): New.
* bfd-in2.h: Regenerated.
* config.bfd: Bfin support.
* configure: Regenerated.
* configure.in: Bfin support.
* libbfd.h: Regenerated.
* reloc.c: Add BFD relocations for Bfin.
* targets.c (bfd_elf32_bfin_vec): New.
* cpu-bfin.c: New file.
* elf32-bfin.c: New file.
2005-09-30 15:36:41 +00:00
Alan Modra
7fe2b9a6a6
* elf64-ppc.c (ppc_type_of_stub): Check both func desc and func
...
entry sym before deciding no stub is needed.
(ppc64_elf_size_stubs): When calculating branch destination,
don't use func desc sym for old ABI objects unless func entry
is undefined.
2005-09-30 07:32:50 +00:00
Alan Modra
25a57766e5
daily update
2005-09-30 00:00:09 +00:00
Alan Modra
129be96543
daily update
2005-09-29 00:00:05 +00:00
H.J. Lu
dd86362472
2005-09-28 H.J. Lu <hongjiu.lu@intel.com>
...
PR binutils/1321
* elf-bfd.h (_bfd_elf_setup_group_pointers): Renamed to ...
(_bfd_elf_setup_sections): This.
* elf.c: Likewise.
* elfcode.h (elf_object_p): Likewise.
* elf.c (_bfd_elf_setup_sections): Process SHF_LINK_ORDER.
(_bfd_elf_copy_private_section_data): Likewise.
2005-09-28 14:53:24 +00:00
H.J. Lu
d33cdfe369
2005-09-28 H.J. Lu <hongjiu.lu@intel.com>
...
* elflink.c (elf_fixup_link_order): Report locations for mixed
ordered and unordered input sections.
2005-09-28 14:52:02 +00:00
Alan Modra
f4b7fbb680
daily update
2005-09-28 00:00:07 +00:00
Alan Modra
aa02dd0697
daily update
2005-09-27 00:00:08 +00:00
Alan Modra
42a102af06
daily update
2005-09-26 00:00:06 +00:00
Alan Modra
6d10c98d35
daily update
2005-09-25 00:00:06 +00:00
Alan Modra
03e4d05a17
daily update
2005-09-24 00:00:06 +00:00
Alan Modra
d785c76090
daily update
2005-09-23 00:00:06 +00:00
Jim Wilson
c955f9cdcb
Fix addr2line -i problem; reports incorrect function nesting for inline funcs.
...
* dwarf2.c (struct funcinfo): Delete nesting_level field.
(lookup_address_in_function_table): Delete code to set funcinfo
caller_func field. Delete local curr_func.
(scan_unit_for_symbols): New locals nested_funcs, nested_funcs_size.
Delete code setting funcinfo nesting_level field. Add code to set
funcinfo caller_func field.
2005-09-22 19:50:27 +00:00
Alan Modra
82b19eb91f
daily update
2005-09-22 00:00:07 +00:00
Alan Modra
f907fdb111
daily update
2005-09-21 00:00:06 +00:00
Jim Wilson
d5cbaa1554
Add mangled names to addr2line -i output.
...
* dwarf2.c (find_abstract_instance_name): Don't early exit when name
set. For DW_AT_name case, only set name if not already set. Handle
DW_AT_MIPS_linkage_name.
2005-09-20 18:13:32 +00:00
Alan Modra
8925ff82dd
daily update
2005-09-20 00:00:10 +00:00
Alan Modra
707bba77b5
* elflink.c (_bfd_elf_merge_symbol): Simplify.
2005-09-19 23:30:05 +00:00
Alan Modra
5c3dead3ce
* elf64-ppc.c (ppc_build_one_stub): Replace assertion that long
...
branch offset is in range with an error. Print full stub name on
errors.
(ppc_size_one_stub): Print full stub name on errors.
(group_sections): Warn if section size exceeds group size.
(ppc64_elf_size_stubs): Continue relaxing when stub types change.
2005-09-19 09:35:26 +00:00
Alan Modra
174a1c18e1
daily update
2005-09-19 00:00:07 +00:00
Alan Modra
158664d557
daily update
2005-09-18 00:00:08 +00:00
Alan Modra
4b9c52dc3f
daily update
2005-09-17 00:00:07 +00:00
Alan Modra
282f5edcf5
daily update
2005-09-16 00:00:16 +00:00
Alan Modra
918977321b
daily update
2005-09-15 00:00:07 +00:00