2009-10-08 01:00:27 +00:00
|
|
|
|
2009-10-08 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
PR ld/10744
|
|
|
|
|
* ldlang.c (lang_new_phdr): Allow FILEHDR/PHDRS on more than the
|
|
|
|
|
first PT_LOAD header.
|
|
|
|
|
* ld.texinfo: Update.
|
|
|
|
|
|
2009-10-07 07:25:36 +00:00
|
|
|
|
2009-10-06 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_new_phdr): Check PHDRS and FILEHDR in loadable
|
|
|
|
|
segments do not appear after a different loadable segment.
|
|
|
|
|
* ld.texinfo (PHDRS): Document order of processing segments.
|
|
|
|
|
Document where PHDRS and FILEHDR may appear.
|
|
|
|
|
|
2009-10-02 15:00:30 +00:00
|
|
|
|
2009-10-03 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/ppc32elf.em (emit_stub_syms): Init to -1.
|
|
|
|
|
(ppc_after_open): Set emit_stubs_syms by default when shared.
|
|
|
|
|
(OPTION_NO_STUBSYMS): Define.
|
|
|
|
|
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
|
|
|
|
|
PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
|
|
|
|
|
* emultempl/ppc64elf.em (emit_stub_syms): Init to -1.
|
|
|
|
|
(gld${EMULATION_NAME}_finish): Set emit_stubs_syms by default.
|
|
|
|
|
(OPTION_NO_STUBSYMS): Define.
|
|
|
|
|
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
|
|
|
|
|
PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
|
|
|
|
|
|
2009-09-29 16:28:52 +00:00
|
|
|
|
2009-09-29 Joel Sherrill <joel.sherrill@oarcorp.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75
|
|
|
|
|
(rts).
|
|
|
|
|
|
2009-09-29 14:17:19 +00:00
|
|
|
|
2009-09-29 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Add rules to build RX emulation.
|
|
|
|
|
* configure.tgt: Likewise.
|
|
|
|
|
* NEWS: Mention support for RX architecture.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* emulparams/elf32rx.sh: New file.
|
|
|
|
|
* emultempl/rxelf.em: New file.
|
|
|
|
|
|
2009-09-29 02:24:56 +00:00
|
|
|
|
2009-09-29 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_size_sections_1): Allow scripts to specify a
|
|
|
|
|
non-zero vma even when relocatable.
|
|
|
|
|
|
2009-09-28 07:08:50 +00:00
|
|
|
|
2009-09-28 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur.
|
|
|
|
|
* scripttempl/elf32cr16c.sc: Likewise.
|
|
|
|
|
* scripttempl/elf32crx.sc: Likewise.
|
2009-09-28 07:14:37 +00:00
|
|
|
|
* scripttempl/tic54xcoff.sc: Likewise.
|
2009-09-28 07:08:50 +00:00
|
|
|
|
* scripttempl/aix.sc: Delete ${RELOCATING-0}.
|
|
|
|
|
* scripttempl/avr.sc: Likewise.
|
|
|
|
|
* scripttempl/elf32msp430.sc: Likewise.
|
|
|
|
|
* scripttempl/elf32msp430_3.sc: Likewise.
|
|
|
|
|
* scripttempl/elf32sh-symbian.sc: Likewise.
|
|
|
|
|
* scripttempl/elf_chaos.sc: Likewise.
|
|
|
|
|
* scripttempl/elfi370.sc: Likewise.
|
|
|
|
|
* scripttempl/nw.sc: Likewise.
|
|
|
|
|
* scripttempl/psos.sc: Likewise.
|
|
|
|
|
* scripttempl/armbpabi.sc: Delete ${RELOCATING-0} and ${CONSTRUCTING-0}.
|
|
|
|
|
* scripttempl/elf.sc: Likewise.
|
|
|
|
|
* scripttempl/elf64hppa.sc: Likewise.
|
|
|
|
|
* scripttempl/elfd10v.sc: Likewise.
|
|
|
|
|
* scripttempl/elfd30v.sc: Likewise.
|
|
|
|
|
* scripttempl/elfm68hc11.sc: Likewise.
|
|
|
|
|
* scripttempl/elfm68hc12.sc: Likewise.
|
|
|
|
|
* scripttempl/elfmicroblaze.sc: Likewise.
|
|
|
|
|
* scripttempl/elfxtensa.sc: Likewise.
|
|
|
|
|
* scripttempl/iq2000.sc: Likewise.
|
|
|
|
|
* scripttempl/mep.sc: Likewise.
|
|
|
|
|
* scripttempl/xstormy16.sc: Likewise.
|
|
|
|
|
|
2009-09-27 16:08:34 +00:00
|
|
|
|
2009-09-27 Christopher Faylor <me+cygwin@cgf.cx>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_size_sections_1): Always force output vma to zero for
|
|
|
|
|
relocatable sections.
|
|
|
|
|
(lang_size_sections_1): Revert previous COFF-only accommodation for
|
|
|
|
|
relocatable sections.
|
|
|
|
|
|
Update soruces to make alpha, arc and arm targets compile cleanly
with -Wc++-compat:
* config/tc-alpha.c: Add casts.
(extended_bfd_reloc_code_real_type): New type. Used to avoid
enumeration conversion warnings.
(struct alpha_fixup, void assemble_insn, assemble_insn)
(assemble_tokens): Use new type.
* ecoff.c: Add casts. (mark_stabs): Use enumeration names.
* config/obj-elf.c: Add cast
* config/tc-arc.c: Add casts.
* config/obj-aout.h (text_section,data_section,bss_section):
Make extern.
* config/obj-elf.c: Add cast.
* config/tc-arm.c: Add casts.
(X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE)
(cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the
need for keywords as arguments.
* ecoff.c: Add casts.
* ecofflink.c: Add casts.
* elf64-alpha.c: Add casts.
(struct alpha_elf_got_entry, struct alpha_elf_reloc_entry): Move
to top level.
(SKIP_HOWTO): Use enum name.
* elf32-arm.c: Add casts.
(elf32_arm_vxworks_bed): Update code to avoid multiple
declarations.
(struct map_stub): Move to top level.
* arc-dis.c Fix casts.
* arc-ext.c: Add casts.
* arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous
enum.
* emultempl/armelf.em: Add casts.
2009-09-25 19:13:27 +00:00
|
|
|
|
2009-09-25 Martin Thuresson <martint@google.com>
|
|
|
|
|
|
2009-10-02 15:35:01 +00:00
|
|
|
|
Update sources to make arm targets compile cleanly with
|
Update soruces to make alpha, arc and arm targets compile cleanly
with -Wc++-compat:
* config/tc-alpha.c: Add casts.
(extended_bfd_reloc_code_real_type): New type. Used to avoid
enumeration conversion warnings.
(struct alpha_fixup, void assemble_insn, assemble_insn)
(assemble_tokens): Use new type.
* ecoff.c: Add casts. (mark_stabs): Use enumeration names.
* config/obj-elf.c: Add cast
* config/tc-arc.c: Add casts.
* config/obj-aout.h (text_section,data_section,bss_section):
Make extern.
* config/obj-elf.c: Add cast.
* config/tc-arm.c: Add casts.
(X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE)
(cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the
need for keywords as arguments.
* ecoff.c: Add casts.
* ecofflink.c: Add casts.
* elf64-alpha.c: Add casts.
(struct alpha_elf_got_entry, struct alpha_elf_reloc_entry): Move
to top level.
(SKIP_HOWTO): Use enum name.
* elf32-arm.c: Add casts.
(elf32_arm_vxworks_bed): Update code to avoid multiple
declarations.
(struct map_stub): Move to top level.
* arc-dis.c Fix casts.
* arc-ext.c: Add casts.
* arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous
enum.
* emultempl/armelf.em: Add casts.
2009-09-25 19:13:27 +00:00
|
|
|
|
-Wc++-compat:
|
|
|
|
|
* emultempl/armelf.em: Add casts.
|
|
|
|
|
|
2009-09-23 13:54:29 +00:00
|
|
|
|
2009-09-23 Matt Rice <ratmice@gmail.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/elf32.em (gld${EMULATION_NAME}_add_options): Add --audit,
|
|
|
|
|
--depaudit, and -P options.
|
|
|
|
|
(gld${EULATION_NAME}_handle_options): Ditto.
|
|
|
|
|
(gld${EULATION_NAME}_list_options): Ditto.
|
|
|
|
|
(gld${EMULATION_NAME}_append_to_separated_string): New function for
|
|
|
|
|
handling rpath-like colon separated strings.
|
|
|
|
|
(gld${EMULATION_NAME}_before_allocation): Pass the audit and depaudit
|
|
|
|
|
libs to bfd. Propagate DT_AUDIT from needed libs to depaudit.
|
|
|
|
|
* ld.texinfo: Document new options.
|
|
|
|
|
|
2009-09-23 10:09:19 +00:00
|
|
|
|
2009-09-23 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/vi.po: Updated Vietnamese translation.
|
|
|
|
|
|
2009-09-22 00:17:48 +00:00
|
|
|
|
2009-09-22 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* scripttempl/a29k.sc: Delete.
|
|
|
|
|
* scripttempl/ebmon29k.sc: Delete.
|
|
|
|
|
* scripttempl/m68klynx.sc: Delete.
|
|
|
|
|
* scripttempl/sa29200.sc: Delete.
|
|
|
|
|
* scripttempl/sparclynx.sc: Delete.
|
|
|
|
|
|
include/elf/
* ppc.h (DT_PPC_TLSOPT): Define.
* ppc64.h (DT_PPC64_TLSOPT): Define.
bfd/
* elf32-ppc.c (TLS_GET_ADDR_GLINK_SIZE): Define.
(ADD_3_12_2, BEQLR, CMPWI_11_0, LWZ_11_3, LWZ_12_3): Define.
(MR_0_3, MR_3_0): Define.
(struct ppc_elf_link_hash_table): Add no_tls_get_addr_opt.
(ppc_elf_select_plt_layout): Save emit_stub_syms param earlier.
(ppc_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash
table. Check for presense of __tls_get_addr_opt
(allocate_dynrelocs): Increase glink entry size for __tls_get_addr.
(ppc_elf_size_dynamic_sections): Add DT_PPC_TLS_OPT tag.
(write_glink_stub): Add param p.
(ppc_elf_relocate_section): Adjust write_glink_stub call.
(ppc_elf_finish_dynamic_symbol): Emit special glink call stub for
__tls_get_addr.
* elf32-ppc.h (ppc_elf_tls_setup): Update prototype.
* elf64-ppc.c (struct ppc_link_hash_table): Add no_tls_get_addr_opt.
(ppc64_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash
table. Check for presense of __tls_get_addr_opt.
(ppc64_elf_size_dynamic_sections): Add DT_PPC64_TLS_OPT tag.
(LD_R11_0R3, LD_R12_0R3, MR_R0_R3, CMPDI_R11_0, ADD_R3_R12_R13,
BEQLR, MR_R3_R0, MFLR_R11, STD_R11_0R1, BCTRL, LD_R11_0R1,
LD_R2_0R1, MTLR_R11): Define.
(build_tls_get_addr_stub): New function.
(ppc_build_one_stub): Call it.
(ppc_size_one_stub): Add extra size for __tls_get_addr stub.
(ppc64_elf_relocate_section): Don't change nop to ld 2,40(1) for
__tls_get_addr plt call.
* elf64-ppc.h (ppc64_elf_tls_setup): Update prototype.
binutils/
* readelf.c (get_ppc_dynamic_type): Add TLSOPT.
(get_ppc64_dynamic_type): Likewise.
ld/
* emultempl/ppc32elf.em (no_tls_get_addr_opt): New var.
(ppc_before_allocation): Pass to ppc_elf_tls_setup.
(OPTION_NO_TLS_GET_ADDR_OPT): Define. Redefine other options in
terms of previous option.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
--no-tls-get-addr-optimize.
(PARSE_AND_LIST_ARGS_CASES): Handle it.
* emultempl/ppc64elf.em (no_tls_get_addr_opt): New var.
(ppc_before_allocation): Pass to ppc64_elf_tls_setup.
(OPTION_NO_TLS_GET_ADDR_OPT): Define.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
--no-tls-get-addr-optimize.
(PARSE_AND_LIST_ARGS_CASES): Handle it.
ld/testsuite/
* ld-powerpc/tlslib.s: Delete dot-symbol entry syms. Add
__tls_get_addr_opt.
* ld-powerpc/tlslib32.s: Add __tls_get_addr_opt.
* ld-powerpc/oldtlslib.s: New file, old-abi version of tlslib.s.
* ld-powerpc/powerpc.exp: Build old-abi library and use it in
two new link tests.
* ld-powerpc/tlsexe.d: Update for new __tls_get_addr stub.
* ld-powerpc/tlsexe.g, * ld-powerpc/tlsexe.r, *ld-powerpc/tlsexe32.d,
* ld-powerpc/tlsexe32.g, * ld-powerpc/tlsexe32.r,
* ld-powerpc/tlsexetoc.d, * ld-powerpc/tlsexetoc.g,
* ld-powerpc/tlsexetoc.r: Likewise.
2009-09-21 11:51:02 +00:00
|
|
|
|
2009-09-21 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/ppc32elf.em (no_tls_get_addr_opt): New var.
|
|
|
|
|
(ppc_before_allocation): Pass to ppc_elf_tls_setup.
|
|
|
|
|
(OPTION_NO_TLS_GET_ADDR_OPT): Define. Redefine other options in
|
|
|
|
|
terms of previous option.
|
|
|
|
|
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
|
|
|
|
|
--no-tls-get-addr-optimize.
|
|
|
|
|
(PARSE_AND_LIST_ARGS_CASES): Handle it.
|
|
|
|
|
* emultempl/ppc64elf.em (no_tls_get_addr_opt): New var.
|
|
|
|
|
(ppc_before_allocation): Pass to ppc64_elf_tls_setup.
|
|
|
|
|
(OPTION_NO_TLS_GET_ADDR_OPT): Define.
|
|
|
|
|
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
|
|
|
|
|
--no-tls-get-addr-optimize.
|
|
|
|
|
(PARSE_AND_LIST_ARGS_CASES): Handle it.
|
|
|
|
|
|
2009-09-18 07:54:47 +00:00
|
|
|
|
2009-09-18 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/es.po: Updated Spanish translation.
|
|
|
|
|
|
2009-09-13 07:19:18 +00:00
|
|
|
|
2009-09-13 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
2009-09-29 02:24:56 +00:00
|
|
|
|
PR ld/6766
|
2009-09-13 07:19:18 +00:00
|
|
|
|
* lexsup.c (parse_args <-e>): Revert 2009-03-18 change.
|
|
|
|
|
* ldemul.c (after_parse_default): Add entry symbol as undef.
|
|
|
|
|
* emultempl/alphaelf.em (alpha_after_parse): Call after_parse_default.
|
|
|
|
|
* emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
|
|
|
|
|
* emultempl/crxelf.em (crxelf_after_parse): Likewise.
|
|
|
|
|
* emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
|
|
|
|
|
* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Likewise.
|
|
|
|
|
* emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Call
|
|
|
|
|
after_parse_default and delete now duplicate code.
|
|
|
|
|
* emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
|
|
|
|
|
* scripttempl/elf32cr16.sc: No need to make entry extern.
|
|
|
|
|
* scripttempl/elf32cr16c.sc: Likewise.
|
|
|
|
|
* scripttempl/elf32crx.sc: Likewise.
|
|
|
|
|
* scripttempl/elf32xc16xs.sc: Only provide ENTRY on final link.
|
|
|
|
|
|
2009-09-11 15:27:38 +00:00
|
|
|
|
2009-09-11 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/ld.pot: Updated by the Translation project.
|
|
|
|
|
* po/fi.po: Updated Finnish translation.
|
|
|
|
|
|
|
|
|
|
2009-09-11 Martin Thuresson <martint@google.com>
|
|
|
|
|
|
|
|
|
|
Updated sources to compile cleanly with -Wc++-compat:
|
|
|
|
|
* ld.h (enum endian_enum,enum symbolic_enum,enum
|
|
|
|
|
dynamic_list_enum): Move to top level.
|
|
|
|
|
* ldcref.c: Add casts.
|
|
|
|
|
* ldctor.c: Add casts.
|
|
|
|
|
* ldexp.c
|
|
|
|
|
* ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
|
|
|
|
|
* ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead
|
|
|
|
|
of integer.
|
|
|
|
|
* ldlang.h (enum statement_enum): Move to top level.
|
|
|
|
|
* ldmain.c: Add casts.
|
|
|
|
|
* ldwrite.c: Add casts.
|
|
|
|
|
* lexsup.c: Add casts. (enum control_enum): Move to top level.
|
|
|
|
|
* mri.c: Add casts. (mri_draw_tree): Use enum name instead of
|
|
|
|
|
integer.
|
|
|
|
|
|
2009-09-09 11:59:14 +00:00
|
|
|
|
2009-09-09 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* scripttempl/aix.sc: Only provide ENTRY on final link.
|
|
|
|
|
* scripttempl/alpha.sc: Likewise.
|
|
|
|
|
* scripttempl/armcoff.sc: Likewise.
|
|
|
|
|
* scripttempl/crisaout.sc: Likewise.
|
|
|
|
|
* scripttempl/delta68.sc: Likewise.
|
|
|
|
|
* scripttempl/ebmon29k.sc: Likewise.
|
|
|
|
|
* scripttempl/elf32xc16x.sc: Likewise.
|
|
|
|
|
* scripttempl/elf32xc16xl.sc: Likewise.
|
|
|
|
|
* scripttempl/elfmicroblaze.sc: Likewise.
|
|
|
|
|
* scripttempl/epocpe.sc: Likewise.
|
|
|
|
|
* scripttempl/h8300.sc: Likewise.
|
|
|
|
|
* scripttempl/h8300h.sc: Likewise.
|
|
|
|
|
* scripttempl/h8300hn.sc: Likewise.
|
|
|
|
|
* scripttempl/h8300s.sc: Likewise.
|
|
|
|
|
* scripttempl/h8300sn.sc: Likewise.
|
|
|
|
|
* scripttempl/h8300sx.sc: Likewise.
|
|
|
|
|
* scripttempl/h8300sxn.sc: Likewise.
|
|
|
|
|
* scripttempl/hppaelf.sc: Likewise.
|
|
|
|
|
* scripttempl/i386beos.sc: Likewise.
|
|
|
|
|
* scripttempl/i386coff.sc: Likewise.
|
|
|
|
|
* scripttempl/i386go32.sc: Likewise.
|
|
|
|
|
* scripttempl/m68kaux.sc: Likewise.
|
|
|
|
|
* scripttempl/m68klynx.sc: Likewise.
|
|
|
|
|
* scripttempl/m88kbcs.sc: Likewise.
|
|
|
|
|
* scripttempl/maxqcoff.sc: Likewise.
|
|
|
|
|
* scripttempl/mcorepe.sc: Likewise.
|
|
|
|
|
* scripttempl/mips.sc: Likewise.
|
|
|
|
|
* scripttempl/ppcpe.sc: Likewise.
|
|
|
|
|
* scripttempl/sa29200.sc: Likewise.
|
|
|
|
|
* scripttempl/sparccoff.sc: Likewise.
|
|
|
|
|
* scripttempl/sparclynx.sc: Likewise.
|
|
|
|
|
* scripttempl/tic4xcoff.sc: Likewise.
|
|
|
|
|
* scripttempl/tic54xcoff.sc: Likewise.
|
|
|
|
|
* scripttempl/tic80coff.sc: Likewise.
|
|
|
|
|
* scripttempl/z8000.sc: Likewise.
|
|
|
|
|
|
2009-09-07 11:29:56 +00:00
|
|
|
|
2009-09-07 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* po/ld.pot: Regenerate.
|
|
|
|
|
|
* bfd/coff-arm.c (coff_arm_relocate_section)
(record_thumb_to_arm_glue, bfd_arm_process_before_allocation):
Change member name class to symbol_class.
* bfd/coff-i960.c (coff_i960_relocate_section) Rename variable
class to class_val. Change member name class to symbol_class.
* bfd/coff-rs6000.c (_bfd_xcoff_swap_aux_in)
(_bfd_xcoff_swap_aux_out): Rename arguments class to in_class.
* bfd/coff-stgo32.c (adjust_aux_in_post)
(adjust_aux_out_pre, adjust_aux_out_post): Rename arguments class
to in_class.
* bfd/coff64-rs6000.c (_bfd_xcoff64_swap_aux_in)
(_bfd_xcoff64_swap_aux_out): Rename arguments class to in_class.
* bfd/coffcode.h (coff_pointerize_aux_hook): Rename variable class
to n_sclass.
* bfd/coffgen.c (coff_write_symbol, coff_pointerize_aux): Rename
variables named class to n_sclass. (coff_write_symbols): Rename
variable class to sym_class. (bfd_coff_set_symbol_class): Rename
argument class to symbol_class.
* bfd/cofflink.c (_bfd_coff_link_hash_newfunc)
(coff_link_add_symbols, _bfd_coff_link_input_bfd)
(_bfd_coff_write_global_sym, _bfd_coff_generic_relocate_section):
Update code to use renamed members.
* bfd/coffswap.h (coff_swap_aux_in, coff_swap_aux_out): Rename
argument class to in_class.
* bfd/libcoff-in.h (struct coff_link_hash_entry, struct
coff_debug_merge_type) Renamed members class to symbol_class and
type_class.
* bfd/libcoff.h Regenerated.
* bfd/peXXigen.c: (_bfd_XXi_swap_aux_in, _bfd_XXi_swap_aux_out):
Rename argument class to in_class.
* bfd/pef.c (bfd_pef_parse_imported_symbol): Update code to use
renamed members.
* bfd/pef.h (struct bfd_pef_imported_symbol): Changed name of
member class to symbol_class.
* binutils/ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class)
(ieee_read_reference): Rename variables named class to cxxclass.
* gas/config/tc-arc.c (struct syntax_classes): Rename member class
to s_class. (arc_extinst): Rename variable class to
s_class. Update code to use renamed members.
* gas/config/tc-mips.c (insn_uses_reg): Rename argument class to
regclass.
* gas/config/tc-ppc.c (ppc_csect, ppc_change_csect, ppc_function)
(ppc_tc, ppc_is_toc_sym, ppc_symbol_new_hook, ppc_frob_label)
(ppc_fix_adjustable, md_apply_fix): Update code to use renamed
members.
* gas/config/tc-ppc.h (struct ppc_tc_sy): Change name of member
from class to symbol_class. (OBJ_COPY_SYMBOL_ATTRIBUTES): Update
code to use renamed members.
* gas/config/tc-score.c (s3_adjust_paritybit): Rename argument
class to i_class.
* gas/config/tc-score7.c (s7_adjust_paritybit): Rename argument
class to i_class.
* gprof/corefile.c (core_create_function_syms): Rename variable
class to cxxclass.
* include/coff/ti.h (GET_LNSZ_SIZE, PUT_LNSZ_SIZE): Updated name
of class variable to in_class to match changes in function that
use this macro.
* include/opcode/ia64.h (struct ia64_operand): Renamed member
class to op_class
* ld/emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols)
(gld${EMULATION_NAME}_try_needed): Rename variable class to
link_class
* opcodes/ia64-dis.c (print_insn_ia64): Update code to use renamed
member.
* opcodes/m88k-dis.c (m88kdis): Rename variable class to in_class.
* opcodes/tic80-opc.c (tic80_symbol_to_value)
(tic80_value_to_symbol): Rename argument class to symbol_class.
2009-09-05 07:56:26 +00:00
|
|
|
|
2009-09-05 Martin Thuresson <martin@mtme.org>
|
|
|
|
|
|
|
|
|
|
* emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols,
|
|
|
|
|
gld${EMULATION_NAME}_try_needed): Rename variable class to
|
|
|
|
|
link_class.
|
|
|
|
|
|
2009-09-04 08:23:49 +00:00
|
|
|
|
2009-09-04 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Add marker for 2.20.
|
|
|
|
|
|
2009-09-04 06:35:29 +00:00
|
|
|
|
2009-09-04 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf.sc (.text): Add cold text sections.
|
|
|
|
|
|
2009-09-04 04:07:58 +00:00
|
|
|
|
2009-09-04 Jie Zhang <jie.zhang@analog.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Add .l2.text
|
|
|
|
|
and .l2.data.
|
|
|
|
|
|
2009-09-03 18:04:35 +00:00
|
|
|
|
2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/pe.sc (.text): Add "*(.text.*)" in order to catch
|
|
|
|
|
new GCC hot/cold/unlikely partitions.
|
|
|
|
|
* scripttempl/pep.sc: Likewise.
|
|
|
|
|
* scripttempl/epocpe.sc: Likewise.
|
|
|
|
|
* scripttempl/mcorepe.sc: Likewise.
|
|
|
|
|
* scripttempl/ppcpe.sc: Likewise.
|
|
|
|
|
|
Fix VPATH search for generated sources in binutils, gas, ld.
binutils/:
* Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
(deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
source file name for generated files which may be in $(srcdir).
* Makefile.in: Regenerate.
gas/:
* Makefile.am (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o):
Supply correct source file name for generated files which may be
in $(srcdir).
* Makefile.in: Regenerate.
ld/:
* Makefile.am (ldgram.o, ldlex.o, deffilep.o): Supply correct
source file name for generated files which may be in $(srcdir).
* Makefile.in: Regenerate.
2009-09-01 20:56:51 +00:00
|
|
|
|
2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (ldgram.o, ldlex.o, deffilep.o): Supply correct
|
|
|
|
|
source file name for generated files which may be in $(srcdir).
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-09-01 19:30:28 +00:00
|
|
|
|
2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ldver.c (ldversion): Change to "Copyright 2009".
|
|
|
|
|
|
2009-09-01 02:54:10 +00:00
|
|
|
|
2009-09-01 Jie Zhang <jie.zhang@analog.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext,
|
|
|
|
|
_stack and __bss_start.
|
|
|
|
|
* emulparams/bfin.sh (ENTRY): Remove.
|
|
|
|
|
|
2009-08-30 05:47:43 +00:00
|
|
|
|
2009-08-30 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
PR ld/10569
|
|
|
|
|
* ldexp.c (fold_name <MAXPAGESIZE>): Return config.maxpagesize.
|
|
|
|
|
(fold_name <COMMONPAGESIZE>): Similarly.
|
|
|
|
|
* ldlang.c (output_target): Make global.
|
|
|
|
|
* ldlang.h (output_target): Declare.
|
|
|
|
|
* ldmain.c (main): Set config.maxpagesize from bfd_emul_get_maxpagesize.
|
|
|
|
|
Similarly for config.commonpagesize.
|
|
|
|
|
* ldemul.c (set_output_arch_default): Call bfd_emul_set_maxpagesize
|
|
|
|
|
and bfd_emul_set_commonpagesize.
|
|
|
|
|
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Don't call
|
|
|
|
|
bfd_emul_set_maxpagesize or bfd_emul_set_commonpagesize here.
|
|
|
|
|
|
Updated sources to avoid using the identifier name "new", which is a
keyword in c++.
* bfd/aoutx.h (NAME (aout, make_empty_symbol)): Rename variable
new to new_symbol.
* bfd/coffgen.c (coff_make_empty_symbol)
(coff_bfd_make_debug_symbol): Rename variable new to new_symbol.
* bfd/cpu-ia64-opc.c (ext_reg, ins_imms_scaled): Rename variable
new to new_insn.
* bfd/doc/chew.c (newentry, add_intrinsic): Rename variable new to
new_d.
* bfd/ecoff.c (_bfd_ecoff_make_empty_symbol): Rename variable new
to new_symbol.
* bfd/elf32-m68k.c (elf_m68k_get_got_entry_type): Rename argument
new to new_reloc.
* bfd/hash.c (bfd_hash_lookup): Rename variable new to new_string.
* bfd/ieee.c (ieee_make_empty_symbol): Rename variable new to
new_symbol.
* bfd/linker.c (bfd_new_link_order): Rename variable new to
new_lo.
* bfd/mach-o.c (bfd_mach_o_sizeof_headers): Rename variable new to
symbol.
* bfd/oasys.c (oasys_make_empty_symbol): Rename variable new to
new_symbol_type.
* bfd/pdp11.c (NAME (aout, make_empty_symbol)): Rename variable
new to new_symbol_type.
* bfd/plugin.c (bfd_plugin_make_empty_symbol): Rename variable new
to new_symbol.
* bfd/rs6000-core.c (CoreHdr, VmInfo): Rename union member new to
new_dump.
(read_hdr, rs6000coff_core_p)
(rs6000coff_core_file_matches_executable_p)
(rs6000coff_core_file_failing_command)
(rs6000coff_core_file_failing_signal): Updated function to use new
union member name.
* bfd/som.c (som_make_empty_symbol): Rename variable new to
new_symbol_type.
* bfd/syms.c (_bfd_generic_make_empty_symbol): Rename variable new
to new_symbol.
* bfd/tekhex.c (first_phase, tekhex_make_empty_symbol): Rename
variable new to new_symbol.
* binutils/nlmconv.c (main): Rename variable new to new_name.
* gas/config/tc-arm.c (insert_reg_alias): Rename variable new to
new_reg.
* gas/config/tc-dlx.c (parse_operand): Rename variable new to
new_pos.
* gas/config/tc-ia64.c (ia64_gen_real_reloc_type): Rename variable
new to newr.
* gas/config/tc-mcore.c (parse_exp, parse_imm): Rename variable
new to new_pointer.
* gas/config/tc-microblaze.c (parse_exp, parse_imm, check_got):
Change name from new to new_pointer.
* gas/config/tc-or32.c (parse_operand): Rename variable new to
new_pointer.
* gas/config/tc-pdp11.c (md_assemble): Rename variable new to
new_pointer.
* gas/config/tc-pj.c (alias): Change argument new to new_name.
* gas/config/tc-score.c (s3_build_score_ops_hsh): Rename variable
new to new_opcode. (s3_build_dependency_insn_hsh) Rename variable
new to new_i2n. (s3_convert): Rename variables old and new to
r_old and r_new.
* gas/config/tc-score7.c (s7_build_score_ops_hsh): Rename variable
new to new_opcode. (s7_build_dependency_insn_hsh): Rename variable
new to new_i2d. (s7_b32_relax_to_b16, s7_convert_frag): Rename
variables old and new to r_old and r_new.
* gas/config/tc-sh.c (parse_exp): Rename variable new to
new_pointer.
* gas/config/tc-sh64.c (shmedia_parse_exp): Rename variable new to
new_pointer.
* gas/config/tc-tic4x.c (tic4x_operand_parse): Rename variable new
to new_pointer.
* gas/config/tc-z8k.c (parse_exp): Rename variable new to
new_pointer.
* gas/listing.c (listing_newline): Rename variable new to new_i.
* ld/ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop)
(exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new
to new_e.
* ld/ldfile.c (ldfile_add_library_path): Rename variable new to
new_dirs. (ldfile_add_arch): Rename variable new to new_arch.
* ld/ldlang.c (new_statement, lang_final, lang_add_wild)
(lang_target, lang_add_fill, lang_add_data, lang_add_assignment)
(lang_add_insert): Rename variable new to new_stmt. (new_afile):
Added missing cast. (lang_memory_region_lookup): Rename variable
new to new_region. (init_os): Rename variable new to
new_userdata. (lang_add_section): Rename variable new to
new_section. (ldlang_add_undef): Rename variable new to
new_undef. (realsymbol): Rename variable new to new_name.
* opcodes/z8kgen.c (internal, gas): Rename variable new to new_op.
Updated sources to avoid using the identifier name "template",
which is a keyword in c++.
* bfd/elf32-arm.c (struct stub_def): Rename member template to
template_sequence. (arm_build_one_stub,
find_stub_size_and_template, arm_size_one_stub, arm_map_one_stub):
Rename variable template to template_sequence.
* bfd/elfxx-ia64.c (elfNN_ia64_relax_br, elfNN_ia64_relax_brl):
Rename variable template to template_val.
* gas/config/tc-arm.c (struct asm_cond, struct asm_psr, struct
asm_barrier_opt): Change member template to
template_name. (md_begin): Update code to reflect new member
names.
* gas/config/tc-i386.c (struct templates, struct _i386_insn)
(match_template, cpu_flags_match, match_reg_size, match_mem_size)
(operand_size_match, md_begin, i386_print_statistics, pi)
(build_vex_prefix, md_assemble, parse_insn, optimize_imm)
(optimize_disp): Updated code to use new names. (parse_insn):
Added casts.
* gas/config/tc-ia64.c (dot_template, emit_one_bundle): Updated
code to use new names.
* gas/config/tc-score.c (struct s3_asm_opcode): Renamed member
template to template_name. (s3_parse_16_32_inst, s3_parse_48_inst,
s3_do_macro_ldst_label, s3_build_score_ops_hsh): Update code to
use new names.
* gas/config/tc-score7.c (struct s7_asm_opcode): Renamed member
template to template_name. (s7_parse_16_32_inst,
s7_do_macro_ldst_label, s7_build_score_ops_hsh): Update code to
use new names.
* gas/config/tc-tic30.c (md_begin, struct tic30_insn)
(md_assemble): Update code to use new names.
* gas/config/tc-tic54x.c (struct _tic54x_insn, md_begin)
(optimize_insn, tic54x_parse_insn, next_line_shows_parallel):
Update code to use new names.
* include/opcode/tic30.h (template): Rename type template to
insn_template. Updated code to use new name.
* include/opcode/tic54x.h (template): Rename type template to
insn_template.
* opcodes/cris-dis.c (bytes_to_skip): Update code to use new name.
* opcodes/i386-dis.c (putop): Update code to use new name.
* opcodes/i386-gen.c (process_i386_opcodes): Update code to use
new name.
* opcodes/i386-opc.h (struct template): Rename struct template to
insn_template. Update code accordingly.
* opcodes/i386-tbl.h (i386_optab): Update type to use new name.
* opcodes/ia64-dis.c (print_insn_ia64): Rename variable template
to template_val.
* opcodes/tic30-dis.c (struct instruction, get_tic30_instruction):
Update code to use new name.
* opcodes/tic54x-dis.c (has_lkaddr, get_insn_size)
(print_parallel_instruction, print_insn_tic54x, tic54x_get_insn):
Update code to use new name.
* opcodes/tic54x-opc.c (tic54x_unknown_opcode, tic54x_optab):
Update type to new name.
2009-08-29 22:11:02 +00:00
|
|
|
|
2009-08-29 Martin Thuresson <martin@mtme.org>
|
|
|
|
|
|
|
|
|
|
* ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop)
|
|
|
|
|
(exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new
|
|
|
|
|
to new_e.
|
|
|
|
|
* ldfile.c (ldfile_add_library_path): Rename variable new to
|
|
|
|
|
new_dirs. (ldfile_add_arch): Rename variable new to new_arch.
|
|
|
|
|
* ldlang.c (new_statement, lang_final, lang_add_wild)
|
|
|
|
|
(lang_target, lang_add_fill, lang_add_data, lang_add_assignment)
|
|
|
|
|
(lang_add_insert): Rename variable new to new_stmt. (new_afile):
|
|
|
|
|
Added missing cast. (lang_memory_region_lookup): Rename variable
|
|
|
|
|
new to new_region. (init_os): Rename variable new to
|
|
|
|
|
new_userdata. (lang_add_section): Rename variable new to
|
|
|
|
|
new_section. (ldlang_add_undef): Rename variable new to
|
|
|
|
|
new_undef. (realsymbol): Rename variable new to new_name.
|
|
|
|
|
|
2009-08-26 13:08:07 +00:00
|
|
|
|
2009-08-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR ld/10555
|
|
|
|
|
* emultempl/elf32.em (_after_open): Do not create a
|
|
|
|
|
.note.gnu-build-id section if there are no input files.
|
|
|
|
|
|
2009-08-24 15:22:59 +00:00
|
|
|
|
2009-08-24 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/elfxtensa.sc (DISCARDED): Discard sections with
|
|
|
|
|
.gnu.lto_ prefix.
|
|
|
|
|
* scripttempl/armbpabi.sc: Likewise.
|
|
|
|
|
* scripttempl/elf32sh-symbian.sc: Likewise.
|
|
|
|
|
* scripttempl/elf64hppa.sc: Likewise.
|
|
|
|
|
* scripttempl/mep.sc: Likewise.
|
|
|
|
|
|
2009-08-24 05:55:55 +00:00
|
|
|
|
2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
2009-08-24 05:57:44 +00:00
|
|
|
|
* Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep
|
|
|
|
|
rules.
|
|
|
|
|
(eelf32_spu.o): Add dependency tracking.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-08-24 05:55:55 +00:00
|
|
|
|
* Makefile.am (am__skiplex, am__skipyacc): New.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-08-22 16:56:56 +00:00
|
|
|
|
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
Cleanups in binutils makefiles.
ld/:
* Makefile.am (bin_PROGRAMS): Renamed from ...
(noinst_PROGRAMS): ... this.
(transform): Override, including the renaming of ld-new to ld.
(install-exec-local): Installation of ld in $(bindir) not needed
here any more.
(AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
(MAINTAINERCLEANFILES): Add ld.1.
* Makefile.in: Regenerate.
gold/:
* Makefile.am (AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Add -Wno-portability.
(AM_CPPFLAGS): Renamed from ...
(INCLUDE): ... this.
* Makefile.in, testsuite/Makefile.in: Regenerate.
bfd/:
* Makefile.am (libbfd_la_LDFLAGS): Initialize early, to allow
appending.
[INSTALL_LIBBFD] (bfdlib_LTLIBRARIES, bfdinclude_HEADERS): Set
only in this condition.
[!INSTALL_LIBBFD] (noinst_LTLIBRARIES, libbfd_la_LDFLAGS): New,
to build but not install libbfd.la in this condition.
(install-bfdlibLTLIBRARIES, uninstall-bfdlibLTLIBRARIES)
(install_libbfd, install_libbfd): Remove.
* Makefile.in: Regenerate.
binutils/:
* Makefile.am (AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
(bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
(installcheck-local): Renamed from ...
(installcheck): ... this.
* Makefile.in: Regenerate.
gas/:
* Makefile.am (YFLAGS): Remove, not needed any more.
(AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
* Makefile.in: Regenerate.
gprof/:
* Makefile.am (AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
* Makefile.in: Regenerate.
opcodes/:
* Makefile.am (libopcodes_la_LDFLAGS): Initialize early.
[INSTALL_LIBBFD] (bfdlib_LTLIBRARIES): Set only in this condition.
[INSTALL_LIBBFD] (bfdinclude_DATA): New.
[!INSTALL_LIBBFD] (noinst_LTLIBRARIES): New.
[!INSTALL_LIBBFD] (libopcodes_la_LDFLAGS): Ensure libopcodes.la
is built shared even if it is not to be installed.
(install-bfdlibLTLIBRARIES,uninstall-bfdlibLTLIBRARIES)
(install_libopcodes, uninstall_libopcodes): Remove.
(AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
* Makefile.in: Regenerate.
2009-08-22 19:02:57 +00:00
|
|
|
|
* Makefile.am (bin_PROGRAMS): Renamed from ...
|
|
|
|
|
(noinst_PROGRAMS): ... this.
|
|
|
|
|
(transform): Override, including the renaming of ld-new to ld.
|
|
|
|
|
(install-exec-local): Installation of ld in $(bindir) not needed
|
|
|
|
|
here any more.
|
|
|
|
|
(AM_CPPFLAGS): Renamed from ...
|
|
|
|
|
(INCLUDES): ... this.
|
|
|
|
|
(MAINTAINERCLEANFILES): Add ld.1.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
dependency tracking in ld
ld/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus. Add
no-texinfo.tex, no-dist, foreign.
(TEXINFO_TEX): New variable.
(install-data-local): Removed, not needed any more.
(all): Dependencies upon info and ld.1 not needed any more.
(MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed.
(mkdep generated section): Removed.
(ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to
use automake dependency tracking mechanism.
(EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and
$(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their
dependencies are tracked too.
(BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they
are built early.
* configure.in: Use AM_MAINTAINER_MODE.
* configure, Makefile.in: Regenerate.
2009-08-22 17:59:33 +00:00
|
|
|
|
* Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus. Add
|
|
|
|
|
no-texinfo.tex, no-dist, foreign.
|
|
|
|
|
(TEXINFO_TEX): New variable.
|
|
|
|
|
(install-data-local): Removed, not needed any more.
|
|
|
|
|
(all): Dependencies upon info and ld.1 not needed any more.
|
|
|
|
|
(MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed.
|
|
|
|
|
(mkdep generated section): Removed.
|
|
|
|
|
(ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to
|
|
|
|
|
use automake dependency tracking mechanism.
|
|
|
|
|
(EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and
|
|
|
|
|
$(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their
|
|
|
|
|
dependencies are tracked too.
|
|
|
|
|
(BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they
|
|
|
|
|
are built early.
|
|
|
|
|
* configure.in: Use AM_MAINTAINER_MODE.
|
|
|
|
|
* aclocal.m4, configure, Makefile.in: Regenerate.
|
|
|
|
|
|
Cleanups after the update to Autoconf 2.64, Automake 1.11.
/:
* README-maintainer-mode: Point directly to upstream locations
for autoconf, automake, libtool, gettext, instead of copies on
sources.redhat.com. Document required versions.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir. Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.
gdb/:
* CONTRIBUTE: Bump documented Autoconf version.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir. Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.
gdb/doc/:
* gdbint.texinfo (Releasing GDB): Point to
README-maintainer-mode file for required autoconf version.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir. Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.
gprof/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(install-pdf-recursive, html__strip_dir, install-html)
(install-html-am, install-html-recursive): Remove.
* Makefile.in: Regenerate.
opcodes/:
* Makefile.am (install-pdf, install-html): Remove.
* Makefile.in: Regenerate.
gas/:
* Makefile.am (install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.
* doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* doc/Makefile.in: Regenerate.
ld/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(install-pdf-recursive, html__strip_dir, install-html)
(install-html-am, install-html-recursive): Remove.
* Makefile.in: Regenerate.
binutils/:
* Makefile.am (install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.
* doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* doc/Makefile.in: Regenerate.
bfd/:
* Makefile.am (datarootdir, docdir, htmldor, pdfdir)
(install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.
bfd/doc/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* Makefile.in: Regenerate.
2009-08-22 17:08:11 +00:00
|
|
|
|
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
|
|
|
|
|
(install-pdf-recursive, html__strip_dir, install-html)
|
|
|
|
|
(install-html-am, install-html-recursive): Remove.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-08-22 16:56:56 +00:00
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* aclocal.m4: Likewise.
|
|
|
|
|
* config.in: Likewise.
|
|
|
|
|
* configure: Likewise.
|
|
|
|
|
|
2009-08-21 10:38:14 +00:00
|
|
|
|
2009-08-21 Richard Guenther <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.
|
|
|
|
|
|
2009-08-12 12:40:55 +00:00
|
|
|
|
2009-08-12 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ld.h (fat_user_section_struct): Add map_symbol_def_count field.
|
|
|
|
|
* ldlang.c (hash_entry_addr_cmp): New function.
|
|
|
|
|
(print_all_symbols): Sort the symbols by address before printing them.
|
|
|
|
|
|
2009-08-10 07:50:56 +00:00
|
|
|
|
2009-08-10 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
PR 10474
|
|
|
|
|
* ldemul.c (after_allocation_default): Run lang_relax_sections.
|
|
|
|
|
* ldlang.h (lang_relax_sections): Declare.
|
|
|
|
|
* ldlang.c (relax_sections): Delete.
|
|
|
|
|
(lang_relax_sections): New function.
|
|
|
|
|
(lang_process): Don't relax directly from here.
|
|
|
|
|
* emultempl/alphaelf.em (alpha_finish): Call finish_default.
|
|
|
|
|
* emultempl/armelf.em (arm_elf_after_allocation): Delete. Move body..
|
|
|
|
|
(gld${EMULATION_NAME}_finish): ..to here. Move existing code..
|
|
|
|
|
(gld${EMULATION_NAME}_after_allocation): ..to here. New function.
|
|
|
|
|
(LDEMUL_AFTER_ALLOCATION): Update.
|
|
|
|
|
* emultempl/avrelf.em (avr_elf_finish, LDEMUL_FINISH): Delete.
|
|
|
|
|
(avr_elf_after_allocation): New function.
|
|
|
|
|
(LDEMUL_AFTER_ALLOCATION): Define.
|
|
|
|
|
* emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Call
|
|
|
|
|
lang_relax_sections.
|
|
|
|
|
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Delete. Move..
|
|
|
|
|
(gld${EMULATION_NAME}_after_allocation): ..code to here. New function.
|
|
|
|
|
(LDEMUL_AFTER_ALLOCATION, LDEMUL_FINISH): Update.
|
|
|
|
|
* emultempl/genelf.em (gld${EMULATION_NAME}_finish): Delete. Move..
|
|
|
|
|
(gld${EMULATION_NAME}_after_allocation): ..code to here. New function.
|
|
|
|
|
(LDEMUL_FINISH): Delete.
|
|
|
|
|
(LDEMUL_AFTER_ALLOCATION): Define.
|
|
|
|
|
* emultempl/hppaelf.em (gld${EMULATION_NAME}_finish): Delete. Move..
|
|
|
|
|
(gld${EMULATION_NAME}_after_allocation): ..to here. New function.
|
|
|
|
|
(LDEMUL_FINISH): Delete.
|
|
|
|
|
(LDEMUL_AFTER_ALLOCATION): Define.
|
|
|
|
|
* emultempl/m68hc1xelf.em (m68hc11elf_finish): Delete. Move..
|
|
|
|
|
(m68hc11elf_after_allocation): ..to here. New function.
|
|
|
|
|
(LDEMUL_FINISH): Delete.
|
|
|
|
|
(LDEMUL_AFTER_ALLOCATION): Define.
|
|
|
|
|
* emultempl/m68kelf.em (m68k_elf_after_allocation): Call
|
|
|
|
|
gld${EMULATION_NAME}_after_allocation.
|
|
|
|
|
* emultempl/mmix-elfnmmo.em (mmix_after_allocation): Call
|
|
|
|
|
gld${EMULATION_NAME}_after_allocation.
|
|
|
|
|
* emultempl/mmo.em (mmo_finish): Delete. Move body..
|
|
|
|
|
(gld${EMULATION_NAME}_after_allocation): ..to here. New function.
|
|
|
|
|
(LDEMUL_FINISH): Define.
|
|
|
|
|
* emultempl/ppc64elf.em (ppc_layout_sections_again): Set elf_gp.
|
|
|
|
|
(gld${EMULATION_NAME}_finish): Move code sizing sections..
|
|
|
|
|
(gld${EMULATION_NAME}_after_allocation): ..to here.
|
|
|
|
|
* emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
|
|
|
|
|
Call gld${EMULATION_NAME}_after_allocation.
|
|
|
|
|
* emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Delete
|
|
|
|
|
bfd_elf_discard_info and map_segments call.
|
|
|
|
|
|
Add support for Xilinx MicroBlaze processor.
* bfd/Makefile.am: Add cpu-microblaze.{lo,c}, elf32-microblaze.{lo,c}.
* bfd/Makefile.in: Same.
* bfd/archures.c: Add bfd_arch_microblaze.
* bfd/bfd-in2.h: Regenerate.
* bfd/config.bfd: Add microblaze target.
* bfd/configure: Add bfd_elf32_microblaze_vec target.
* bfd/configure.in: Same.
* bfd/cpu-microblaze.c: New.
* bfd/elf32-microblaze.c: New.
* bfd/libbfd-in.h: Add prototype _bfd_dwarf2_fixup_section_debug_loc().
* bfd/libbfd.h: Regenerate.
* bfd/reloc.c: Add MICROBLAZE relocations.
* bfd/section.c: Add struct relax_table and relax_count to section.
* bfd/targets.c: Add bfd_elf32_microblaze_vec.
* binutils/MAINTAINERS: Add self as maintainer.
* binutils/readelf.c: Include elf/microblaze.h, add EM_MICROBLAZE &
EM_MICROBLAZE_OLD to guess_is_rela(), dump_relocations(),
get_machine_name().
* config.sub: Add microblaze target.
* configure: Same.
* configure.ac: Same.
* gas/Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
DEP_microblaze_elf target.
* gas/Makefile.in: Same.
* gas/config/tc-microblaze.c: Add MicroBlaze assembler.
* gas/config/tc-microblaze.h: Add header for tc-microblaze.c.
* gas/configure: Add microblaze target.
* gas/configure.in: Same.
* gas/configure.tgt: Same.
* gas/doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
* gas/doc/Makefile.in: Same.
* gas/doc/all.texi: Set MICROBLAZE.
* gas/doc/as.texinfo: Add MicroBlaze doc links.
* gas/doc/c-microblaze.texi: New MicroBlaze docs.
* include/dis-asm.h: Decl print_insn_microblaze().
* include/elf/common.h: Define EM_MICROBLAZE & EM_MICROBLAZE_OLD.
* include/elf/microblaze.h: New reloc definitions.
* ld/Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to
ALL_EMULATIONS, targets.
* ld/Makefile.in: Same.
* ld/configure.tgt: Add microblaze*-linux*, microblaze* targets.
* ld/emulparams/elf32mb_linux.sh: New.
* ld/emulparams/elf32microblaze.sh. New.
* ld/scripttempl/elfmicroblaze.sc: New.
* opcodes/Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
* opcodes/Makefile.in: Same.
* opcodes/configure: Add bfd_microblaze_arch target.
* opcodes/configure.in: Same.
* opcodes/disassemble.c: Define ARCH_microblaze, return
print_insn_microblaze().
* opcodes/microblaze-dis.c: New MicroBlaze disassembler.
* opcodes/microblaze-opc.h: New MicroBlaze opcode definitions.
* opcodes/microblaze-opcm.h: New MicroBlaze opcode types.
2009-08-06 17:38:04 +00:00
|
|
|
|
2009-08-06 Michael Eager <eager@eagercon.com>
|
|
|
|
|
|
2009-09-23 13:54:29 +00:00
|
|
|
|
* Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to
|
Add support for Xilinx MicroBlaze processor.
* bfd/Makefile.am: Add cpu-microblaze.{lo,c}, elf32-microblaze.{lo,c}.
* bfd/Makefile.in: Same.
* bfd/archures.c: Add bfd_arch_microblaze.
* bfd/bfd-in2.h: Regenerate.
* bfd/config.bfd: Add microblaze target.
* bfd/configure: Add bfd_elf32_microblaze_vec target.
* bfd/configure.in: Same.
* bfd/cpu-microblaze.c: New.
* bfd/elf32-microblaze.c: New.
* bfd/libbfd-in.h: Add prototype _bfd_dwarf2_fixup_section_debug_loc().
* bfd/libbfd.h: Regenerate.
* bfd/reloc.c: Add MICROBLAZE relocations.
* bfd/section.c: Add struct relax_table and relax_count to section.
* bfd/targets.c: Add bfd_elf32_microblaze_vec.
* binutils/MAINTAINERS: Add self as maintainer.
* binutils/readelf.c: Include elf/microblaze.h, add EM_MICROBLAZE &
EM_MICROBLAZE_OLD to guess_is_rela(), dump_relocations(),
get_machine_name().
* config.sub: Add microblaze target.
* configure: Same.
* configure.ac: Same.
* gas/Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
DEP_microblaze_elf target.
* gas/Makefile.in: Same.
* gas/config/tc-microblaze.c: Add MicroBlaze assembler.
* gas/config/tc-microblaze.h: Add header for tc-microblaze.c.
* gas/configure: Add microblaze target.
* gas/configure.in: Same.
* gas/configure.tgt: Same.
* gas/doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
* gas/doc/Makefile.in: Same.
* gas/doc/all.texi: Set MICROBLAZE.
* gas/doc/as.texinfo: Add MicroBlaze doc links.
* gas/doc/c-microblaze.texi: New MicroBlaze docs.
* include/dis-asm.h: Decl print_insn_microblaze().
* include/elf/common.h: Define EM_MICROBLAZE & EM_MICROBLAZE_OLD.
* include/elf/microblaze.h: New reloc definitions.
* ld/Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to
ALL_EMULATIONS, targets.
* ld/Makefile.in: Same.
* ld/configure.tgt: Add microblaze*-linux*, microblaze* targets.
* ld/emulparams/elf32mb_linux.sh: New.
* ld/emulparams/elf32microblaze.sh. New.
* ld/scripttempl/elfmicroblaze.sc: New.
* opcodes/Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
* opcodes/Makefile.in: Same.
* opcodes/configure: Add bfd_microblaze_arch target.
* opcodes/configure.in: Same.
* opcodes/disassemble.c: Define ARCH_microblaze, return
print_insn_microblaze().
* opcodes/microblaze-dis.c: New MicroBlaze disassembler.
* opcodes/microblaze-opc.h: New MicroBlaze opcode definitions.
* opcodes/microblaze-opcm.h: New MicroBlaze opcode types.
2009-08-06 17:38:04 +00:00
|
|
|
|
ALL_EMULATIONS, targets.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* configure.tgt: Add microblaze*-linux*, microblaze* targets.
|
|
|
|
|
* emulparams/elf32mb_linux.sh: New.
|
|
|
|
|
* emulparams/elf32microblaze.sh. New.
|
2009-09-23 13:54:29 +00:00
|
|
|
|
* scripttempl/elfmicroblaze.sc: New.
|
Add support for Xilinx MicroBlaze processor.
* bfd/Makefile.am: Add cpu-microblaze.{lo,c}, elf32-microblaze.{lo,c}.
* bfd/Makefile.in: Same.
* bfd/archures.c: Add bfd_arch_microblaze.
* bfd/bfd-in2.h: Regenerate.
* bfd/config.bfd: Add microblaze target.
* bfd/configure: Add bfd_elf32_microblaze_vec target.
* bfd/configure.in: Same.
* bfd/cpu-microblaze.c: New.
* bfd/elf32-microblaze.c: New.
* bfd/libbfd-in.h: Add prototype _bfd_dwarf2_fixup_section_debug_loc().
* bfd/libbfd.h: Regenerate.
* bfd/reloc.c: Add MICROBLAZE relocations.
* bfd/section.c: Add struct relax_table and relax_count to section.
* bfd/targets.c: Add bfd_elf32_microblaze_vec.
* binutils/MAINTAINERS: Add self as maintainer.
* binutils/readelf.c: Include elf/microblaze.h, add EM_MICROBLAZE &
EM_MICROBLAZE_OLD to guess_is_rela(), dump_relocations(),
get_machine_name().
* config.sub: Add microblaze target.
* configure: Same.
* configure.ac: Same.
* gas/Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
DEP_microblaze_elf target.
* gas/Makefile.in: Same.
* gas/config/tc-microblaze.c: Add MicroBlaze assembler.
* gas/config/tc-microblaze.h: Add header for tc-microblaze.c.
* gas/configure: Add microblaze target.
* gas/configure.in: Same.
* gas/configure.tgt: Same.
* gas/doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
* gas/doc/Makefile.in: Same.
* gas/doc/all.texi: Set MICROBLAZE.
* gas/doc/as.texinfo: Add MicroBlaze doc links.
* gas/doc/c-microblaze.texi: New MicroBlaze docs.
* include/dis-asm.h: Decl print_insn_microblaze().
* include/elf/common.h: Define EM_MICROBLAZE & EM_MICROBLAZE_OLD.
* include/elf/microblaze.h: New reloc definitions.
* ld/Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to
ALL_EMULATIONS, targets.
* ld/Makefile.in: Same.
* ld/configure.tgt: Add microblaze*-linux*, microblaze* targets.
* ld/emulparams/elf32mb_linux.sh: New.
* ld/emulparams/elf32microblaze.sh. New.
* ld/scripttempl/elfmicroblaze.sc: New.
* opcodes/Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
* opcodes/Makefile.in: Same.
* opcodes/configure: Add bfd_microblaze_arch target.
* opcodes/configure.in: Same.
* opcodes/disassemble.c: Define ARCH_microblaze, return
print_insn_microblaze().
* opcodes/microblaze-dis.c: New MicroBlaze disassembler.
* opcodes/microblaze-opc.h: New MicroBlaze opcode definitions.
* opcodes/microblaze-opcm.h: New MicroBlaze opcode types.
2009-08-06 17:38:04 +00:00
|
|
|
|
|
2009-08-05 20:40:34 +00:00
|
|
|
|
2009-08-05 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup
|
|
|
|
|
section and __fixup_start symbol.
|
|
|
|
|
* emultempl/spuelf.em (params): Initialize emit_fixups member.
|
|
|
|
|
(spu_before_allocation): Call spu_elf_size_sections.
|
|
|
|
|
(OPTION_SPU_EMIT_FIXUPS): Define.
|
|
|
|
|
(PARSE_AND_LIST_LONGOPTS): Add --emit-fixups.
|
|
|
|
|
(PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups.
|
|
|
|
|
* ld.texinfo (--emit-fixups): Document.
|
|
|
|
|
|
2009-08-04 08:15:24 +00:00
|
|
|
|
2009-08-04 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
2009-09-29 02:24:56 +00:00
|
|
|
|
PR 10474
|
2009-08-04 08:15:24 +00:00
|
|
|
|
* emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize,
|
|
|
|
|
not size, after lang_reset_memory_regions.
|
|
|
|
|
|
2009-07-29 14:59:23 +00:00
|
|
|
|
2009-07-30 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32ppc.sh (PLT): Don't include ".iplt".
|
|
|
|
|
* emulparams/elf_i386.sh (IREL_IN_PLT): Define.
|
|
|
|
|
* emulparams/elf_x86_64.sh (IREL_IN_PLT): Define.
|
|
|
|
|
* scripttempl/elf.sc: Create separate .iplt and .rela.iplt sections
|
|
|
|
|
when !IREL_IN_PLT.
|
|
|
|
|
|
2009-07-29 00:25:22 +00:00
|
|
|
|
2009-07-29 Hans-Peter Nilsson <hp@bitrange.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to
|
|
|
|
|
the new $RELOCATEABLE_OUTPUT_FORMAT, if set.
|
|
|
|
|
(OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT.
|
|
|
|
|
(ENTRY): Don't emit for relocateable links.
|
|
|
|
|
(/DISCARD/): Don't discard .gnu.warning.* for relocateable links.
|
|
|
|
|
* emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to
|
|
|
|
|
elf64-mmix.
|
|
|
|
|
* emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't
|
|
|
|
|
provide "Main" or set "_start.", for relocateable links.
|
|
|
|
|
|
2009-07-27 15:07:38 +00:00
|
|
|
|
2009-07-27 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* (po/fi.po): Updated Finnish translation.
|
|
|
|
|
|
2009-07-25 14:58:58 +00:00
|
|
|
|
2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64
|
|
|
|
|
is supported. Add elf_l1om_fbsd if elf_x86_64_fbsd is supported.
|
|
|
|
|
(targ_extra_emuls): Likewise.
|
|
|
|
|
|
|
|
|
|
* Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and
|
|
|
|
|
eelf_l1om_fbsd.o
|
|
|
|
|
(eelf_l1om.c): New.
|
|
|
|
|
(eelf_l1om_fbsd.c): Likewise.
|
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
|
|
|
|
|
* emulparams/elf_l1om.sh: New.
|
|
|
|
|
* emulparams/elf_l1om_fbsd.sh: Likewise.
|
|
|
|
|
|
2009-07-23 13:00:30 +00:00
|
|
|
|
2009-07-23 Ulrich Drepper <drepper@redhat.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention the linker's support for symbols with a binding of
|
|
|
|
|
STB_GNU_UNIQUE.
|
|
|
|
|
|
2009-07-23 00:08:22 +00:00
|
|
|
|
2009-07-22 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/10429
|
|
|
|
|
* ldlang.c (insert_os_after): Tie assignments to non-alloc
|
|
|
|
|
output sections if there is no-input section.
|
|
|
|
|
|
2009-07-11 00:10:29 +00:00
|
|
|
|
2009-07-11 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (insert_os_after): Don't tie assignments to non-alloc
|
|
|
|
|
output sections.
|
|
|
|
|
|
2009-07-10 12:29:40 +00:00
|
|
|
|
2009-07-10 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/ppc32elf.em (ppc_before_allocation): Turn on
|
|
|
|
|
linker relaxation if it might be necessary.
|
|
|
|
|
|
2009-07-10 12:19:58 +00:00
|
|
|
|
2009-07-10 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt.
|
|
|
|
|
|
2009-07-06 13:48:51 +00:00
|
|
|
|
2009-07-06 Matthias Klose <doko@ubuntu.com>
|
|
|
|
|
|
2009-07-23 00:08:22 +00:00
|
|
|
|
* ld.texinfo: Fix typo.
|
2009-07-06 13:48:51 +00:00
|
|
|
|
|
2009-07-03 10:44:57 +00:00
|
|
|
|
2009-07-03 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/pep.sc: Put .eh_frame in its own section.
|
|
|
|
|
* scripttempl/pe.sc: Ditto.
|
2009-09-23 13:54:29 +00:00
|
|
|
|
|
2009-06-26 17:23:10 +00:00
|
|
|
|
2009-06-26 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/pe.sc (.debug_pubtypes): Added section rule.
|
|
|
|
|
* scripttempl/pep.sc: Likewise.
|
|
|
|
|
|
2009-06-25 13:18:46 +00:00
|
|
|
|
2009-06-25 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (print_input_section): Add is_discarded parameter. Adjust
|
|
|
|
|
prototype.
|
|
|
|
|
(lang_map): Print the size of discarded sections.
|
|
|
|
|
(print_statement): Adjust call to print_input_section.
|
|
|
|
|
|
2009-06-18 02:11:03 +00:00
|
|
|
|
2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
2009-06-18 10:41:42 +00:00
|
|
|
|
Merge cegcc and mingw32ce target name changes from CeGCC project:
|
2009-06-18 02:11:03 +00:00
|
|
|
|
|
2009-06-18 10:41:42 +00:00
|
|
|
|
2008-09-24 Pedro Alves <pedroalves@users.sourceforge.net>
|
2009-06-18 02:11:03 +00:00
|
|
|
|
|
|
|
|
|
* configure.tgt (arm*-*-cegcc*): Set LIB_PATH to
|
|
|
|
|
${tooldir}/lib/w32api.
|
|
|
|
|
|
2009-06-18 10:41:42 +00:00
|
|
|
|
2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
|
2009-06-18 02:11:03 +00:00
|
|
|
|
|
|
|
|
|
* configure.tgt: Add arm*-*-cegcc* target.
|
|
|
|
|
|
2009-06-18 10:41:42 +00:00
|
|
|
|
2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
|
2009-06-18 02:11:03 +00:00
|
|
|
|
|
|
|
|
|
* configure.tgt: Add arm-*-mingw32ce* target.
|
|
|
|
|
|
2009-06-12 14:27:21 +00:00
|
|
|
|
2009-06-10 Philip Blundell <philb@gnu.org>
|
|
|
|
|
|
|
|
|
|
* emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash
|
|
|
|
|
if section has no ELF data.
|
|
|
|
|
|
2009-06-06 22:39:25 +00:00
|
|
|
|
2009-06-06 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc.
|
|
|
|
|
|
2009-06-05 16:49:16 +00:00
|
|
|
|
2009-06-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn.
|
|
|
|
|
|
2009-06-04 06:57:56 +00:00
|
|
|
|
2009-06-04 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* dep-in.sed: Don't use \n in replacement part of s command.
|
|
|
|
|
* Makefile.am (DEP1): LC_ALL for uniq.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-06-01 12:53:00 +00:00
|
|
|
|
2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf.sc (PLT): Add "*(.iplt)".
|
|
|
|
|
(GOT): Add "*(.igot.plt)a" and "*(.igot)".
|
|
|
|
|
(GOTPLT): Add "*(.igot)".
|
|
|
|
|
(__rel_iplt_start): New.
|
|
|
|
|
(__rel_iplt_end): Likewise.
|
|
|
|
|
(__rela_iplt_start): Likewise.
|
|
|
|
|
(__rela_iplt_end): Likewise.
|
|
|
|
|
|
2009-05-27 18:40:56 +00:00
|
|
|
|
2009-05-27 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* deffilep.y (%union): Add new string-type semantic value 'digits'.
|
|
|
|
|
(%token): Remove NUMBER as token, add DIGITS.
|
|
|
|
|
(%type): Add NUMBER as type. Add new id types anylang_id, opt_id.
|
|
|
|
|
(ALIGNCOMM): Parse an anylang_id instead of a plain ID.
|
|
|
|
|
(anylang_id): New production.
|
|
|
|
|
(opt_digits): Likewise.
|
|
|
|
|
(opt_id): Likewise.
|
|
|
|
|
(NUMBER): Likewise.
|
|
|
|
|
(def_lex): Return strings of digits in raw string form as DIGITS
|
|
|
|
|
token, instead of converting to numeric integer type.
|
|
|
|
|
|
2009-05-27 13:31:24 +00:00
|
|
|
|
2009-05-26 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ldmain.c (main): Don't reject --relax -r.
|
|
|
|
|
* ld.texinfo (PowerPC ELF32): Document behaviour of relaxing
|
|
|
|
|
partial links.
|
|
|
|
|
|
2009-05-26 16:49:41 +00:00
|
|
|
|
2009-05-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/id.po: Updated Indonesian translation.
|
|
|
|
|
* po/ld.pot: Updated template file.
|
|
|
|
|
|
2009-05-26 03:20:10 +00:00
|
|
|
|
2009-05-26 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* dep-in.sed: Output one filename per line with all lines having
|
|
|
|
|
continuation backslash. Prefix first line with "A", following
|
|
|
|
|
lines with "B".
|
|
|
|
|
* Makefile.am (DEP): Don't use dep.sed here.
|
|
|
|
|
(DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
|
|
|
|
|
sort and uniq.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-05-26 01:20:39 +00:00
|
|
|
|
2009-05-26 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
|
|
|
|
|
|
ld/
* emultempl/armelf.em (fix_cortex_a8): New.
(arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix.
(arm_elf_create_output_section_statements): Add fix_cortex_a8 to
bfd_elf32_arm_set_target_relocs.
(OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New.
(PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options.
(PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options.
(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8.
* ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options.
bfd/
* elf32-arm.c (THUMB16_BCOND_INSN, THUMB32_INSN, THUMB32_B_INSN):
New macros.
(elf32_arm_stub_a8_veneer_b_cond, elf32_arm_stub_a8_veneer_b)
(elf32_arm_stub_a8_veneer_blx): New stub sequences.
(elf32_arm_stub_type): Add arm_stub_a8_veneer_b_cond,
arm_stub_a8_veneer_b and arm_stub_a8_veneer_blx.
(elf32_arm_stub_hash_entry): Add target_addend, orig_insn fields.
(a8_erratum_fix, a8_erratum_reloc): New structs.
(elf32_arm_link_hash_table): Add a8_erratum_fixes,
num_a8_erratum_fixes, fix_cortex_a8 fields.
(elf32_arm_link_hash_table_create): Zero fix_cortex_a8.
(elf32_arm_add_stub): Split into two parts, creating...
(elf32_arm_create_or_find_stub_sec): New function.
(elf32_arm_final_link_relocate): Add forward declaration.
(arm_build_one_stub): Add support for THUMB32_TYPE, Thumb-2
relocations, multiple relocations per stub.
(find_stub_size_and_template): New (using parts of
arm_size_one_stub).
(arm_size_one_stub): Use find_stub_size_and_template.
(a8_reloc_compare): New.
(find_thumb_glue): Add forward declaration.
(cortex_a8_erratum_scan): New.
(elf32_arm_size_stubs): Add Cortex-A8 erratum workaround support.
(bfd_elf32_arm_set_cortex_a8_fix): New.
(bfd_elf32_arm_set_target_relocs): Add fix_cortex_a8 argument.
(arm_map_one_stub): Add THUMB32_TYPE support.
(a8_branch_to_stub_data): New.
(make_branch_to_a8_stub): New.
(elf32_arm_write_section): Add Cortex-A8 erratum workaround support.
* bfd-in.h (bfd_elf32_arm_set_cortex_a8_fix): New.
(bfd_elf32_arm_set_target_relocs): Add argument for controlling
Cortex-A8 erratum workaround.
* bfd-in2.h: Regenerate.
ld/testsuite/
* ld-arm/cortex-a8-arm-target.s: New.
* ld-arm/cortex-a8-thumb-target.s: New.
* ld-arm/cortex-a8-fix-b-rel.s: New.
* ld-arm/cortex-a8-fix-b-rel-arm.d: New.
* ld-arm/cortex-a8-fix-b-rel-thumb.d: New.
* ld-arm/cortex-a8-fix-b.s: New.
* ld-arm/cortex-a8-fix-b.d: New.
* ld-arm/cortex-a8-fix-bl-rel.s: New.
* ld-arm/cortex-a8-fix-bl-rel-arm.d: New.
* ld-arm/cortex-a8-fix-bl-rel-thumb.d: New.
* ld-arm/cortex-a8-fix-bl.s: New.
* ld-arm/cortex-a8-fix-bl.d: New.
* ld-arm/cortex-a8-fix-bcc-rel.s: New.
* ld-arm/cortex-a8-fix-bcc-rel-thumb.d: New.
* ld-arm/cortex-a8-fix-bcc.s: New.
* ld-arm/cortex-a8-fix-bcc.d: New.
* ld-arm/cortex-a8-fix-blx-rel.s: New.
* ld-arm/cortex-a8-fix-blx-rel-arm.d: New.
* ld-arm/cortex-a8-fix-blx-rel-thumb.d: New.
* ld-arm/cortex-a8-fix-blx.s: New.
* ld-arm/cortex-a8-fix-blx.d: New.
* ld-arm/arm-elf.exp: Add new tests.
2009-05-22 11:58:45 +00:00
|
|
|
|
2009-05-22 Julian Brown <julian@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/armelf.em (fix_cortex_a8): New.
|
|
|
|
|
(arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix.
|
|
|
|
|
(arm_elf_create_output_section_statements): Add fix_cortex_a8 to
|
|
|
|
|
bfd_elf32_arm_set_target_relocs.
|
|
|
|
|
(OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New.
|
|
|
|
|
(PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options.
|
|
|
|
|
(PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options.
|
|
|
|
|
(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8.
|
|
|
|
|
* ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options.
|
|
|
|
|
|
2009-05-22 11:27:44 +00:00
|
|
|
|
2009-05-22 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_check_section_addresses): Ignore non-loadable
|
|
|
|
|
sections when checking for overlap. Clarify error message
|
|
|
|
|
concerns load address.
|
|
|
|
|
|
2009-05-22 09:33:16 +00:00
|
|
|
|
2009-05-22 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Run "make dep-am".
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-05-19 16:08:08 +00:00
|
|
|
|
2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention new feature.
|
|
|
|
|
* deffile.h (def_file_aligncomm): Add new struct definition.
|
|
|
|
|
(def_file): Add new def_file_aligncomm member.
|
|
|
|
|
* deffilep.y (%token): Add new ALIGNCOMM token.
|
|
|
|
|
(command): Add production rule for ALIGNCOMM.
|
|
|
|
|
(def_file_free): Free any chained def_file_aligncomm structs.
|
|
|
|
|
(diropts[]): Add entry for '-aligncomm' .drectve command.
|
|
|
|
|
(def_aligncomm): New grammar function.
|
|
|
|
|
* ld.texinfo: Document new feature.
|
|
|
|
|
* pe-dll.c (process_def_file): Rename from this ...
|
|
|
|
|
(process_def_file_and_drectve): ... to this, updating all callers,
|
|
|
|
|
and process any aligncomms chained to the def file after scanning
|
|
|
|
|
all .drectve sections.
|
|
|
|
|
(generate_edata): Updated to match.
|
|
|
|
|
(pe_dll_build_sections): Likewise.
|
|
|
|
|
|
2009-05-20 16:02:54 +00:00
|
|
|
|
2009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
|
2009-05-17 05:10:21 +00:00
|
|
|
|
|
|
|
|
|
* pe-dll.c (process_def_file): Do not create empty export table.
|
|
|
|
|
|
ld/
* ldlang.c (lang_output_section_statement_lookup): Add function
comment. Make "name" non-const. Ensure duplicate entries use
the same string, allowing simple comparison in hash bucket loop.
Tweak constraint check.
(next_matching_output_section_statement): New function.
* ldlang.h (lang_output_section_statement_lookup): Update.
(next_matching_output_section_statement): Declare.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
combine orphan sections when input sections flags differ in
alloc or load.
* emultempl/pe.em: Formatting throughout.
(gld${EMULATION_NAME}_place_orphan): As for elf32.em.
* emultempl/pep.em: Formatting throughout.
(gld${EMULATION_NAME}_place_orphan): As for elf32.em.
ld/testsuite/
* ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s,
* ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s,
* ld-elf/orphan3f.s: New test.
* ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s,
* ld-pe/orphand.s, * ld-pe/orphane.s: New test.
* ld-pe/direct.exp: Use is_pecoff_format.
* ld-pe/longsecn.exp: Delete.
* ld-pe/pe.exp: Run new test and longsecn tests.
2009-05-15 14:22:36 +00:00
|
|
|
|
2009-05-15 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_output_section_statement_lookup): Add function
|
|
|
|
|
comment. Make "name" non-const. Ensure duplicate entries use
|
|
|
|
|
the same string, allowing simple comparison in hash bucket loop.
|
|
|
|
|
Tweak constraint check.
|
|
|
|
|
(next_matching_output_section_statement): New function.
|
|
|
|
|
* ldlang.h (lang_output_section_statement_lookup): Update.
|
|
|
|
|
(next_matching_output_section_statement): Declare.
|
|
|
|
|
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
|
|
|
|
|
combine orphan sections when input sections flags differ in
|
|
|
|
|
alloc or load.
|
|
|
|
|
* emultempl/pe.em: Formatting throughout.
|
|
|
|
|
(gld${EMULATION_NAME}_place_orphan): As for elf32.em.
|
|
|
|
|
* emultempl/pep.em: Formatting throughout.
|
|
|
|
|
(gld${EMULATION_NAME}_place_orphan): As for elf32.em.
|
|
|
|
|
|
2009-05-14 16:56:09 +00:00
|
|
|
|
2009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use
|
|
|
|
|
compact stubs with software i-cache.
|
|
|
|
|
|
2009-05-14 04:30:03 +00:00
|
|
|
|
2009-05-14 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/spuelf.em (spu_before_allocation): Call
|
|
|
|
|
spu_elf_place_overlay_data.
|
|
|
|
|
|
2009-05-14 02:21:45 +00:00
|
|
|
|
2009-05-14 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_insert_orphan): Add __start_<section> symbol
|
|
|
|
|
assignment inside output section statement. Ensure only one
|
|
|
|
|
set of symbols per output section.
|
|
|
|
|
* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non-
|
|
|
|
|
dollar sections before dollar sections. Correct add_child
|
|
|
|
|
list insertion.
|
|
|
|
|
* emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
|
|
|
|
|
|
2009-05-05 14:18:30 +00:00
|
|
|
|
2009-05-05 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/armelf.em (compare_output_sec_vma): New function.
|
|
|
|
|
(gld${EMULATION_NAME}_finish): Add exidx munging code.
|
|
|
|
|
|
2009-05-05 11:28:36 +00:00
|
|
|
|
2009-05-05 Anatoly Sokolov <aesok@post.ru>
|
|
|
|
|
|
|
|
|
|
* scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
|
|
|
|
|
* emulparams/avr1.sh (DATA_ORIGIN): Add.
|
|
|
|
|
* emulparams/avr2.sh (DATA_ORIGIN): Add.
|
|
|
|
|
* emulparams/avr25.sh (DATA_ORIGIN): Add.
|
|
|
|
|
* emulparams/avr3.sh (DATA_ORIGIN): Add.
|
|
|
|
|
* emulparams/avr31.sh (DATA_ORIGIN): Add.
|
|
|
|
|
* emulparams/avr35.sh (DATA_ORIGIN): Add.
|
|
|
|
|
* emulparams/avr4.sh (DATA_ORIGIN): Add.
|
|
|
|
|
* emulparams/avr5.sh (DATA_ORIGIN): Add.
|
|
|
|
|
* emulparams/avr51.sh (DATA_ORIGIN): Add.
|
|
|
|
|
(DATA_LENGTH): Update.
|
|
|
|
|
* emulparams/avr6.sh (DATA_ORIGIN): Add.
|
|
|
|
|
(DATA_LENGTH): Update.
|
|
|
|
|
|
2009-05-04 12:09:30 +00:00
|
|
|
|
2009-05-04 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention new feature.
|
|
|
|
|
* ld.texinfo (--version-script): Document extent of PE support.
|
|
|
|
|
(WIN32): Mention --version-script. Extend auto-export description.
|
|
|
|
|
* pe-dll.c (process_def_file): Use version script info to filter
|
|
|
|
|
symbols from auto-export.
|
|
|
|
|
* testsuite/ld-pe/vers-script-1.d: New file.
|
|
|
|
|
* testsuite/ld-pe/vers-script-2.d: New file.
|
|
|
|
|
* testsuite/ld-pe/vers-script-3.d: New file.
|
|
|
|
|
* testsuite/ld-pe/vers-script-4.d: New file.
|
|
|
|
|
* testsuite/ld-pe/vers-script-1.ver: New file.
|
|
|
|
|
* testsuite/ld-pe/vers-script-2.ver: New file.
|
|
|
|
|
* testsuite/ld-pe/vers-script-3.ver: New file.
|
|
|
|
|
* testsuite/ld-pe/vers-script-4.ver: New file.
|
|
|
|
|
* testsuite/ld-pe/vers-script-dll.c: New file.
|
|
|
|
|
* testsuite/ld-pe/vers-script.exp: New test script.
|
|
|
|
|
|
2009-05-01 15:23:42 +00:00
|
|
|
|
2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/vxworks.sh (TEXT_START_ADDR): Override.
|
|
|
|
|
|
2009-04-30 15:47:13 +00:00
|
|
|
|
2009-04-30 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention support for IFUNC symbols.
|
|
|
|
|
|
2009-04-30 04:29:23 +00:00
|
|
|
|
2009-04-29 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32moxie.sh (STACK_ADDR): Move default stack
|
|
|
|
|
position out to accommodate larger programs.
|
|
|
|
|
|
2009-04-29 17:24:27 +00:00
|
|
|
|
2009-04-29 Chris Demetriou <cgd@google.com>
|
|
|
|
|
|
|
|
|
|
* lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC.
|
|
|
|
|
(ld_options): Likewise.
|
|
|
|
|
(parse_args): Likewise.
|
|
|
|
|
* ld.texinfo: Document --no-export-dynamic.
|
|
|
|
|
* NEWS: Mention --no-export-dynamic.
|
|
|
|
|
|
2009-04-29 01:17:54 +00:00
|
|
|
|
2009-04-29 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
|
|
|
|
|
|
2009-04-24 15:06:15 +00:00
|
|
|
|
2009-04-25 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
2009-09-29 02:24:56 +00:00
|
|
|
|
PR 10061
|
2009-04-24 15:06:15 +00:00
|
|
|
|
* genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
|
|
|
|
|
param.
|
|
|
|
|
|
2009-04-21 22:05:04 +00:00
|
|
|
|
2009-04-21 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
|
|
|
|
|
(arm_elf_set_bfd_for_interworking): Delete.
|
|
|
|
|
(arm_elf_before_allocation): Do not set the interworking BFD.
|
|
|
|
|
Move allocation inside not-dynamic block.
|
|
|
|
|
(arm_elf_create_output_section_statements): Create glue sections
|
|
|
|
|
and set the interworking BFD here.
|
|
|
|
|
(LDEMUL_AFTER_OPEN): Delete.
|
|
|
|
|
|
2009-04-16 23:07:00 +00:00
|
|
|
|
2009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_one_common): Use bfd_define_common_symbol.
|
|
|
|
|
|
2009-04-16 15:39:48 +00:00
|
|
|
|
2009-04-15 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Add moxie support.
|
|
|
|
|
* Makefile.am: Add moxie files.
|
|
|
|
|
* Makefile.in: Rebuilt.
|
|
|
|
|
* emulparams/elf32moxie.sh: New file.
|
|
|
|
|
* scripttempl/moxie.sc: New file.
|
|
|
|
|
|
2009-04-15 03:22:42 +00:00
|
|
|
|
2009-04-15 Kazu Hirata <kazu@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c: Do not include limits.h.
|
|
|
|
|
|
2009-04-14 03:17:21 +00:00
|
|
|
|
2009-04-14 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
PR ld/10047
|
|
|
|
|
* ldfile.c (find_scripts_dir): Use make_relative_prefix to find
|
|
|
|
|
ldscripts in build tree. Don't repeat search for ../lib/ldscripts.
|
|
|
|
|
|
2009-04-14 02:47:22 +00:00
|
|
|
|
2009-04-13 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ldfile.c (ldfile_find_command_file): Revert the last change.
|
|
|
|
|
|
2009-04-11 14:06:56 +00:00
|
|
|
|
2009-04-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/10047
|
|
|
|
|
* ldfile.c (ldfile_find_command_file): First try raw name.
|
|
|
|
|
|
2009-04-09 16:06:48 +00:00
|
|
|
|
2009-04-09 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 9824
|
|
|
|
|
* ld.texinfo (Output Section Constraint): New node. Documents the
|
|
|
|
|
ONLY_IF_RO and ONLY_IF_RW constraints.
|
|
|
|
|
(Symbolic Constants): New node. Documents the CONSTANT operator.
|
|
|
|
|
|
2009-04-09 13:55:35 +00:00
|
|
|
|
2009-04-09 Thilo Fischer <thilo.fischer@uni-muenster.de>
|
|
|
|
|
|
|
|
|
|
* emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
|
|
|
|
|
of fork/execvp.
|
|
|
|
|
|
2009-04-08 16:04:50 +00:00
|
|
|
|
2009-04-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
|
|
|
|
|
(ld_options): Likewise.
|
|
|
|
|
(parse_args): Likewise.
|
|
|
|
|
|
|
|
|
|
* ld.texinfo: Document --warn-alternate-em.
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention --warn-alternate-em.
|
|
|
|
|
|
2009-04-08 02:24:23 +00:00
|
|
|
|
2009-04-07 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32mep.sh: Change default endian to little.
|
|
|
|
|
|
2009-04-07 08:07:08 +00:00
|
|
|
|
2009-04-07 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo (Output Section Address): Note that specifying an
|
|
|
|
|
address for an output section will only change the location
|
|
|
|
|
counter if the output section is used.
|
|
|
|
|
|
2009-04-06 01:21:09 +00:00
|
|
|
|
2009-04-06 Kazu Hirata <kazu@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ldfile.c (ldfile_find_command_file): Initialize result.
|
|
|
|
|
|
2009-04-06 00:47:09 +00:00
|
|
|
|
2009-04-06 Kazu Hirata <kazu@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo (-L): Mention that -L options do not affect how ld
|
|
|
|
|
searches for a linker script unless -T option is specified.
|
|
|
|
|
* ldfile.c (ldfile_find_command_file): Append the path obtained
|
|
|
|
|
from the program name to the search path instead of
|
|
|
|
|
prepending. Add a new parameter "default_only". Restrict the
|
|
|
|
|
search to the default script location if the new parameter is
|
|
|
|
|
true.
|
|
|
|
|
(ldfile_open_command_file_1): New.
|
|
|
|
|
(ldfile_open_command_file): Call ldfile_open_command_file_1.
|
|
|
|
|
(ldfile_open_default_command_file): New.
|
|
|
|
|
|
2009-04-03 07:45:28 +00:00
|
|
|
|
2009-04-03 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_leave_output_section_statement): Set lma_region
|
|
|
|
|
if it is not overridden and section is for the same vma region as
|
|
|
|
|
the previous section.
|
|
|
|
|
|
2009-04-02 14:42:41 +00:00
|
|
|
|
2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR ld/6744
|
|
|
|
|
* ld.texinfo (--export-dynamic): Mention --export-all-symbols.
|
|
|
|
|
* emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue
|
|
|
|
|
warning if --export-dynamic was passed on command-line.
|
|
|
|
|
* emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
|
|
|
|
|
|
2009-04-01 19:53:53 +00:00
|
|
|
|
2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New
|
|
|
|
|
function.
|
|
|
|
|
(ld_${EMULATION_NAME}_emulation): Use it.
|
|
|
|
|
|
2009-03-20 17:39:04 +00:00
|
|
|
|
2009-03-20 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/9970
|
|
|
|
|
* ldlang.c (lang_end): Warn missing entry symbol for -pie.
|
|
|
|
|
|
2009-03-19 07:04:12 +00:00
|
|
|
|
2009-03-19 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/spuelf.em (spu_before_allocation): Report errors from
|
|
|
|
|
spu_elf_find_overlays.
|
|
|
|
|
|
2009-03-18 12:11:38 +00:00
|
|
|
|
2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/6766
|
|
|
|
|
* lexsup.c (parse_args): Call ldlang_add_undef for -e.
|
|
|
|
|
|
2009-03-18 11:27:18 +00:00
|
|
|
|
2009-03-18 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld.h: Remove alloca handling.
|
|
|
|
|
|
2009-03-17 12:46:19 +00:00
|
|
|
|
2009-03-17 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/spu_icache.S: Add new entry to dummy handler.
|
|
|
|
|
* emultempl/spu_icache.o_c: Regenerate.
|
|
|
|
|
* emultempl/spuelf.em (params): Init new field.
|
|
|
|
|
(no_overlays): New static var.
|
|
|
|
|
(spu_before_allocation): Use it.
|
|
|
|
|
(OPTION_SPU_COMPACT_STUBS): Define.
|
|
|
|
|
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
|
|
|
|
|
(PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays
|
|
|
|
|
handling.
|
|
|
|
|
|
2009-03-17 05:33:00 +00:00
|
|
|
|
2009-03-17 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* configure.host (HOSTING_LIBS): Two dollars on shell variable
|
|
|
|
|
expansion to suit make.
|
|
|
|
|
|
2009-03-17 05:01:26 +00:00
|
|
|
|
2009-03-17 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
|
|
|
|
|
* Makefile.am (check-DEJAGNU): Set DO_COMPARE.
|
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
include/coff/
* xcoff.h (XCOFF_EXPALL, XCOFF_EXPFULL): New flags.
(xcoff_loader_info): Add auto_export_flags.
bfd/
* bfd-in.h (bfd_xcoff_size_dynamic_sections): Replace the
bfd_boolean export_defineds parameter with an unsigned int
auto_export_flags parameter.
* bfd-in2.h: Regenerate.
* xcofflink.c (xcoff_archive_contains_shared_object_p): New function,
split out from xcoff_build_ldsyms.
(xcoff_covered_by_expall_p): New function.
(xcoff_auto_export_p): New function, split out from xcoff_build_ldsyms
but with extra code to handle -bexpfull and -bexpall.
(xcoff_mark_auto_exports): New function.
(xcoff_build_ldsyms): Use xcoff_auto_export_p to decide whether
a function should be automatically exported.
(bfd_xcoff_size_dynamic_sections): Replace the export_defineds
parameter with an auto_export_flags parameter. Update ldinfo
accordingly. Use xcoff_mark_auto_exports to mark all automatically-
exported symbols.
ld/
* emultempl/aix.em (auto_export_flags): New variable.
(explicit_auto_export_flags): Likewise.
(OPTION_EXPALL, OPTION_EXPFULL): New enum values.
(OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
(gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
-bnoexpall and -bnoexpfull.
(gld${EMULATION_NAME}_handle_option): Handle them.
(gld${EMULATION_NAME}_before_allocation): Update the call to
bfd_size_dynamic_sections.
ld/testsuite/
* ld-powerpc/aix-export-1-all.dd, ld-powerpc/aix-export-1-full.dd,
ld-powerpc/aix-export-1a.s, ld-powerpc/aix-export-1b.s: New tests.
* ld-powerpc/aix52.exp: Run them.
2009-03-14 09:35:46 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/aix.em (auto_export_flags): New variable.
|
|
|
|
|
(explicit_auto_export_flags): Likewise.
|
|
|
|
|
(OPTION_EXPALL, OPTION_EXPFULL): New enum values.
|
|
|
|
|
(OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
|
|
|
|
|
(gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
|
|
|
|
|
-bnoexpall and -bnoexpfull.
|
|
|
|
|
(gld${EMULATION_NAME}_handle_option): Handle them.
|
|
|
|
|
(gld${EMULATION_NAME}_before_allocation): Update the call to
|
|
|
|
|
bfd_size_dynamic_sections.
|
|
|
|
|
|
include/coff/
* xcoff.h (XCOFF_CALLED, XCOFF_IMPORT): Update comments.
(XCOFF_WAS_UNDEFINED): New flag.
(xcoff_link_hash_table): Add an "rtld" field.
bfd/
* coff-rs6000.c (xcoff_ppc_relocate_section): Report relocations
against undefined symbols if the symbol's XCOFF_WAS_UNDEFINED
flag is set. Assert that all undefined symbols are either
imported or defined by a dynamic object.
* coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise.
* xcofflink.c (xcoff_link_add_symbols): Extend function-symbol
handling to all relocations. Only set XCOFF_CALLED for function
symbols.
(xcoff_find_function): New function, split out from...
(bfd_xcoff_export_symbol) ...here.
(xcoff_set_import_path): New function, split out from...
(bfd_xcoff_import_symbol): ...here. Remove assertion for old
meaning of XCOFF_CALLED.
(xcoff_mark_symbol): If we mark an undefined and unimported
symbol, find some way of defining it. If the symbol is a function
descriptor, fill in its definition automatically. If the symbol
is a function, mark its descriptor and allocate room for global
linkage code. Otherwise mark the symbol as implicitly imported.
Move the code for creating function descriptors from...
(xcoff_build_ldsyms): ...here. Use XCOFF_WAS_UNDEFINED to
check for symbols that were implicitly defined.
(xcoff_mark): Don't count any dynamic relocations against
function symbols.
(bfd_xcoff_size_dynamic_sections): Save the rtld parameter
in the xcoff link info.
(xcoff_link_input_bfd): Remove handling of undefined and
unexported symbols.
ld/
* emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
-berok and -bernotok control link_info.unresolved_syms_in_objects
and link_info.unresolved_syms_in_shared_libs instead of
force_make_executable.
ld/testsuite/
* ld-powerpc/aix-glink-1.ex, ld-powerpc/aix-glink-1.s,
ld-powerpc/aix-glink-1-32.dd, ld-powerpc/aix-glink-1-64.dd,
ld-powerpc/aix-glink-1-32.d, ld-powerpc/aix-glink-1-64.d: New tests.
* ld-powerpc/aix52.exp: Run them.
2009-03-14 09:17:32 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
|
|
|
|
|
-berok and -bernotok control link_info.unresolved_syms_in_objects
|
|
|
|
|
and link_info.unresolved_syms_in_shared_libs instead of
|
|
|
|
|
force_make_executable.
|
|
|
|
|
|
2009-03-14 09:15:12 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
|
|
|
|
|
config.dynamic_link to TRUE.
|
|
|
|
|
|
2009-03-14 09:14:30 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
|
|
|
|
|
.text, .data and .bss output sections as SEC_KEEP.
|
|
|
|
|
|
2009-03-14 09:11:38 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
|
|
|
|
|
|
include/ChangeLog
2009-03-12 Dave Korn <dave.korn.cygwin@gmail.com>
* coff/internal.h (struct internal_extra_pe_aouthdr): Correct type
of DllCharacteristics flags field to unsigned.
* coff/pe.h (IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
IMAGE_DLL_CHARACTERISTICS_NX_COMPAT,
IMAGE_DLLCHARACTERISTICS_NO_ISOLATION,
IMAGE_DLLCHARACTERISTICS_NO_SEH,
IMAGE_DLLCHARACTERISTICS_NO_BIND,
IMAGE_DLLCHARACTERISTICS_WDM_DRIVER,
IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE): New macros to
define flag bit values for DllCharacteristics field of PEAOUTHDR,
PEPAOUTHDR.
ld/ChangeLog
2009-03-12 Dave Korn <dave.korn.cygwin@gmail.com>
Danny Smith <dannysmith@users.sourceforge.net>
* emultmpl/pe.em (pe_dll_characteristics): New variable.
(OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
New macros for options to set DllCharacteristics flag bits.
(gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
(init): Add DllCharacteristics field.
(gld_${EMULATION_NAME}_list_options): List new options.
(gld${EMULATION_NAME}_handle_option): Handle new options.
* emultmpl/pep.em (pe_dll_characteristics): New variable.
(OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
New macros for options to set DllCharacteristics flags.
(gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
(init): Add DllCharacteristics field.
(gld_${EMULATION_NAME}_list_options): List new options.
(gld${EMULATION_NAME}_handle_option): Handle new options.
* ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
2009-03-14 03:30:26 +00:00
|
|
|
|
2009-03-14 Dave Korn <dave.korn.cygwin@gmail.com>
|
2009-07-23 00:08:22 +00:00
|
|
|
|
Danny Smith <dannysmith@users.sourceforge.net>
|
include/ChangeLog
2009-03-12 Dave Korn <dave.korn.cygwin@gmail.com>
* coff/internal.h (struct internal_extra_pe_aouthdr): Correct type
of DllCharacteristics flags field to unsigned.
* coff/pe.h (IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
IMAGE_DLL_CHARACTERISTICS_NX_COMPAT,
IMAGE_DLLCHARACTERISTICS_NO_ISOLATION,
IMAGE_DLLCHARACTERISTICS_NO_SEH,
IMAGE_DLLCHARACTERISTICS_NO_BIND,
IMAGE_DLLCHARACTERISTICS_WDM_DRIVER,
IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE): New macros to
define flag bit values for DllCharacteristics field of PEAOUTHDR,
PEPAOUTHDR.
ld/ChangeLog
2009-03-12 Dave Korn <dave.korn.cygwin@gmail.com>
Danny Smith <dannysmith@users.sourceforge.net>
* emultmpl/pe.em (pe_dll_characteristics): New variable.
(OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
New macros for options to set DllCharacteristics flag bits.
(gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
(init): Add DllCharacteristics field.
(gld_${EMULATION_NAME}_list_options): List new options.
(gld${EMULATION_NAME}_handle_option): Handle new options.
* emultmpl/pep.em (pe_dll_characteristics): New variable.
(OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
New macros for options to set DllCharacteristics flags.
(gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
(init): Add DllCharacteristics field.
(gld_${EMULATION_NAME}_list_options): List new options.
(gld${EMULATION_NAME}_handle_option): Handle new options.
* ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
2009-03-14 03:30:26 +00:00
|
|
|
|
|
|
|
|
|
* emultmpl/pe.em (pe_dll_characteristics): New variable.
|
|
|
|
|
(OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
|
|
|
|
|
OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
|
|
|
|
|
OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
|
|
|
|
|
New macros for options to set DllCharacteristics flag bits.
|
|
|
|
|
(gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
|
|
|
|
|
nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
|
|
|
|
|
(init): Add DllCharacteristics field.
|
|
|
|
|
(gld_${EMULATION_NAME}_list_options): List new options.
|
|
|
|
|
(gld${EMULATION_NAME}_handle_option): Handle new options.
|
|
|
|
|
* emultmpl/pep.em (pe_dll_characteristics): New variable.
|
|
|
|
|
(OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
|
|
|
|
|
OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
|
|
|
|
|
OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
|
|
|
|
|
New macros for options to set DllCharacteristics flags.
|
|
|
|
|
(gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
|
|
|
|
|
nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
|
|
|
|
|
(init): Add DllCharacteristics field.
|
|
|
|
|
(gld_${EMULATION_NAME}_list_options): List new options.
|
|
|
|
|
(gld${EMULATION_NAME}_handle_option): Handle new options.
|
|
|
|
|
* ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
|
|
|
|
|
no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
|
|
|
|
|
|
2009-03-06 12:14:40 +00:00
|
|
|
|
2009-03-06 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/es.po: Updated Spanish translation.
|
|
|
|
|
|
2009-03-03 18:22:11 +00:00
|
|
|
|
2009-03-03 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook.
|
|
|
|
|
(gld_${EMULATION_NAME}_after_open): Use it to iterate all sections
|
|
|
|
|
of all input BFDs, looking for debug info. Enable long section names
|
|
|
|
|
if any found.
|
|
|
|
|
* emultempl/pe.em (debug_section_p): Likewise.
|
|
|
|
|
(gld_${EMULATION_NAME}_after_open): Likewise.
|
|
|
|
|
* NEWS: Retrospectively adjust news announcement.
|
|
|
|
|
* ld.texinfo: Update documentation to mention new behaviour.
|
|
|
|
|
|
2009-03-04 01:16:15 +00:00
|
|
|
|
2009-03-03 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Run "make dep-am".
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-03-02 17:27:36 +00:00
|
|
|
|
2009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
|
|
|
|
|
|
|
|
|
* ldgram.y: Add support for REGION_ALIAS operator.
|
|
|
|
|
* ldlang.c: Likewise.
|
|
|
|
|
* ldlang.h: Likewise.
|
|
|
|
|
* ldlex.l: Likewise.
|
|
|
|
|
* NEWS: Mention the new feature.
|
|
|
|
|
* ld.texinfo: Document the new feature.
|
|
|
|
|
|
2009-03-02 10:33:08 +00:00
|
|
|
|
2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Replace score elf emulation with score3 and score7
|
|
|
|
|
emulations.
|
|
|
|
|
* Makefile.in: Regenerate,
|
|
|
|
|
* NEWS: Mention support for Score7 architecture.
|
|
|
|
|
* configure.tgt: Add score7 emulation to score-elf target.
|
|
|
|
|
* emulparams/scoreelf.sh: Add score7 support.
|
|
|
|
|
* emultempl/scoreelf.em: Likewise.
|
|
|
|
|
|
* configure.tgt: Only use elf64hppa target emulation for hpux.
* emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
(SCRIPT_NAME): Use new script elf64hppa.
(SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
TEXT_DYNAMIC): Define.
* emulparams/hppa64linux.sh: Adjust comments.
* scripttempl/elf64hppa.sc: New file.
2009-03-01 22:10:36 +00:00
|
|
|
|
2009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Only use elf64hppa target emulation for hpux.
|
|
|
|
|
* emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
|
|
|
|
|
(SCRIPT_NAME): Use new script elf64hppa.
|
|
|
|
|
(SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
|
|
|
|
|
TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
|
|
|
|
|
OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
|
|
|
|
|
DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
|
|
|
|
|
TEXT_DYNAMIC): Define.
|
|
|
|
|
* emulparams/hppa64linux.sh: Adjust comments.
|
|
|
|
|
* scripttempl/elf64hppa.sc: New file.
|
|
|
|
|
|
2009-03-01 18:57:19 +00:00
|
|
|
|
2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2009-02-27 19:01:57 +00:00
|
|
|
|
2009-02-27 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
|
|
|
|
|
default state of auto-import flag based on $target.
|
|
|
|
|
|
2009-02-24 Joseph Myers <joseph@codesourcery.com>
bfd/
* elf32-arm.c (PREV_SEC): Update comment.
(group_sections): Rename argument to stubs_always_after_branch.
Reverse the list and place stubs at the end of input sections.
Undefine NEXT_SEC.
(elf32_arm_size_stubs): Update to use stubs_always_after_branch.
ld/
* ld.texinfo (ARM): Document changed meaning of --stub-group-size.
* emultempl/armelf.em (hook_in_stub): Insert after the input section.
(elf32_arm_add_stub_section): Update comment.
(PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
2009-02-24 Daniel Jacobowitz <dan@codesourcery.com>
ld/testsuite/
* ld-arm/arm-elf.exp (armeabitests): Update duplicate test names.
Use normal output files for big-endian.
* ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: Delete.
* ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d,
ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d,
ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d,
ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
ld-arm/farcall-thumb-arm-be8.d,
ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm-short.d,
ld-arm/farcall-thumb-arm.d,
ld-arm/farcall-thumb-thumb-blx-pic-veneer.d,
ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d,
ld-arm/farcall-thumb-thumb.d, ld-arm/thumb2-bl-as-thumb1-bad.d,
ld-arm/thumb2-bl-bad.d: Update for moved stubs.
2009-02-24 22:43:10 +00:00
|
|
|
|
2009-02-24 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo (ARM): Document changed meaning of --stub-group-size.
|
|
|
|
|
* emultempl/armelf.em (hook_in_stub): Insert after the input section.
|
|
|
|
|
(elf32_arm_add_stub_section): Update comment.
|
|
|
|
|
(PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
|
|
|
|
|
|
2009-02-24 18:06:27 +00:00
|
|
|
|
2009-02-24 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo (Options): Correct typos in example. Recommend
|
2009-09-23 13:54:29 +00:00
|
|
|
|
using joined forms of syntax for passing options with arguments
|
2009-02-24 18:06:27 +00:00
|
|
|
|
from a driver.
|
|
|
|
|
(-a): Use consistent syntax for documenting option arguments.
|
|
|
|
|
Clean up indexing and markup.
|
|
|
|
|
(-A/--architecture): Likewise.
|
|
|
|
|
(-f/--auxiliary): Likewise.
|
|
|
|
|
(-F/--filter): Likewise.
|
|
|
|
|
(-fini): Likewise.
|
|
|
|
|
(-G/--gpsize): Likewise.
|
|
|
|
|
(-h/-soname):Likewise.
|
|
|
|
|
(-init): Likewise.
|
|
|
|
|
(-l/--library): Likewise.
|
|
|
|
|
(-L/--library-path): Likewise.
|
|
|
|
|
(-m): Likewise.
|
|
|
|
|
(--defsym): Likewise.
|
|
|
|
|
(-I/--dynamic-linker): Likewise.
|
|
|
|
|
(-Map): Likewise.
|
|
|
|
|
(--oformat): Likewise.
|
|
|
|
|
(--retain-symbols-file): Likewise.
|
|
|
|
|
(-rpath): Likewise.
|
|
|
|
|
(-rpath-link): Likewise.
|
|
|
|
|
(--sort-common): Likewise.
|
|
|
|
|
(--sort-section): Likewise.
|
|
|
|
|
(--split-by-file): Likewise.
|
|
|
|
|
(--split-by-reloc): Likewise.
|
|
|
|
|
(--sysroot): Likewise.
|
|
|
|
|
(--section-start): Likewise.
|
|
|
|
|
(-Tbss, -Tdata, -Ttext): Likewise.
|
|
|
|
|
(-Ttext-segment): Likewise.
|
|
|
|
|
(--version-script): Likewise.
|
|
|
|
|
(--wrap): Likewise.
|
|
|
|
|
|
2009-02-24 03:15:17 +00:00
|
|
|
|
2009-02-18 Dave Korn <dave.korn.cygwin@gmail.com>
|
2009-02-18 18:23:08 +00:00
|
|
|
|
|
|
|
|
|
* ld.texinfo: Update to mention long section name options.
|
|
|
|
|
* NEWS: Mention new behaviour and command-line options.
|
|
|
|
|
* pe-dll.c (pe_use_coff_long_section_names): New global variable.
|
|
|
|
|
(pe_output_file_set_long_section_names): New function.
|
|
|
|
|
(pe_dll_build_sections): Call it on output BFDs.
|
|
|
|
|
(pe_exe_build_sections): Likewise.
|
|
|
|
|
(pe_dll_fill_sections): Likewise.
|
|
|
|
|
(pe_exe_fill_sections): Likewise.
|
|
|
|
|
* pe-dll.h (pe_use_coff_long_section_names): Declare extern.
|
|
|
|
|
(pe_output_file_set_long_section_names): Add prototype.
|
|
|
|
|
* pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias.
|
|
|
|
|
(pe_output_file_set_long_section_names): Likewise.
|
|
|
|
|
* pep-dll.h (pep_use_coff_long_section_names): Declare extern.
|
|
|
|
|
(pep_output_file_set_long_section_names): Add prototype.
|
|
|
|
|
* pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro.
|
|
|
|
|
(OPTION_DISABLE_LONG_SECTION_NAMES): Likewise.
|
|
|
|
|
(gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
|
|
|
|
|
(gld_${EMULATION_NAME}_list_options): Describe them.
|
|
|
|
|
(gld${EMULATION_NAME}_handle_option): Set or clear global
|
|
|
|
|
pe_use_coff_long_section_names flag when options recognised.
|
|
|
|
|
(gld_${EMULATION_NAME}_after_open): En/disable long section names
|
|
|
|
|
for main output bfd by calling pe_output_file_set_long_section_names.
|
|
|
|
|
* pep.em (enum options): Extend enum with new getopt option values.
|
|
|
|
|
(gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
|
|
|
|
|
(gld_${EMULATION_NAME}_list_options): Describe them.
|
|
|
|
|
(gld${EMULATION_NAME}_handle_option): Set or clear global
|
|
|
|
|
pe_use_coff_long_section_names flag when options recognised.
|
|
|
|
|
(gld_${EMULATION_NAME}_after_open): En/disable long section names
|
|
|
|
|
for main output bfd by calling pep_output_file_set_long_section_names.
|
|
|
|
|
|
2009-02-16 10:42:12 +00:00
|
|
|
|
2009-02-16 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit
|
|
|
|
|
inadvertent .reloc sections caused by refactoring accident.
|
|
|
|
|
|
2009-02-16 08:02:29 +00:00
|
|
|
|
2009-02-16 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (process_insert_statements): ASSERT that output section
|
|
|
|
|
statements are in order.
|
|
|
|
|
|
2009-02-16 07:25:52 +00:00
|
|
|
|
2009-02-16 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
|
|
|
|
|
(stat_save, stat_save_ptr): New variables.
|
|
|
|
|
(lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
|
|
|
|
|
(load_symbols): Likewise. Delete dead "bad_load" code.
|
|
|
|
|
(open_input_bfds): Warn on script containing output sections.
|
|
|
|
|
(lang_enter_output_section_statement): Use push_stat_ptr.
|
|
|
|
|
(lang_enter_group): Likewise.
|
|
|
|
|
(lang_leave_output_section_statement): Use pop_stat_ptr.
|
|
|
|
|
(lang_leave_group): Likewise.
|
|
|
|
|
* ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
|
|
|
|
|
* ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
|
|
|
|
|
* emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
|
|
|
|
|
* emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
|
|
|
|
|
* emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
|
|
|
|
|
* emultempl/spuelf.em (spu_place_special_section): Likewise.
|
|
|
|
|
* emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
|
|
|
|
|
|
2009-02-09 14:46:40 +00:00
|
|
|
|
2009-02-09 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
Missing piece of 2009-01-26 commit
|
|
|
|
|
* ldlang.c (lang_process): Don't consider relocatable flag when
|
|
|
|
|
checking for overlap.
|
|
|
|
|
|
2009-02-05 21:52:36 +00:00
|
|
|
|
2009-02-05 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/m68kelf.sh: Add newline at end of file.
|
|
|
|
|
|
2009-02-04 09:13:22 +00:00
|
|
|
|
2009-02-04 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 9805
|
|
|
|
|
* ld.texinfo (--allow-shlib-undefined): Correct description of
|
|
|
|
|
default settings and tidy up the rest of the entry.
|
|
|
|
|
|
2009-02-04 02:43:17 +00:00
|
|
|
|
2009-02-04 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
|
|
|
|
|
during relocatable link.
|
|
|
|
|
|
2009-02-03 17:04:53 +00:00
|
|
|
|
2009-02-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 9797
|
|
|
|
|
* ld.texinfo (Constants): Document the base-encoding suffixes
|
|
|
|
|
supported in linker scripts.
|
|
|
|
|
|
2009-02-03 15:56:59 +00:00
|
|
|
|
2009-02-03 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention --as-needed change.
|
|
|
|
|
|
2009-02-03 15:54:05 +00:00
|
|
|
|
2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* configure.in: AC_SUBST pdfdir.
|
|
|
|
|
* Makefile.am: Add install-pdf, install-pdf-am,
|
|
|
|
|
and install-pdf-recursive targets. Define pdf__strip_dir.
|
|
|
|
|
* po/Make-in: Add install-pdf target.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-01-31 11:44:38 +00:00
|
|
|
|
2009-01-31 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo (--as-needed): Update.
|
|
|
|
|
|
2009-01-29 16:36:45 +00:00
|
|
|
|
2009-01-29 Andrew Jenner <andrew@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/armelf.em: Correct formatting of help text for
|
|
|
|
|
--no-enum-size-warning option.
|
|
|
|
|
|
2009-01-26 15:23:39 +00:00
|
|
|
|
2009-01-26 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
|
|
|
|
|
* ld.h (args_type): Make check_section_addresses a char.
|
|
|
|
|
* ldmain.c (main): Default check_section_addresses to -1. Check it
|
|
|
|
|
for relocatable links.
|
|
|
|
|
* ld.texinfo (--check-sections): Update documentation.
|
|
|
|
|
|
2009-01-26 10:29:11 +00:00
|
|
|
|
2009-01-26 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* pe-dll.c (tmp_seq2): New static variable.
|
|
|
|
|
(make_singleton_name_imp): New.
|
|
|
|
|
(make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
|
|
|
|
|
avoid duplicate import table generation for same symbol.
|
|
|
|
|
(pe_create_runtime_relocator_reference): Make reference for
|
|
|
|
|
64-bit 8 bytes.
|
|
|
|
|
|
2009-01-21 02:27:13 +00:00
|
|
|
|
2009-01-21 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/spuelf.em (params): Init new field.
|
|
|
|
|
(OPTION_SPU_NON_IA_TEXT): Define.
|
|
|
|
|
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
|
|
|
|
|
(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
|
|
|
|
|
|
2009-01-16 14:14:07 +00:00
|
|
|
|
2009-01-16 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
|
|
|
|
|
(ld_options): Add -Ttext-segment.
|
|
|
|
|
(parse_args): Handle OPTION_TTEXT_SEGMENT.
|
|
|
|
|
|
|
|
|
|
* ld.texinfo: Document -Ttext-segment.
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention -Ttext-segment.
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
|
|
|
|
|
(SHLIB_TEXT_START_ADDR): Likewise.
|
|
|
|
|
|
2009-01-12 13:56:41 +00:00
|
|
|
|
2009-01-13 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/spu_icache.o_c: Regenerate.
|
|
|
|
|
|
bfd/
* elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2,
num_lines_log2.
(struct got_entry): Add br_addr.
(struct call_info): Add priority.
(struct function_info): Add lr_store and sp_adjust.
(spu_elf_setup): Init line_size_log2 and num_lines_log2.
(spu_elf_find_overlays): For soft-icache, mark any section within cache
area as an overlay, and check that no other overlays exist. Look up
icache overlay manager entry sym.
(BRA_STUBS, BRA, BRASL): Define.
(enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub.
(needs_ovl_stub): Adjust for soft-icache. Return priority encoded
in branch insn.
(count_stub, build_stub): Support soft-icache.
(build_spuear_stubs, process_stubs): Adjust build_stub call.
(spu_elf_size_stubs): Size soft-icache stubs.
(overlay_index): New function.
(spu_elf_build_stubs): Make static. Support soft-icache.
(spu_elf_check_vma): Don't turn off auto_overlay if soft-icache.
(find_function_stack_adjust): Save lr store and stack adjust insn
offsets.
(maybe_insert_function): Adjust find_function_stack_adjust call.
(mark_functions_via_relocs): Retrieve priority.
(remove_cycles): Only warn about pruned arcs when stack_analysis.
(sort_calls): Sort by priority first.
(mark_overlay_section): Ignore .ovl.init.
(sum_stack): Only print when stack_analysis.
(print_one_overlay_section): New function, extracted from..
(spu_elf_auto_overlay): ..here. Support soft-icache overlays.
(spu_elf_stack_analysis): Only print when htab->stack_analysis.
(spu_elf_final_link): Call spu_elf_stack_analysis for lrlive
analysis. Call spu_elf_build_stubs.
(spu_elf_relocate_section): For soft-icache encode overlay index
into addresses.
(spu_elf_output_symbol_hook): Support soft-icache.
(spu_elf_modify_program_headers: Likewise.
* elf32-spu.h (struct spu_elf_params): Add lrlive_analysis. Rename
num_regions to num_lines. Add line_size and max_branch.
(enum _ovly_flavour): Add ovly_soft_icache.
(spu_elf_build_stubs): Delete.
gas/
* config/tc-spu.c (md_pseudo_table): Add "brinfo".
(brinfo): New var.
(md_assemble): Poke brinfo into branch instructions.
(spu_brinfo): New function.
(md_apply_fix): Don't assume insn fields start off at zero, mask
them to remove possible brinfo.
ld/
* emultempl/spuelf.em (params): Init new fields.
(num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
(spu_place_special_section): Adjust placement for soft-icache. Pad
soft-icache section to a fixed size. Clear addr_tree.
(spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
sections a little more intelligently.
(gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
(OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
(OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
(OPTION_SPU_LRLIVE): Define.
(PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
(PARSE_AND_LIST_OPTIONS): Likewise.
(PARSE_AND_LIST_ARGS_CASES): Handle them.
* emultempl/spu_icache.S: Dummy file.
* emultempl/spu_icache.o_c: Regenerate.
* Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
(spu_icache.o_c): Add rule to build.
(CLEANFILES): Zap temp files.
(EXTRA_DIST): Add spu_icache.o_c.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-spu/ovl.d: Allow for absolute branches in stubs.
* ld-spu/ovl2.d: Likewise.
2009-01-12 00:23:58 +00:00
|
|
|
|
2009-01-12 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/spuelf.em (params): Init new fields.
|
|
|
|
|
(num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
|
|
|
|
|
(spu_place_special_section): Adjust placement for soft-icache. Pad
|
|
|
|
|
soft-icache section to a fixed size. Clear addr_tree.
|
|
|
|
|
(spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
|
|
|
|
|
sections a little more intelligently.
|
|
|
|
|
(gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
|
|
|
|
|
(OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
|
|
|
|
|
(OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
|
|
|
|
|
(OPTION_SPU_LRLIVE): Define.
|
|
|
|
|
(PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
|
|
|
|
|
(PARSE_AND_LIST_OPTIONS): Likewise.
|
|
|
|
|
(PARSE_AND_LIST_ARGS_CASES): Handle them.
|
|
|
|
|
* emultempl/spu_icache.S: Dummy file.
|
|
|
|
|
* emultempl/spu_icache.o_c: Regenerate.
|
|
|
|
|
* Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
|
|
|
|
|
(spu_icache.o_c): Add rule to build.
|
|
|
|
|
(CLEANFILES): Zap temp files.
|
|
|
|
|
(EXTRA_DIST): Add spu_icache.o_c.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-01-08 13:28:48 +00:00
|
|
|
|
2009-01-08 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
|
|
|
|
|
(gld..._add_options): Add new option
|
|
|
|
|
--use-nul-prefixed-import-tables.
|
|
|
|
|
(gld..._handle_option): Likewise.
|
|
|
|
|
* pep.em: Same as for pe.em.
|
|
|
|
|
* ld.texinfo: Add new option documentation for
|
|
|
|
|
--use-nul-prefixed-import-tables.
|
|
|
|
|
* pe-dll.c (pe_use_nul_prefixed_import_tables): New.
|
|
|
|
|
(make_head): Make prefix leading zero prefix element for
|
|
|
|
|
idata$4 and idata$5 dependent to new flag.
|
|
|
|
|
(make_import_fixup_entry): Remove idata4/5 prefix.
|
|
|
|
|
* pe-dll.h (pe_use_nul_prefixed_import_tables): New.
|
|
|
|
|
* pep-dll.c (pe_use_nul_prefixed_import_tables): New.
|
|
|
|
|
* pep-dll.h (pep_use_nul_prefixed_import_tables): New.
|
|
|
|
|
* NEWS: Add new option.
|
|
|
|
|
|
2009-01-05 12:17:43 +00:00
|
|
|
|
2009-01-05 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/pe.em: Prefix dollar characters to be outputed in
|
|
|
|
|
generated C file.
|
|
|
|
|
* emultempl/pep.em: Likewise.
|
|
|
|
|
|
2009-01-03 18:04:16 +00:00
|
|
|
|
2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention new feature --exclude-modules-for-implib.
|
|
|
|
|
* ld.texinfo: Document new --exclude-modules-for-implib option.
|
|
|
|
|
* pe-dll.c (exclude_list_struct): Change type member from int to
|
|
|
|
|
new enumeration exclude_type.
|
|
|
|
|
(pe_dll_add_excludes): Accept exclude_type instead of int param.
|
|
|
|
|
(auto_export): Replace magic constants by exclude_type values and
|
|
|
|
|
handle new choice EXCLUDEFORIMPLIB.
|
|
|
|
|
(pe_dll_generate_implib): Accept a pointer to the link_info and
|
|
|
|
|
iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
|
|
|
|
|
fresh BFDs for any found and link into import lib archive chain.
|
|
|
|
|
* pe-dll.h (exclude_type): Add new enumerated type to replace magic
|
|
|
|
|
constants previously used for exclude_list_struct type member.
|
|
|
|
|
(pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes.
|
|
|
|
|
* pep-dll.h (exclude_type, pe_dll_add_excludes,
|
|
|
|
|
pe_dll_generate_implib): Likewise to all the above.
|
|
|
|
|
* emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new
|
|
|
|
|
getopts long option code for new --exclude-modules-for-implib option.
|
|
|
|
|
(gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[].
|
|
|
|
|
(gld_${EMULATION_NAME}_list_options): List usage for it.
|
|
|
|
|
(gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated
|
|
|
|
|
values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
|
|
|
|
|
(gld_${EMULATION_NAME}_finish): Pass pointer to link_info when
|
|
|
|
|
calling pe_dll_generate_implib.
|
|
|
|
|
* emultempl/pep.em (options): Define new enumerated value for getopts
|
|
|
|
|
long option code for new --exclude-modules-for-implib option.
|
|
|
|
|
(gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
|
|
|
|
|
gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
|
|
|
|
|
Again, likewise to all the above.
|
|
|
|
|
|
2009-01-03 17:43:45 +00:00
|
|
|
|
2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
|
2008-12-23 19:10:25 +00:00
|
|
|
|
|
2009-01-03 17:43:45 +00:00
|
|
|
|
* pe-dll.c (autofilter_liblist): Add entry for shared libgcc.
|
|
|
|
|
(libnamencmp): New function.
|
|
|
|
|
(auto_export): Use it in place of strncmp when filtering libraries.
|
2008-12-23 19:10:25 +00:00
|
|
|
|
|
2009-01-03 17:43:45 +00:00
|
|
|
|
For older changes see ChangeLog-2008
|
1999-05-03 07:29:11 +00:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|