+2016-11-23 Nick Clifton <nickc@redhat.com>
+
+ PR ld/20815
+ * ld.texinfo: Note that PT_TLS can be used as a segment type.
+ * testsuite/ld-discard/discard.ld: Add space for program headers.
+ * testsuite/ld-elf/flags1.ld: Likewise.
+ * testsuite/ld-elf/maxpage3.t: Likewise.
+ * testsuite/ld-elf/noload-1.t: Likewise.
+ * testsuite/ld-elf/orphan.ld: Likewise.
+ * testsuite/ld-elf/overlay.t: Likewise.
+ * testsuite/ld-elf/pr14052.t: Likewise.
+ * testsuite/ld-elf/pr19539.t: Likewise.
+ * testsuite/ld-elf/provide-hidden-1.ld: Likewise.
+ * testsuite/ld-elf/provide-hidden-s.ld: Likewise.
+ * testsuite/ld-elf/weak-dyn-1.ld: Likewise.
+ * testsuite/ld-i386/pr19539.t: Likewise.
+ * testsuite/ld-scripts/defined.t: Likewise.
+ * testsuite/ld-scripts/defined6.t: Likewise.
+ * testsuite/ld-scripts/dynamic-sections.t: Likewise.
+ * testsuite/ld-scripts/empty-aligned.t: Likewise.
+ * testsuite/ld-scripts/provide-2.t: Likewise.
+ * testsuite/ld-scripts/provide-4.t: Likewise.
+ * testsuite/ld-vax-elf/plt-local.ld: Likewise.
+ * testsuite/ld-x86-64/pr19539.t: Likewise.
+ * testsuite/ld-elf/ehdr_start-missing.d: Do not initialise the
+ dynamic linker.
+ * testsuite/ld-elf/ehdr_start-weak.d: Likewise.
+ * testsuite/ld-elf/elf.exp (pr14170, pr17068): Likewise.
+ * testsuite/ld-elf/loadaddr1.d: Update expected readelf output.
+ * testsuite/ld-elf/noload-2.d: Likewise.
+ * testsuite/ld-powerpc/vxworks2.sd: Likewise.
+ * testsuite/ld-scripts/phdrs3a.d: Likewise.
+ * testsuite/ld-scripts/size-2.d: Likewise.
+ * testsuite/ld-elf/group.ld: Add program headers.
+ * testsuite/ld-elf/overlay.d: Skip for SPU.
+ * testsuite/ld-elf/flags1.d: Skip for RX.
+ * testsuite/ld-elf/pr19162.d: Skip for HPPA64.
+ * testsuite/ld-elf/pr19539.d: Skip for ALPHA.
+ * testsuite/ld-scripts/empty-orphan.t: Update program headers.
+ * testsuite/ld-scripts/size-2.t: Likewise.
+
+2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
+
+ * configure: Regenerate.
+
+2016-11-22 Alan Modra <amodra@gmail.com>
+
+ PR 20744
+ * emultempl/ppc32elf.em (params): Update initializer. Handle
+ --vle-reloc-fixup command line arg.
+
+2016-11-15 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
+
+ PR ld/20789
+ * ld/testsuite/ld-avr/pr20789.d: New test.
+ * ld/testsuite/ld-avr/pr20789.s: New test.
+
+
+2016-11-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/20800
+ * testsuite/ld-x86-64/pr20800a.S: New file.
+ * testsuite/ld-x86-64/pr20800b.S: Likewise.
+ * testsuite/ld-x86-64/x86-64.exp: Run PR ld/20800 test.
+
+2016-11-14 Nick Clifton <nickc@redhat.com>
+
+ * lexsup.c (parse_args): Add break at end of default case.
+
+2016-11-10 Jiong Wang <jiong.wang@arm.com>
+
+ PR target/20737
+ * testsuite/ld-aarch64/pie-bind-locally-a.s: New test source.
+ * testsuite/ld-aarch64/pie-bind-locally-b.s: Likewise.
+ * testsuite/ld-aarch64/pie-bind-locally.d: New testcase.
+ * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcase.
+
+2016-11-07 Nick Clifton <nickc@redhat.com>
+
+ PR ld/20784
+ * emultempl/elf32.em (search_needed): Fix infinite loop when
+ unable to process a token. Add support for curly braced enclosed
+ tokens.
+ * ld.texinfo (--rpath-link): Document supprot for $ORIGIN and
+ $LIB.
+
+2016-11-07 Nick Clifton <nickc@redhat.com>
+
+ * ld.texinfo (--compress-debug-sections): Expand documentation of
+ this option.
+
+2016-11-04 Nick Clifton <nickc@redhat.com>
+
+ * emultempl/elf32.em (search_needed): Remove use of getauxval and
+ inclusion of <sys/auxv.h>. Replace support for $PLATFORM with a
+ warning message.
+ * configure.ac (AC_CHECK_FUNCS): Remove getauxval.
+ * configure: Regenerate.
+ * config.in: Regenerate.
+
+2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * ldlang.h (struct lang_wild_statement_struct): Add
+ exclude_name_list field.
+ * ldlang.c (walk_wild_file_in_exclude_list): New function.
+ (walk_wild_consider_section): Use new
+ walk_wild_file_in_exclude_list function.
+ (walk_wild_file): Add call to walk_wild_file_in_exclude_list.
+ (print_wild_statement): Print new exclude_name_list field.
+ (lang_add_wild): Initialise new exclude_name_list field.
+ * testsuite/ld-scripts/exclude-file-1.d: New file.
+ * testsuite/ld-scripts/exclude-file-1.map: New file.
+ * testsuite/ld-scripts/exclude-file-1.t: New file.
+ * testsuite/ld-scripts/exclude-file-2.d: New file.
+ * testsuite/ld-scripts/exclude-file-2.map: New file.
+ * testsuite/ld-scripts/exclude-file-2.t: New file.
+ * testsuite/ld-scripts/exclude-file-3.d: New file.
+ * testsuite/ld-scripts/exclude-file-3.map: New file.
+ * testsuite/ld-scripts/exclude-file-3.t: New file.
+ * testsuite/ld-scripts/exclude-file-4.d: New file.
+ * testsuite/ld-scripts/exclude-file-4.map: New file.
+ * testsuite/ld-scripts/exclude-file-4.t: New file.
+ * testsuite/ld-scripts/exclude-file-a.s: New file.
+ * testsuite/ld-scripts/exclude-file-b.s: New file.
+ * testsuite/ld-scripts/exclude-file.exp: New file.
+ * ld.texinfo (Input Section Basics): Update description of
+ EXCLUDE_FILE to cover the new features.
+ * NEWS: Mention new EXCLUDE_FILE usage.
+
+2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * testsuite/lib/ld-lib.exp (run_dump_test): Use object file names
+ based on the original source file name.
+ * testsuite/ld-discard/extern.d: Update object file names.
+ * testsuite/ld-discard/start.d: Likewise.
+ * testsuite/ld-discard/static.d: Likewise.
+ * testsuite/ld-elf/orphan-8.map: Likewise.
+
+2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * testsuite/lib/ld-lib.exp (check_shared_lib_support): Add
+ xc16x-*-elf to the list of targets that don't support -shared.
+
+2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * ldgram.y: Rename file_NAME_list to section_NAME_list
+ throughout.
+
+2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
+ Andrew Waterman <andrew@sifive.com>
+
+ Add support for RISC-V architecture.
+ * Makefile.am: Add riscv files.
+ * Makefile.in: Regenerate.
+ * NEWS: Mention the support for this target.
+ * configure.tgt: Add riscv entries.
+ * emulparams/elf32lriscv-defs.sh: New file.
+ * emulparams/elf32lriscv.sh: New file.
+ * emulparams/elf64lriscv-defs.sh: New file.
+ * emulparams/elf64lriscv.sh: New file.
+ * emultempl/riscvelf.em: New file.
+
+2016-10-31 Thomas Preud'homme <thomas.preudhomme@arm.com>
+
+ * ldmain.c (add_archive_element): Initialize input->header.type.
+ * plugin.c (plugin_maybe_claim): Assert the statement is an input
+ statement.
+
+2016-10-15 Alan Modra <amodra@gmail.com>
+
+ * emultempl/spu_ovl.o_c: Regenerate.
+
+2016-10-14 Alan Modra <amodra@gmail.com>
+
+ * scripttempl/DWARF.sc: Add .debug_addr.
+
+2016-10-12 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-i386/pr19636-1d-nacl.d: Adjust for objdump change.
+ * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
+ * testsuite/ld-tic6x/shlib-1r.dd: Likewise.
+ * testsuite/ld-x86-64/plt-nacl.pd: Likewise.
+ * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
+
+2016-10-11 Nick Clifton <nickc@redhat.com>
+
+ * ld-aarch64/emit-relocs-515-be.d: Adjust output to match change
+ in objdump.
+ * ld-aarch64/emit-relocs-515.d: Likewise.
+ * ld-aarch64/emit-relocs-516-be.d: Likewise.
+ * ld-aarch64/emit-relocs-516.d: Likewise.
+ * ld-aarch64/farcall-b-plt.d: Likewise.
+ * ld-aarch64/farcall-bl-plt.d: Likewise.
+ * ld-aarch64/gc-plt-relocs.d: Likewise.
+ * ld-aarch64/tls-desc-ie.d: Likewise.
+ * ld-aarch64/tls-tiny-desc.d: Likewise.
+ * ld-aarch64/tls-tiny-gd.d: Likewise.
+ * ld-aarch64/tls-tiny-ie.d: Likewise.
+ * ld-arm/arm-app-abs32.d: Likewise.
+ * ld-arm/arm-app.d: Likewise.
+ * ld-arm/arm-lib-plt32.d: Likewise.
+ * ld-arm/arm-lib.d: Likewise.
+ * ld-arm/armthumb-lib.d: Likewise.
+ * ld-arm/cortex-a8-fix-b-plt.d: Likewise.
+ * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
+ * ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
+ * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
+ * ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
+ * ld-arm/farcall-mixed-app-v5.d: Likewise.
+ * ld-arm/farcall-mixed-app.d: Likewise.
+ * ld-arm/farcall-mixed-app2.d: Likewise.
+ * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
+ * ld-arm/farcall-mixed-lib.d: Likewise.
+ * ld-arm/ifunc-10.dd: Likewise.
+ * ld-arm/ifunc-14.dd: Likewise.
+ * ld-arm/ifunc-15.dd: Likewise.
+ * ld-arm/ifunc-3.dd: Likewise.
+ * ld-arm/ifunc-4.dd: Likewise.
+ * ld-arm/ifunc-9.dd: Likewise.
+ * ld-arm/long-plt-format.d: Likewise.
+ * ld-arm/mixed-app-v5.d: Likewise.
+ * ld-arm/mixed-app.d: Likewise.
+ * ld-arm/mixed-lib.d: Likewise.
+ * ld-arm/tls-lib-loc.d: Likewise.
+ * ld-cris/dso-pltdis1.d: Likewise.
+ * ld-cris/dso-pltdis2.d: Likewise.
+ * ld-cris/dso12-pltdis.d: Likewise.
+ * ld-elf/symbolic-func.r: Likewise.
+ * ld-frv/fdpic-pie-1.d: Likewise.
+ * ld-frv/fdpic-pie-2.d: Likewise.
+ * ld-frv/fdpic-pie-6.d: Likewise.
+ * ld-frv/fdpic-pie-7.d: Likewise.
+ * ld-frv/fdpic-pie-8.d: Likewise.
+ * ld-frv/fdpic-shared-1.d: Likewise.
+ * ld-frv/fdpic-shared-2.d: Likewise.
+ * ld-frv/fdpic-shared-3.d: Likewise.
+ * ld-frv/fdpic-shared-4.d: Likewise.
+ * ld-frv/fdpic-shared-5.d: Likewise.
+ * ld-frv/fdpic-shared-6.d: Likewise.
+ * ld-frv/fdpic-shared-7.d: Likewise.
+ * ld-frv/fdpic-shared-8.d: Likewise.
+ * ld-frv/fdpic-shared-local-2.d: Likewise.
+ * ld-frv/fdpic-shared-local-8.d: Likewise.
+ * ld-frv/fdpic-static-1.d: Likewise.
+ * ld-frv/fdpic-static-2.d: Likewise.
+ * ld-frv/fdpic-static-6.d: Likewise.
+ * ld-frv/fdpic-static-7.d: Likewise.
+ * ld-frv/fdpic-static-8.d: Likewise.
+ * ld-frv/tls-dynamic-2.d: Likewise.
+ * ld-frv/tls-initial-shared-2.d: Likewise.
+ * ld-frv/tls-relax-shared-2.d: Likewise.
+ * ld-frv/tls-shared-2.d: Likewise.
+ * ld-i386/plt-nacl.pd: Likewise.
+ * ld-i386/plt-pic-nacl.pd: Likewise.
+ * ld-i386/plt-pic.pd: Likewise.
+ * ld-i386/plt.pd: Likewise.
+ * ld-i386/pr19636-1d-nacl.d: Likewise.
+ * ld-i386/pr19636-1d.d: Likewise.
+ * ld-i386/pr19636-2c-nacl.d: Likewise.
+ * ld-i386/pr19636-2c.d: Likewise.
+ * ld-ifunc/ifunc-21-x86-64.d: Likewise.
+ * ld-ifunc/ifunc-22-x86-64.d: Likewise.
+ * ld-ifunc/pr17154-i386.d: Likewise.
+ * ld-ifunc/pr17154-x86-64.d: Likewise.
+ * ld-m68k/plt1-68020.d: Likewise.
+ * ld-m68k/plt1-cpu32.d: Likewise.
+ * ld-m68k/plt1-isab.d: Likewise.
+ * ld-m68k/plt1-isac.d: Likewise.
+ * ld-metag/shared.d: Likewise.
+ * ld-metag/stub_pic_app.d: Likewise.
+ * ld-metag/stub_pic_shared.d: Likewise.
+ * ld-metag/stub_shared.d: Likewise.
+ * ld-s390/tlsbin_64.dd: Likewise.
+ * ld-s390/tlspic_64.dd: Likewise.
+ * ld-tic6x/shlib-1.dd: Likewise.
+ * ld-tic6x/shlib-1b.dd: Likewise.
+ * ld-tic6x/shlib-1rb.dd: Likewise.
+ * ld-tic6x/shlib-app-1.dd: Likewise.
+ * ld-tic6x/shlib-app-1b.dd: Likewise.
+ * ld-tic6x/shlib-app-1r.dd: Likewise.
+ * ld-tic6x/shlib-app-1rb.dd: Likewise.
+ * ld-tic6x/shlib-noindex.dd: Likewise.
+ * ld-vax-elf/export-class-data.dd: Likewise.
+ * ld-vax-elf/plt-local-lib.dd: Likewise.
+ * ld-vax-elf/plt-local.dd: Likewise.
+ * ld-x86-64/bnd-ifunc-2.d: Likewise.
+ * ld-x86-64/bnd-plt-1.d: Likewise.
+ * ld-x86-64/gotpcrel1.dd: Likewise.
+ * ld-x86-64/libno-plt-1b.dd: Likewise.
+ * ld-x86-64/load1c-nacl.d: Likewise.
+ * ld-x86-64/load1c.d: Likewise.
+ * ld-x86-64/load1d-nacl.d: Likewise.
+ * ld-x86-64/load1d.d: Likewise.
+ * ld-x86-64/mov1a.d: Likewise.
+ * ld-x86-64/mov1b.d: Likewise.
+ * ld-x86-64/mov1c.d: Likewise.
+ * ld-x86-64/mov1d.d: Likewise.
+ * ld-x86-64/mov2a.d: Likewise.
+ * ld-x86-64/mov2b.d: Likewise.
+ * ld-x86-64/mov2c.d: Likewise.
+ * ld-x86-64/mov2d.d: Likewise.
+ * ld-x86-64/mpx3.dd: Likewise.
+ * ld-x86-64/mpx4.dd: Likewise.
+ * ld-x86-64/no-plt-1a.dd: Likewise.
+ * ld-x86-64/no-plt-1b.dd: Likewise.
+ * ld-x86-64/no-plt-1c.dd: Likewise.
+ * ld-x86-64/no-plt-1e.dd: Likewise.
+ * ld-x86-64/no-plt-1f.dd: Likewise.
+ * ld-x86-64/no-plt-1g.dd: Likewise.
+ * ld-x86-64/plt-main-bnd.dd: Likewise.
+ * ld-x86-64/plt-nacl.pd: Likewise.
+ * ld-x86-64/plt.pd: Likewise.
+ * ld-x86-64/pr18591.d: Likewise.
+ * ld-x86-64/pr19609-1c.d: Likewise.
+ * ld-x86-64/pr19609-1e.d: Likewise.
+ * ld-x86-64/pr19609-1j.d: Likewise.
+ * ld-x86-64/pr19609-1l.d: Likewise.
+ * ld-x86-64/pr19609-1m.d: Likewise.
+ * ld-x86-64/pr19609-5b.d: Likewise.
+ * ld-x86-64/pr19609-5c.d: Likewise.
+ * ld-x86-64/pr19609-5e.d: Likewise.
+ * ld-x86-64/pr19609-6b.d: Likewise.
+ * ld-x86-64/pr19609-7b.d: Likewise.
+ * ld-x86-64/pr19609-7d.d: Likewise.
+ * ld-x86-64/pr19636-2d.d: Likewise.
+ * ld-x86-64/pr20093-1.d: Likewise.
+ * ld-x86-64/pr20093-2.d: Likewise.
+ * ld-x86-64/pr20253-1b.d: Likewise.
+ * ld-x86-64/pr20253-1d.d: Likewise.
+ * ld-x86-64/pr20253-1f.d: Likewise.
+ * ld-x86-64/pr20253-1h.d: Likewise.
+ * ld-x86-64/pr20253-1j.d: Likewise.
+ * ld-x86-64/pr20253-1l.d: Likewise.
+ * ld-x86-64/protected3.d: Likewise.
+ * ld-x86-64/tlsbin.dd: Likewise.
+ * ld-x86-64/tlsbin2.dd: Likewise.
+ * ld-x86-64/tlsbindesc.dd: Likewise.
+ * ld-x86-64/tlsdesc-nacl.pd: Likewise.
+ * ld-x86-64/tlsdesc.dd: Likewise.
+ * ld-x86-64/tlsdesc.pd: Likewise.
+ * ld-x86-64/tlsgd10.dd: Likewise.
+ * ld-x86-64/tlsgd5.dd: Likewise.
+ * ld-x86-64/tlsgd6.dd: Likewise.
+ * ld-x86-64/tlsgd8.dd: Likewise.
+ * ld-x86-64/tlsgdesc.dd: Likewise.
+ * ld-x86-64/tlspic.dd: Likewise.
+ * ld-x86-64/tlspic2.dd: Likewise.
+
+2016-10-11 Nick Clifton <nickc@redhat.com>
+
+ PR ld/20535
+ * emultempl/elf32.em (_search_needed): Add support for pseudo
+ environment variables supported by ld.so. Namely $ORIGIN, $LIB
+ and $PLATFORM.
+ * configure.ac: Add getauxval to list AC_CHECK_FUNCS list.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+
+2016-10-11 Alan Modra <amodra@gmail.com>
+
+ * ldlang.c (lang_do_assignments_1): Descend into output section
+ statements that do not yet have bfd sections. Set symbol section
+ temporarily for symbols defined in such statements to the undefined
+ section. Don't error on data or reloc statements until final phase.
+ * ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
+ in expld.section.
+ * testsuite/ld-mmix/bpo-10.d: Adjust.
+ * testsuite/ld-mmix/bpo-11.d: Adjust.
+
+2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
+
+ * emulparams/elf64_s390.sh: Move binary start to 16M.
+ * testsuite/ld-s390/tlsbin_64.dd: Adjust testcases accordingly.
+ * testsuite/ld-s390/tlsbin_64.rd: Likewise.
+
+2016-10-07 Alan Modra <amodra@gmail.com>
+
+ * ldexp.c (MAX): Define.
+ (exp_unop, exp_binop, exp_trinop): Alloc at least enough for
+ etree_type.value.
+
+2016-10-07 Alan Modra <amodra@gmail.com>
+
+ * testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from..
+ * testsuite/ld-elf/elf.exp: ..here.
+
+2016-10-06 Ludovic Courtès <ludo@gnu.org>
+
+ * emulparams/elf32bmipn32-defs.sh: Shift quote of
+ "x$EMULATION_NAME" to the left to work around
+ <http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
+
+2016-10-06 Alan Modra <amodra@gmail.com>
+
+ * lexsup.c: Spell fall through comments consistently and add
+ missing fall through comments.
+
+2016-10-06 Alan Modra <amodra@gmail.com>
+
+ * plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
+ by adding return.
+
+2016-10-04 Alan Modra <amodra@gmail.com>
+
+ * ld.texinfo (Expression Section): Update result of arithmetic
+ expressions.
+ * ldexp.c (arith_result_section): New function.
+ (fold_binary): Use it.
+
+2016-10-04 Alan Modra <amodra@gmail.com>
+
+ * ldexp.c (exp_value_fold): New function.
+ (exp_unop, exp_binop, exp_trinop): Use it.
+
+2016-09-30 Alan Modra <amodra@gmail.com>
+
+ * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when
+ not relocating.
+ * scripttempl/v850_rh850.sc: Likewise.
+
+2016-09-30 Alan Modra <amodra@gmail.com>
+
+ PR ld/20528
+ * testsuite/ld-elf/pr20528a.d: xfail generic elf targets. Allow
+ multiple .text sections for hppa-linux.
+ * testsuite/ld-elf/pr20528b.d: Likewise.
+
2016-09-30 Alan Modra <amodra@gmail.com>
* ldmain.c (default_bfd_error_handler): New function pointer.