Alan Modra
7c39fb20ea
* elf32-spu.c (needs_ovl_stub): Correctly return nonovl_stub for
...
non-branch insns.
2008-06-19 16:16:58 +00:00
Alan Modra
f3c29e8aee
* elf32-spu.c (build_stub): Allow wraparound on stub branches.
...
(allocate_spuear_stubs, build_spuear_stubs): Return value from
count_stub/build_stub.
(spu_elf_build_stubs): Correct location of stub reloc error message.
2008-06-19 16:14:15 +00:00
Alan Modra
61daf88db1
daily update
2008-06-19 00:00:05 +00:00
M R Swami Reddy
de73c6116d
elf32-cr16.c (ELF_MACHINE_ALT1): Define to EM_CR16_OLD.
2008-06-18 11:12:54 +00:00
M R Swami Reddy
1e1d9f39ae
elf32-cr16.c (ELF_MACHINE_ALT1): Define to EM_CR16_OLD.
2008-06-18 11:08:19 +00:00
Alan Modra
00a286e012
daily update
2008-06-18 00:00:05 +00:00
Ralf Wildenhues
7a283e077b
* configure: Regenerate.
...
config/
* override.m4: Use m4_version_prereq throughout.
(_AC_ARG_VAR_VALIDATE, AC_MSG_FAILURE): Backport from git
Autoconf: output pwd along with fatal errors, so the right
config.log file is hinted at more prominently.
(PARSE_ARGS): Push setting of ac_pwd in this diversion.
(_GCC_AUTOCONF_VERSION): New, define to 2.59 if not defined.
(_GCC_AUTOCONF_VERSION_CHECK): New macro, require use of Autoconf
version _GCC_AUTOCONF_VERSION throughout the tree.
(m4_wrap): New override, fix for Posix semantics of m4wrap.
binutils/
* configure: Regenerate.
opcodes/
* configure: Regenerate.
bfd/
* configure: Regenerate.
gas/
* configure: Regenerate.
gprof/
* configure: Regenerate.
ld/
* config.in: Regenerate.
* configure: Regenerate.
2008-06-17 23:14:44 +00:00
Alan Modra
09500eca64
daily update
2008-06-17 00:00:05 +00:00
Alan Modra
99302af9a2
bfd/
...
* elf32-spu.c (struct spu_link_hash_table): Add extra_stack_space.
(spu_elf_check_vma): Add extra_stack_space param, copy to htab.
(spu_elf_auto_overlay): Use it.
(RECURSE_UNMARK): Define as 0.
(unmark_overlay_section): Heed RECURSE_UNMARK.
* elf32-spu.h (spu_elf_check_vma): Update prototype.
ld/
* emultempl/spuelf.em (extra_stack_space): New variable.
(gld${EMULATION_NAME}_finish): Pass it to spu_elf_check_vma.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
PARSE_AND_LIST_ARGS_CASES): Handle --extra-stack-space.
* emultempl/spu_ovl.S: Mask interrupts during dma and update of
overlay manager structures.
* emultempl/spu_ovl.o: Regenerate.
2008-06-16 16:16:31 +00:00
Alan Modra
c4fbee410b
daily update
2008-06-16 00:00:05 +00:00
Alan Modra
dea206f512
daily update
2008-06-15 00:00:05 +00:00
Alan Modra
3d45c43596
daily update
2008-06-14 00:00:05 +00:00
Alan Modra
10b0b322be
daily update
2008-06-13 00:00:05 +00:00
DJ Delorie
ff7eeb894e
* common.h (EM_M32C_NEW): Rename to EM_M32C.
...
(EM_M32C): Rename to EM_M32C_OLD.
* elf32-m32c.c (ELF_MACHINE_ALT1): Define as EM_M32C_OLD.
* readelf.c (guess_is_rela): Add EM_M32C_OLD.
(dump_relocations): Likewise.
(process_section_headers): Likewise.
(is_32bit_abs_reloc): Likewise.
(is_16bit_abs_reloc): Likewise.
2008-06-12 19:49:48 +00:00
Alan Modra
f45c4fa2c6
daily update
2008-06-12 00:00:05 +00:00
Alan Modra
06c74433a7
daily update
2008-06-11 00:00:06 +00:00
Alan Modra
ceb1cb7f3d
daily update
2008-06-10 00:00:05 +00:00
Paul Brook
c13bb2ea03
2008-06-09 Paul Brook <paul@codesourcery.com>
...
bfd/
* elf32-arm.c (elf32_arm_merge_private_bfd_data): Allow BE8 shared
libraries.
2008-06-09 15:19:52 +00:00
Daniel Jacobowitz
f4ac848464
2008-06-03 Christophe Lyon <christophe.lyon@st.com>
...
bfd/
* elf32-arm.c (arm_stub_is_thumb): Define.
(elf32_arm_final_link_relocate): Handle near mode switching stubs.
ld/testsuite/
* ld-arm/farcall-thumb-thumb-m.d: Fix branch type.
* ld-arm/farcall-thumb-arm.d: Likewise.
2008-06-09 14:53:13 +00:00
Alan Modra
8f4e019755
daily update
2008-06-09 00:00:05 +00:00
Alan Modra
cb60bdc1b1
daily update
2008-06-08 00:00:06 +00:00
Alan Modra
6a26771553
* elf32-spu.c (spu_elf_auto_overlay): Add valid area below sp
...
to stack calculation.
2008-06-07 12:02:47 +00:00
Alan Modra
bf37b8e812
daily update
2008-06-07 00:00:05 +00:00
Paul Brook
23684067ca
2008-06-06 Paul Brook <paul@codesourcery.com>
...
bfd/
* elf32-arm.c (elf32_arm_merge_private_bfd_data): Reject BE8 input.
2008-06-06 23:20:48 +00:00
Alan Modra
97407faf3d
include/
...
* bfdlink.h (struct bfd_link_info): Add "path_separator".
bfd/
* elf32-spu.c (spu_elf_auto_overlay): Relax requirement that
file names be unique. Specify archive:path in overlay script.
ld/
* ldlang.c (name_match): New function.
(unique_section_p, walk_wild_consider_section): Use it here.
(walk_wild_section_general): And here.
(archive_path): New function.
(walk_wild): Match archive:path filespecs.
(open_input_bfds): Don't load archive:path files.
* emultempl/spuelf.em (choose_target): Set path_separator.
* emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output.
2008-06-06 06:02:00 +00:00
Alan Modra
4636d79789
daily update
2008-06-06 00:00:04 +00:00
Alan Modra
7cfbafbcb4
PR ld/6590
...
* elf64-ppc.c (ppc_build_one_stub): Correct reloc offsets.
2008-06-05 00:30:09 +00:00
Alan Modra
0111ea7065
daily update
2008-06-05 00:00:06 +00:00
Alan Modra
0f0a5e5880
* elf.c (ignore_section_sym): Don't test section sym value here.
...
(elf_map_symbols): Instead check zero value here as was done prior
to 2006-05-26 change.
2008-06-04 14:24:05 +00:00
Nick Clifton
696b7ad299
PR ld/6019
...
* elf32-avr.c (elf32_avr_relax_section): Handle the case where
there are no local symbols.
2008-06-04 09:59:08 +00:00
Alan Modra
1f27ab8de1
* elf32-spu.c (get_sym_h): Don't attempt to read global syms.
...
(process_stubs): Likewise.
(discover_functions): Don't used cached symbols.
(maybe_insert_function): Correct condition under which function
array is realloc'd.
(mark_functions_via_relocs): Delete unused variable.
2008-06-04 07:07:19 +00:00
Alan Modra
81c41e7378
daily update
2008-06-04 00:00:05 +00:00
Alan Modra
bdac03e477
daily update
2008-06-03 00:00:05 +00:00
Alan Modra
29d070cc57
daily update
2008-06-02 00:00:05 +00:00
Alan Modra
0def9f42e1
daily update
2008-06-01 00:00:05 +00:00
Alan Modra
942dc83a61
daily update
2008-05-31 00:00:05 +00:00
Nick Clifton
adfef0bd47
PR ld/6511
...
* elf64-hppa.c (allocate_global_data_opd): Default to using the
dynamic symbol table for local function names in shared libraries.
2008-05-30 16:13:53 +00:00
Alan Modra
4199b5c406
daily update
2008-05-30 00:00:04 +00:00
Jan Kratochvil
11701589a8
bfd/
...
* elf.c (assign_file_positions_for_load_sections): Adjust pre-section
gaps based on VMA and P_VADDR instead of LMA and P_PADDR addresses.
binutils/testsuite/
* binutils-all/objcopy.exp: Call KEEP_DEBUG_SYMBOLS_AND_TEST_COPY.
(keep_debug_symbols_and_test_copy): New function.
(test5, test6): New variables.
2008-05-29 07:07:21 +00:00
Alan Modra
1aafe37a59
daily update
2008-05-29 00:00:05 +00:00
Alan Modra
124b52c6d8
* elf32-spu.c (spu_elf_object_p): New function.
...
(elf_backend_object_p): Define.
(build_stub): Correct second word of 8 byte overlay stubs.
(spu_elf_relocate_section): Formatting.
2008-05-28 08:15:27 +00:00
Alan Modra
ec386385a6
daily update
2008-05-28 00:00:05 +00:00
Alan Modra
89f4b705cd
daily update
2008-05-27 00:00:05 +00:00
Alan Modra
6860177f5d
daily update
2008-05-26 00:00:05 +00:00
Alan Modra
fa3c17ae4b
daily update
2008-05-25 00:00:06 +00:00
Carlos Eduardo Seo
bb864ac122
* elf.c (elfcore_write_register_note): New function.
...
* elf-bfd.h (elfcore_write_register_note): New prototype.
2008-05-24 16:14:59 +00:00
Alan Modra
f773c2d3dd
daily update
2008-05-24 00:00:05 +00:00
Nick Clifton
da5938a216
bfd/
...
* elf32-arm.c (arm_type_of_stub): Ignore STT_SECTION symbols.
(elf32_arm_stub_add_mapping_symbol): Remove.
(elf32_arm_add_stub): Don't generate mapping symbols. Change
prototype.
(elf32_arm_size_stubs): Use new elf32_arm_add_stub
prototype. Don't generate thumb to arm glue for calls.
(arm_map_one_stub): Define.
(elf32_arm_output_arch_local_syms): Generate mapping symbols for
long calls stubs.
ld/testsuite/
* ld-arm/farcall-arm-arm.s: Force function type on 'bar'.
* ld-arm/farcall-thumb-arm.s: Likewise.
* ld-arm/farcall-thumb-arm-blx.d: Fix encoding.
* ld-arm/farcall-thumb-arm.d: Likewise.
* ld-arm/farcall-thumb-arm-blx-pic-veneer.d: Likewise.
* ld-arm/arm-elf.exp (armelftests): Add farcall-mix, farcall-mix2,
farcall-group-default, farcall-group-size2, farcall-section Ignore
gas warnings in farcall-thumb-arm, farcall-thumb-arm-blx,
farcall-thumb-arm-blx-pic-veneer.
2008-05-23 13:53:27 +00:00
Alan Modra
19d63e75ac
daily update
2008-05-23 00:00:05 +00:00
Alan Modra
7d2d98888a
daily update
2008-05-22 00:00:05 +00:00