Alan Modra
b79ba8cc08
daily update
2011-11-25 23:00:05 +00:00
Alan Modra
2b6cca2116
daily update
2011-11-24 23:00:06 +00:00
Alan Modra
b738779eb5
daily update
2011-11-23 23:00:06 +00:00
Tristan Gingold
91ea3caed7
2011-11-23 Tristan Gingold <gingold@adacore.com>
...
* vms-lib.c (get_idxlen): Add comments. Fix type in sizeof.
(vms_write_index): Add comments.
2011-11-23 11:22:22 +00:00
Alan Modra
1a55f63e72
daily update
2011-11-22 23:00:04 +00:00
DJ Delorie
fc87b9e825
* elf32-rx.c (rx_elf_object_p): Add more checks for "scanning" to
...
avoid using the special non-swapping target when not explicitly
requested.
2011-11-22 19:50:36 +00:00
DJ Delorie
c52bd2321a
* elf32-rx.c (rx_elf_object_p): Correct typo: lma->vma.
2011-11-22 19:46:20 +00:00
Tristan Gingold
e0ce100545
2011-11-22 Tristan Gingold <gingold@adacore.com>
...
* mach-o.c (bfd_mach_o_print_symbol): Display COM for common
symbols. Print section name in brackets.
2011-11-22 10:47:50 +00:00
Alan Modra
1143ec137d
daily update
2011-11-21 23:00:05 +00:00
Alan Modra
7b8e7dad71
* config.bfd: Add vectors for powerpc and powerpc64-freebsd.
...
* configure.in (TDEFINES): Add rules for powerpc*-freebsd.
* configure: Regenerate.
* elf32-ppc.c: Add powerpc-freebsd definitions.
* elf64-ppc.c: Add powerpc64-freebsd definitions.
* targets.c: Add bits for powerpc and powerpc64-freebsd.
2011-11-21 13:18:07 +00:00
Alan Modra
9866a1803a
daily update
2011-11-20 23:00:05 +00:00
Alan Modra
e28adff407
daily update
2011-11-19 23:00:05 +00:00
Alan Modra
4e588827f3
daily update
2011-11-18 23:00:06 +00:00
Alan Modra
eddd4d462d
daily update
2011-11-17 23:00:05 +00:00
Alan Modra
3aaeb7d3ca
* elf32-arm.c (elf32_thumb_to_arm_stub): Sync message so that it
...
needs to be translated only once.
2011-11-17 00:20:01 +00:00
Alan Modra
0f9f77ff4b
daily update
2011-11-16 23:00:05 +00:00
Maciej W. Rozycki
72c4ab07b7
* elf64-mips.c (mips_elf64_howto_table_rela): Set src_mask to
...
zero throughout.
(mips16_elf64_howto_table_rela): Likewise.
(micromips_elf64_howto_table_rela): Likewise.
* elfn32-mips.c (elf_mips_howto_table_rela): Likewise.
(elf_mips16_howto_table_rela): Likewise.
(elf_micromips_howto_table_rela): Likewise.
2011-11-16 12:12:22 +00:00
Alan Modra
8fdb04896b
daily update
2011-11-15 23:00:04 +00:00
Maciej W. Rozycki
7e51250f06
Fix a typo.
2011-11-15 13:01:20 +00:00
Alan Modra
14b2f83106
* elflink.c (_bfd_elf_create_got_section): Replace
...
bfd_make_section_with_flags with bfd_make_section_anyway_with_flags.
(_bfd_elf_link_create_dynamic_sections): Likewise.
* elf32-ppc.c (ppc_elf_create_glink): Likewise.
(ppc_elf_create_dynamic_sections): Likewise.
2011-11-15 11:33:57 +00:00
Maxim Kuvyrkov
81f5d455de
* elfxx-mips.c (mips_n64_exe_plt0_entry): Use 64-bit move.
2011-11-15 03:23:56 +00:00
Alan Modra
097befa0b0
daily update
2011-11-14 23:00:05 +00:00
Alan Modra
a9b0445fbf
daily update
2011-11-13 23:00:05 +00:00
Alan Modra
d0dcf34098
daily update
2011-11-12 23:00:06 +00:00
Alan Modra
7bc0b7c0cf
daily update
2011-11-11 23:00:06 +00:00
Alan Modra
4bce1368b9
daily update
2011-11-10 23:00:06 +00:00
Alan Modra
c2b97f3afa
daily update
2011-11-09 23:00:05 +00:00
Alan Modra
53f8462f2d
daily update
2011-11-08 23:00:05 +00:00
Nick Clifton
6746a626dc
* elf-m10300.c (mn10300_elf_relax_section): Fix check for an
...
immediate move into an address register.
2011-11-08 15:07:17 +00:00
Alan Modra
409ff343a4
* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Mark syms in
...
executables when export_dynamic.
2011-11-08 13:49:11 +00:00
Alan Modra
560c8763d3
bfd/
...
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Rename
ha_relocs_not_using_r2 to unexpected_toc_insn.
(ok_lo_toc_insn): New function.
(ppc64_elf_edit_toc): Check insn on lo toc reloc. Emit warning.
(ppc64_elf_relocate_section): Don't check insn on lo toc reloc here.
Handle addic on lo toc reloc.
ld/testsuite/
* ld-powerpc/powerpc.exp: Expect ld warnings for tocopt test.
* ld-powerpc/tocopt.out: New file.
2011-11-08 13:06:03 +00:00
Alan Modra
aacdd20e39
daily update
2011-11-07 23:00:05 +00:00
Alan Modra
726b59167c
daily update
2011-11-06 23:00:05 +00:00
Dave Anglin
4340287bb5
PR ld/13387
...
* elf32-hppa.c (elf32_hppa_hide_symbol): Make STT_GNU_IFUNC symbol
go through PLT. Reset plt field with init_plt_offset.
(elf32_hppa_adjust_dynamic_symbol): Ensure that a PLT slot is
allocated for symbols referenced by a plabel.
2011-11-06 20:25:17 +00:00
Alan Modra
9cdc065ca4
daily update
2011-11-05 23:00:05 +00:00
Alan Modra
f954efcec7
daily update
2011-11-04 23:00:07 +00:00
Alan Modra
63f6e80c6f
daily update
2011-11-03 23:00:05 +00:00
Alan Modra
39f4f51d8b
daily update
2011-11-02 23:00:05 +00:00
DJ Delorie
6652d298c0
[bfd]
...
* elf32-rl78.c (rl78_elf_merge_private_bfd_data): Delete unused
variable.
[gas]
* config/tc-rl78.c (tc_gen_reloc): Remove unused variable.
2011-11-02 20:40:22 +00:00
Jan Beulich
e7ebb21483
Building EFI binaries, particularly larger ones (like e.g. Xen does), on Linux
...
(where relocatable objects are in ELF format) so far led to all local (aka
static) symbols to be discarded, making debugging quite a bit more difficult
(like Linux, Xen builds an internal symbol lookup table from nm output
generated on the binary produced by an earlier linking pass). Therefore, this
patch arranges to insert all (relevant) local symbols from non-COFF objects
into the final executable's symbol table between those coming from COFF input
files and the global ones.
bfd/
2011-11-02 Jan Beulich <jbeulich@suse.com>
* coffgen.c (coff_write_alien_symbol): Make public. Add 'struct
internal_syment *' parameter. Extend 'dummy' to an array with two
elements. Set n_numaux early. Handle BSF_FILE.
(coff_write_symbols): Pass NULL as new third argument to
coff_write_alien_symbol().
* cofflink.c (_bfd_coff_final_link): Don't use COFF-specific
obj_raw_syment_count() on non-COFF input BFD. Insert local symbols
from non-COFF input BFDs.
* libcoff-in.h (coff_write_alien_symbol): Declare.
* libcoff.h (coff_write_alien_symbol): Re-generate.
2011-11-02 14:53:04 +00:00
DJ Delorie
99c513f6ac
[.]
...
* configure.ac (rl78-*-*) New case.
* configure: Regenerate.
[bfd]
* Makefile.am (ALL_MACHINES): Add cpu-rl78.lo.
(ALL_MACHINES_CFILES): Add cpu-rl78.c.
(BFD32_BACKENDS): Add elf32-rl78.lo.
(BFD32_BACKENDS_CFILES): Add elf32-rl78.c.
(Makefile.in): Regenerate.
* archures.c (bfd_architecture): Define bfd_arch_rl78.
(bfd_archures_list): Add bfd_rl78_arch.
* config.bfd: Add rl78-*-elf.
* configure.in: Add bfd_elf32_rl78_vec.
* reloc.c (bfd_reloc_code_type): Add BFD_RELOC_RL78_* relocations.
* targets.c (bfd_target_vector): Add bfd_elf32_rl78_vec.
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* libbfd.h: Regenerate.
* cpu-rl78.c: New file.
* elf32-rl78.c: New file.
[binutils]
* readelf.c: Include elf/rl78.h
(guess_is_rela): Handle EM_RL78.
(dump_relocations): Likewise.
(get_machine_name): Likewise.
(is_32bit_abs_reloc): Likewise.
* NEWS: Mention addition of RL78 support.
* MAINTAINERS: Add myself as RL78 port maintainer.
[gas]
* Makefile.am (TARGET_CPU_CFILES): Add tc-rl78.c.
(TARGET_CPU_HFILES): Add rc-rl78.h.
(EXTRA_DIST): Add rl78-parse.c and rl78-parse.y.
(rl78-parse.c, rl78-parse.h, rl78-parse.o, rl78-defs.h): New rules.
* Makefile.in: Regenerate.
* configure.in: Add rl78 case.
* configure: Regenerate.
* configure.tgt: Add rl78 case.
* config/rl78-defs.h: New file.
* config/rl78-parse.y: New file.
* config/tc-rl78.c: New file.
* config/tc-rl78.h: New file.
* NEWS: Add Renesas RL78.
* doc/Makefile.am (c-rl78.texi): New.
* doc/Makefile.in: Likewise.
* doc/all.texi: Enable it.
* doc/as.texi: Add it.
[include]
* dis-asm.h (print_insn_rl78): Declare.
[include/elf]
* common.h (EM_RL78, EM_78K0R): New.
* rl78.h: New.
[include/opcode]
* rl78.h: New file.
[ld]
* Makefile.am (ALL_EMULATION_SOURCES): Add eelf32rl78.c.
(+eelf32rl78.c): New rule.
* Makefile.in: Regenerate.
* configure.tgt: Add rl78-*-* case.
* emulparams/elf32rl78.sh: New file.
* NEWS: Mention addition of Renesas RL78 support.
[opcodes]
* Makefile.am (TARGET_LIBOPCODES_CFILES): Add rl78-decode.c and
rl78-dis.c.
(MAINTAINERCLEANFILES): Add rl78-decode.c.
(rl78-decode.c): New rule, built from rl78-decode.opc and opc2c.
* Makefile.in: Regenerate.
* configure.in: Add bfd_rl78_arch case.
* configure: Regenerate.
* disassemble.c: Define ARCH_rl78.
(disassembler): Add ARCH_rl78 case.
* rl78-decode.c: New file.
* rl78-decode.opc: New file.
* rl78-dis.c: New file.
2011-11-02 03:09:11 +00:00
Alan Modra
4ac485aa58
daily update
2011-11-01 23:00:07 +00:00
Alan Modra
801e007278
daily update
2011-10-31 23:00:05 +00:00
Alan Modra
a6e92fd41c
daily update
2011-10-30 23:00:05 +00:00
Alan Modra
279c678b64
daily update
2011-10-29 23:00:05 +00:00
Alan Modra
dc31fd24d4
daily update
2011-10-28 23:00:07 +00:00
Alan Modra
d02a9c14dd
daily update
2011-10-27 23:00:05 +00:00
Joern Rennecke
926e2094bb
bfd:
...
* cpu-epiphany.c: Reinstate full list of Copyright years.
* elf32-epiphany.c: Likewise.
cpu:
* epiphany.cpu, epiphany.opc: Likewise.
gas:
* config/tc-epiphany.c, config/tc-epiphany.h: Likewise.
* doc/c-epiphany.texi: Likewise.
include:
* elf/epiphany.h: Likewise.
2011-10-27 14:27:16 +00:00
Alan Modra
148465d2b9
daily update
2011-10-26 23:00:04 +00:00
Nick Clifton
29942be825
PR ld/13049
...
* elf64-ppc.c (STUB_SUFFIX): Revert previous delta.
* elf32-hppa.c (STUB_SUFFIX): Likewise.
2011-10-26 09:47:58 +00:00