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 22:56:51 +02: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 21:30:28 +02:00
|
|
|
|
2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ldver.c (ldversion): Change to "Copyright 2009".
|
|
|
|
|
|
2009-09-01 04:54:10 +02: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 07:47:43 +02: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-30 00:11:02 +02: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 15:08:07 +02: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 17:22:59 +02: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 07:55:55 +02:00
|
|
|
|
2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
2009-08-24 07:57:44 +02: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 07:55:55 +02:00
|
|
|
|
* Makefile.am (am__skiplex, am__skipyacc): New.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-08-22 18:56:56 +02: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 21:02:57 +02: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 19:59:33 +02: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 19:08:11 +02: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 18:56:56 +02:00
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* aclocal.m4: Likewise.
|
|
|
|
|
* config.in: Likewise.
|
|
|
|
|
* configure: Likewise.
|
|
|
|
|
|
2009-08-21 12:38:14 +02:00
|
|
|
|
2009-08-21 Richard Guenther <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.
|
|
|
|
|
|
2009-08-12 14:40:55 +02: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 09:50:56 +02: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 19:38:04 +02:00
|
|
|
|
2009-08-06 Michael Eager <eager@eagercon.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to
|
|
|
|
|
ALL_EMULATIONS, targets.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* configure.tgt: Add microblaze*-linux*, microblaze* targets.
|
|
|
|
|
* emulparams/elf32mb_linux.sh: New.
|
|
|
|
|
* emulparams/elf32microblaze.sh. New.
|
|
|
|
|
* scripttempl/elfmicroblaze.sc: New.
|
|
|
|
|
|
2009-08-05 22:40:34 +02: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 10:15:24 +02:00
|
|
|
|
2009-08-04 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
PR 10474
|
|
|
|
|
* emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize,
|
|
|
|
|
not size, after lang_reset_memory_regions.
|
|
|
|
|
|
2009-07-29 16:59:23 +02: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 02:25:22 +02: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 17:07:38 +02:00
|
|
|
|
2009-07-27 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* (po/fi.po): Updated Finnish translation.
|
|
|
|
|
|
2009-07-25 16:58:58 +02: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 15:00:30 +02: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 02:08:22 +02: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 02:10:29 +02: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 14:29:40 +02: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 14:19:58 +02:00
|
|
|
|
2009-07-10 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt.
|
|
|
|
|
|
2009-07-06 15:48:51 +02:00
|
|
|
|
2009-07-06 Matthias Klose <doko@ubuntu.com>
|
|
|
|
|
|
2009-07-23 02:08:22 +02:00
|
|
|
|
* ld.texinfo: Fix typo.
|
2009-07-06 15:48:51 +02:00
|
|
|
|
|
2009-07-03 12:44:57 +02:00
|
|
|
|
2009-07-03 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/pep.sc: Put .eh_frame in its own section.
|
|
|
|
|
* scripttempl/pe.sc: Ditto.
|
|
|
|
|
|
2009-06-26 19:23:10 +02: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 15:18:46 +02: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 04:11:03 +02:00
|
|
|
|
2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
2009-06-18 12:41:42 +02:00
|
|
|
|
Merge cegcc and mingw32ce target name changes from CeGCC project:
|
2009-06-18 04:11:03 +02:00
|
|
|
|
|
2009-06-18 12:41:42 +02:00
|
|
|
|
2008-09-24 Pedro Alves <pedroalves@users.sourceforge.net>
|
2009-06-18 04:11:03 +02:00
|
|
|
|
|
|
|
|
|
* configure.tgt (arm*-*-cegcc*): Set LIB_PATH to
|
|
|
|
|
${tooldir}/lib/w32api.
|
|
|
|
|
|
2009-06-18 12:41:42 +02:00
|
|
|
|
2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
|
2009-06-18 04:11:03 +02:00
|
|
|
|
|
|
|
|
|
* configure.tgt: Add arm*-*-cegcc* target.
|
|
|
|
|
|
2009-06-18 12:41:42 +02:00
|
|
|
|
2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
|
2009-06-18 04:11:03 +02:00
|
|
|
|
|
|
|
|
|
* configure.tgt: Add arm-*-mingw32ce* target.
|
|
|
|
|
|
2009-06-12 16:27:21 +02: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-07 00:39:25 +02:00
|
|
|
|
2009-06-06 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc.
|
|
|
|
|
|
2009-06-05 18:49:16 +02: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 08:57:56 +02: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 14:53:00 +02: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 20:40:56 +02: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 15:31:24 +02: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 18:49:41 +02:00
|
|
|
|
2009-05-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/id.po: Updated Indonesian translation.
|
|
|
|
|
* po/ld.pot: Updated template file.
|
|
|
|
|
|
2009-05-26 05:20:10 +02: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 03:20:39 +02: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 13:58:45 +02: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 13:27:44 +02: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 11:33:16 +02:00
|
|
|
|
2009-05-22 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Run "make dep-am".
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-05-19 18:08:08 +02: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 18:02:54 +02:00
|
|
|
|
2009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
|
2009-05-17 07:10:21 +02: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 16:22:36 +02: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 18:56:09 +02: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 06:30:03 +02: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 04:21:45 +02: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 16:18:30 +02: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 13:28:36 +02: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 14:09:30 +02: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 17:23:42 +02:00
|
|
|
|
2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/vxworks.sh (TEXT_START_ADDR): Override.
|
|
|
|
|
|
2009-04-30 17:47:13 +02:00
|
|
|
|
2009-04-30 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention support for IFUNC symbols.
|
|
|
|
|
|
2009-04-30 06:29:23 +02: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 19:24:27 +02: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 03:17:54 +02:00
|
|
|
|
2009-04-29 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
|
|
|
|
|
|
2009-04-24 17:06:15 +02:00
|
|
|
|
2009-04-25 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
PR 10061
|
|
|
|
|
* genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
|
|
|
|
|
param.
|
|
|
|
|
|
2009-04-22 00:05:04 +02: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-17 01:07:00 +02:00
|
|
|
|
2009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_one_common): Use bfd_define_common_symbol.
|
|
|
|
|
|
2009-04-16 17:39:48 +02: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 05:22:42 +02:00
|
|
|
|
2009-04-15 Kazu Hirata <kazu@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c: Do not include limits.h.
|
|
|
|
|
|
2009-04-14 05:17:21 +02: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 04:47:22 +02:00
|
|
|
|
2009-04-13 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ldfile.c (ldfile_find_command_file): Revert the last change.
|
|
|
|
|
|
2009-04-11 16:06:56 +02: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 18:06:48 +02: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 15:55:35 +02: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 18:04:50 +02: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 04:24:23 +02:00
|
|
|
|
2009-04-07 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32mep.sh: Change default endian to little.
|
|
|
|
|
|
2009-04-07 10:07:08 +02: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 03:21:09 +02:00
|
|
|
|
2009-04-06 Kazu Hirata <kazu@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ldfile.c (ldfile_find_command_file): Initialize result.
|
|
|
|
|
|
2009-04-06 02:47:09 +02: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 09:45:28 +02: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 16:42:41 +02: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 21:53:53 +02: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 18:39:04 +01: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 08:04:12 +01: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 13:11:38 +01: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 12:27:18 +01:00
|
|
|
|
2009-03-18 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld.h: Remove alloca handling.
|
|
|
|
|
|
2009-03-17 13:46:19 +01: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 06:33:00 +01: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 06:01:26 +01: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 10:35:46 +01: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 10:17:32 +01: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 10:15:12 +01: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 10:14:30 +01: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 10:11:38 +01: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 04:30:26 +01:00
|
|
|
|
2009-03-14 Dave Korn <dave.korn.cygwin@gmail.com>
|
2009-07-23 02:08:22 +02: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 04:30:26 +01: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 13:14:40 +01:00
|
|
|
|
2009-03-06 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/es.po: Updated Spanish translation.
|
|
|
|
|
|
2009-03-03 19:22:11 +01: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 02:16:15 +01:00
|
|
|
|
2009-03-03 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Run "make dep-am".
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-03-02 18:27:36 +01: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 11:33:08 +01: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 23:10:36 +01: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 19:57:19 +01:00
|
|
|
|
2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2009-02-27 20:01:57 +01: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 23:43:10 +01: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 19:06:27 +01:00
|
|
|
|
2009-02-24 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo (Options): Correct typos in example. Recommend
|
|
|
|
|
using joined forms of syntax for passing options with arguments
|
|
|
|
|
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 04:15:17 +01:00
|
|
|
|
2009-02-18 Dave Korn <dave.korn.cygwin@gmail.com>
|
2009-02-18 19:23:08 +01: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 11:42:12 +01: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 09:02:29 +01: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 08:25:52 +01: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 15:46:40 +01: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 22:52:36 +01:00
|
|
|
|
2009-02-05 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/m68kelf.sh: Add newline at end of file.
|
|
|
|
|
|
2009-02-04 10:13:22 +01: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 03:43:17 +01: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 18:04:53 +01: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 16:56:59 +01:00
|
|
|
|
2009-02-03 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention --as-needed change.
|
|
|
|
|
|
2009-02-03 16:54:05 +01: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 12:44:38 +01:00
|
|
|
|
2009-01-31 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo (--as-needed): Update.
|
|
|
|
|
|
2009-01-29 17:36:45 +01: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 16:23:39 +01: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 11:29:11 +01: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 03:27:13 +01: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 15:14:07 +01: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 14:56:41 +01: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 01:23:58 +01: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 14:28:48 +01: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 13:17:43 +01: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 19:04:16 +01: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 18:43:45 +01:00
|
|
|
|
2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
|
2008-12-23 20:10:25 +01:00
|
|
|
|
|
2009-01-03 18:43:45 +01: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 20:10:25 +01:00
|
|
|
|
|
2009-01-03 18:43:45 +01:00
|
|
|
|
For older changes see ChangeLog-2008
|
1999-05-03 09:29:11 +02:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|