X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=77beea096c749eb96ab386f4b1b50028ee8e18d3;hb=739b5c9c778dee9e2f54d864f83a81ecb0639535;hp=002915088ed09d2c2170d6052d413b526b9ad424;hpb=796d6298bb11deab06814cc38cfe74a1bfc57551;p=binutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index 002915088ed..77beea096c7 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,593 @@ +2019-05-21 Tamar Christina + + PR ld/24373 + * emultempl/aarch64elf.em (PARSE_AND_LIST_LONGOPTS): Add optional args + to flags. + * NEWS: Add changes to flag. + (PARSE_AND_LIST_OPTIONS): Update help descriptions. + (PARSE_AND_LIST_ARGS_CASES): Add new options to parser. + * testsuite/ld-aarch64/aarch64-elf.exp: Add new run_dump_tests. + * testsuite/ld-aarch64/erratum843419-adr.d: New test. + * testsuite/ld-aarch64/erratum843419-adrp.d: New test. + * testsuite/ld-aarch64/erratum843419-far-adr.d: New test. + * testsuite/ld-aarch64/erratum843419-far-full.d: New test. + * testsuite/ld-aarch64/erratum843419-far.s: New test. + * testsuite/ld-aarch64/erratum843419-full.d: New test. + * testsuite/ld-aarch64/erratum843419-near.s: New test. + * testsuite/ld-aarch64/erratum843419-no-args.d: New test. + +2019-05-21 Senthil Kumar Selvaraj + + PR ld/24571 + * ld/testsuite/ld-avr/relax-insn-at-range-boundary.d: New test. + * ld/testsuite/ld-avr/relax-insn-at-range-boundary.s: New test. + +2019-05-21 Senthil Kumar Selvaraj + + PR ld/24564 + * testsuite/ld-avr/wraparound-range-boundary.d: New test. + * testsuite/ld-avr/wraparound-range-boundary.s: New test. + +2019-05-20 Faraz Shahbazker + + PR 14798 + * testsuite/ld-mips-elf/reloc-6a.s: Specify .text section for + global code symbols. + * testsuite/ld-mips-elf/reloc-6b.s: Likewise. + +2019-05-17 Alan Modra + + PR 24567 + * plugin.c (plugin_notice): Do not let a common symbol override + a non-common definition in IR. + +2019-05-09 Dimitar Dimitrov + + * scripttempl/pru.sc (__init_array_begin, __init_array_begin): + Rename. + +2019-05-08 Pekka Seppänen + + PR 24536 + * ldbuildid.c (generate_build_id): Cast return value from + GetProcAddress in order to avoid a compile time warning. + +2019-05-06 Alan Modra + + * testsuite/ld-undefined/weak-undef.exp: Don't xfail pj. + +2019-05-04 Alan Modra + + * testsuite/ld-scripts/fill.d: Don't xfail m32c + * testsuite/ld-scripts/fill16.d: Likewise. + +2019-05-04 Alan Modra + + PR 24511 + * testsuite/ld-elf/pr14156a.d: Allow for .init/.fini being a + data section on hppa64. + * testsuite/ld-elf/pr14156b.d: Likewise. + * testsuite/ld-scripts/pr18963.t: Map standard sections to set + output section flags. + * testsuite/ld-scripts/sane1.t: Likewise. + * testsuite/ld-elf/init-fini-arrays.s: Reference __init_array_start + and __fini_array_start. Define __start et al. + * testsuite/ld-elf/pr24511.d: New test. + +2019-04-30 Alan Modra + + * testsuite/ld-powerpc/elfv2exe.d: Update. + * testsuite/ld-powerpc/elfv2so.d: Update. + * testsuite/ld-powerpc/tocopt.d: Update. + * testsuite/ld-powerpc/tocopt.s: Update. + * testsuite/ld-powerpc/tocopt5.d: Update. + * testsuite/ld-powerpc/tocopt5.s: Update. + * testsuite/ld-powerpc/tocopt7.d: Update. + * testsuite/ld-powerpc/tocopt7.s: Update. + * testsuite/ld-powerpc/tocopt8.d: Update. + * testsuite/ld-powerpc/tocopt8.s: Update. + +2019-04-30 Alan Modra + + * ld.texi (How GNU properties are merged): Avoid pod2man error. + Correct example. + +2019-04-26 H.J. Lu + + PR ld/24486 + * testsuite/ld-plugin/lto.exp: Run PR ld/24486 tests. + * testsuite/ld-plugin/pr24486a.c: New file. + * testsuite/ld-plugin/pr24486b.c: Likewise. + * testsuite/ld-plugin/pr24486c.c: Likewise. + +2019-04-26 Nick Clifton + + * po/ru.po: Updated Russian translation. + +2019-04-26 Christopher Yeleighton + + * ld.texi: Properly hyphenate the word "specific". + +2019-04-25 H.J. Lu + + PR ld/24406 + * ld.texi: Remove LTO warning from --wrap. + * plugin.c (get_symbols): Update resolution for wrapper and + wrapped symbols. + * testsuite/ld-plugin/lto.exp: Run ld/24406 tests. + * testsuite/ld-plugin/pr24406-1.c: New file. + * testsuite/ld-plugin/pr24406-2a.c: Likewise. + * testsuite/ld-plugin/pr24406-2b.c: Likewise. + +2019-04-25 Sudakshina Das + + * testsuite/ld-aarch64/bti-pac-plt-1.d: Update. + * testsuite/ld-aarch64/bti-pac-plt-2.d: Update. + * testsuite/ld-aarch64/bti-plt-1.d: Update. + * testsuite/ld-aarch64/bti-plt-3.d: Update. + * testsuite/ld-aarch64/bti-plt-5.d: Update. + * testsuite/ld-aarch64/pac-plt-1.d: Update. + * testsuite/ld-aarch64/pac-plt-2.d: Update. + +2019-04-24 Sandra Loosemore + + * testsuite/config/default.exp: Use [check_compiler_available] + instead of [which $CC]. + * testsuite/ld-auto-import/auto-import.exp: Likewise. + * testsuite/ld-cygwin/exe-export.exp: Likewise. + * testsuite/ld-elf/audit.exp: Likewise. + * testsuite/ld-elf/compress.exp: Likewise. + * testsuite/ld-elf/dwarf.exp: Likewise. + * testsuite/ld-elf/elf.exp: Likewise. + * testsuite/ld-elf/indirect.exp: Likewise. + * testsuite/ld-elf/linux-x86.exp: Likewise. + * testsuite/ld-elf/shared.exp: Likewise. + * testsuite/ld-elf/tls.exp: Likewise. + * testsuite/ld-elf/wrap.exp: Likewise. + * testsuite/ld-elfcomm/elfcomm.exp: Likewise. + * testsuite/ld-elfvers/vers.exp: Likewise. + * testsuite/ld-elfvsb/elfvsb.exp: Likewise. + * testsuite/ld-elfweak/elfweak.exp: Likewise. + * testsuite/ld-gc/gc.exp: Likewise. + * testsuite/ld-i386/i386.exp: Likewise. + * testsuite/ld-i386/no-plt.exp: Likewise. + * testsuite/ld-i386/tls.exp: Likewise. + * testsuite/ld-ifunc/ifunc.exp: Likewise. + * testsuite/ld-mn10300/mn10300.exp: Likewise. + * testsuite/ld-pe/pe-compile.exp: Likewise. + * testsuite/ld-pe/pe-run.exp: Likewise. + * testsuite/ld-pe/pe-run2.exp: Likewise. + * testsuite/ld-pie/pie.exp: Likewise. + * testsuite/ld-plugin/lto.exp: Likewise. + * testsuite/ld-plugin/plugin.exp: Likewise. + * testsuite/ld-scripts/crossref.exp: Likewise. + * testsuite/ld-sh/sh.exp: Likewise. + * testsuite/ld-shared/shared.exp: Likewise. + * testsuite/ld-size/size.exp: Likewise. + * testsuite/ld-srec/srec.exp: Likewise. + * testsuite/ld-undefined/undefined.exp: Likewise. + * testsuite/ld-unique/unique.exp: Likewise. + * testsuite/ld-x86-64/mpx.exp: Likewise. + * testsuite/ld-x86-64/no-plt.exp: Likewise. + * testsuite/ld-x86-64/tls.exp: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Call + check_compiler_available before trying to use the compiler. + (run_cc_link_tests): Likewise. + (check_compiler_available): New. Use it instead of [which $CC]. + +2019-04-23 Alan Modra + + * Makefile.am (GENDEPDIR): New var, used.. + (GENSCRIPTS): ..here. + * Makefile.in: Regenerate. + * genscripts.sh: Test for $DEPDIR set before every use. + +2019-04-22 Matthew Fortune + + * testsuite/ld-mips-elf/mips-elf-flags.exp: Fix expected ASEs + for M5100. + +2019-04-19 Alan Modra + + * testsuite/ld-gc/skip-map-discarded.s: Add section attributes. + * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add + s12z to list of targets not supporting --gc-sections. + +2019-04-17 H.J. Lu + + * testsuite/ld-i386/i386.exp: Run pr18801a and pr18801b instead + of pr18801. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + * testsuite/ld-i386/pr18801.d: Removed. + * testsuite/ld-x86-64/pr18801.d: Likewise. + * testsuite/ld-i386/pr18801a.d: New file. + * testsuite/ld-i386/pr18801b.d: Likewise. + * testsuite/ld-x86-64/pr18801a.d: Likewise. + * testsuite/ld-x86-64/pr18801b.d: Likewise. + * testsuite/ld-x86-64/pie2.d: Suggest -fPIE instead of -fPIC. + * testsuite/ld-x86-64/pie2.d: Likewise. + * testsuite/ld-x86-64/pr19719.d: Likewise. + * testsuite/ld-x86-64/pr19807-2a.d: Likewise. + * testsuite/ld-x86-64/pr19969.d: Likewise. + * testsuite/ld-x86-64/pr21997-1a.err: Likewise. + * testsuite/ld-x86-64/pr21997-1b.err: Likewise. + * testsuite/ld-x86-64/pr22001-1a.err: Likewise. + * testsuite/ld-x86-64/pr22001-1b.err: Likewise. + * testsuite/ld-x86-64/pr22791-1.err: Likewise. + +2019-04-17 H.J. Lu + + PR ld/24458 + * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24458 tests. + * testsuite/ld-x86-64/pr24458.s: New file. + * testsuite/ld-x86-64/pr24458a-x32.d: Likewise. + * testsuite/ld-x86-64/pr24458a.d: Likewise. + * testsuite/ld-x86-64/pr24458b-x32.d: Likewise. + * testsuite/ld-x86-64/pr24458b.d: Likewise. + * testsuite/ld-x86-64/pr24458c-x32.d: Likewise. + * testsuite/ld-x86-64/pr24458c.d: Likewise. + +2019-04-17 Jozef Lawrynowicz + + * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss + symbol when .lower.bss or .either.bss sections exist. + Define __crt0_movedata when .lower.data or .either.data sections exist. + * testsuite/gas/msp430/either-data-bss-sym.d: New test. + * testsuite/gas/msp430/low-data-bss-sym.d: New test. + * testsuite/gas/msp430/either-data-bss-sym.s: New test source. + * testsuite/gas/msp430/low-data-bss-sym.s: New test source. + * testsuite/gas/msp430/msp430.exp: Run new tests. + Enable large code model when running -mdata-region={upper,either} + tests. + +2019-04-16 Alan Modra + + * testsuite/ld-scripts/pr20302.d: Don't run for ns32k-*-*. + * testsuite/ld-scripts/section-match-1.d: Likewise. + * testsuite/ld-undefined/require-defined.exp: Likewise. + +2019-04-15 Faraz Shahbazker + + * testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF + targets. + +2019-04-15 Sudakshina Das + + * testsuite/ld-arm/bfcsel.s: New. + * testsuite/ld-arm/bfcsel.d: New. + * testsuite/ld-arm/arm-elf.exp: Add above test. + +2019-04-15 Sudakshina Das + + * testsuite/ld-arm/bfl.s: New. + * testsuite/ld-arm/bfl.d: New. + * testsuite/ld-arm/arm-elf.exp: Add above test. + +2019-04-15 Sudakshina Das + + * testsuite/ld-arm/bf.s: New. + * testsuite/ld-arm/bf.d: New. + * testsuite/ld-arm/arm-elf.exp: Add above test. + +2019-04-15 Thomas Preud'homme + + * testsuite/ld-arm/attr-merge-13.attr: New test. + * testsuite/ld-arm/attr-merge-13a.s: New test. + * testsuite/ld-arm/attr-merge-13b.s: New test. + +2019-04-13 Alan Modra + + * Makefile.am (GENSCRIPTS): Pass LIB_PATH as a parameter. Add + DEPDIR parameter. + (ELF_DEPS, ELF_GEN_DEPS, ELF_X86_DEPS): Delete. + (ALL_EMULATION_SOURCES, ALL_64_EMULATION_SOURCES): Depend on + $GEN_DEPENDS. + (e*.c): Delete all dependencies, instead include dependencies + from $DEPDIR/*.Pc. + * Makefile.in: Regenerate. + * configure.ac (source_sh): Define and use function. + * configure: Regenerate. + * emulparams/aarch64cloudabib.sh, * emulparams/aarch64elf32b.sh, + * emulparams/aarch64elfb.sh, * emulparams/aarch64fbsdb.sh, + * emulparams/aarch64linux32b.sh, * emulparams/aarch64linuxb.sh, + * emulparams/arcelf.sh, * emulparams/arcelf_prof.sh, + * emulparams/arclinux.sh, * emulparams/arclinux_nps.sh, + * emulparams/arclinux_prof.sh, * emulparams/arcv2elf.sh, + * emulparams/arcv2elfx.sh, * emulparams/armelf_fbsd.sh, + * emulparams/armelf_linux_eabi.sh, + * emulparams/armelf_linux_fdpiceabi.sh, + * emulparams/armelf_nacl.sh, * emulparams/armelf_nbsd.sh, + * emulparams/armelf_vxworks.sh, * emulparams/armelfb.sh, + * emulparams/armelfb_fbsd.sh, * emulparams/armelfb_fuchsia.sh, + * emulparams/armelfb_linux.sh, * emulparams/armelfb_linux_eabi.sh, + * emulparams/armelfb_linux_fdpiceabi.sh, + * emulparams/armelfb_nacl.sh, * emulparams/armelfb_nbsd.sh, + * emulparams/armsymbian.sh, * emulparams/cskyelf_linux.sh, + * emulparams/elf32_sparc_sol2.sh, + * emulparams/elf32_sparc_vxworks.sh, * emulparams/elf32_tic6x_be.sh, + * emulparams/elf32_tic6x_elf_be.sh, + * emulparams/elf32_tic6x_elf_le.sh, + * emulparams/elf32_tic6x_linux_be.sh, + * emulparams/elf32_tic6x_linux_le.sh, + * emulparams/elf32_x86_64.sh, * emulparams/elf32_x86_64_nacl.sh, + * emulparams/elf32b4300.sh, * emulparams/elf32bfinfd.sh, + * emulparams/elf32bmipn32.sh, * emulparams/elf32bsmip.sh, + * emulparams/elf32btsmip.sh, * emulparams/elf32btsmip_fbsd.sh, + * emulparams/elf32btsmipn32.sh, * emulparams/elf32btsmipn32_fbsd.sh, + * emulparams/elf32ebmip.sh, * emulparams/elf32ebmipvxworks.sh, + * emulparams/elf32elmip.sh, * emulparams/elf32elmipvxworks.sh, + * emulparams/elf32frvfd.sh, * emulparams/elf32l4300.sh, + * emulparams/elf32lm32fd.sh, * emulparams/elf32lmip.sh, + * emulparams/elf32lppc.sh, * emulparams/elf32lppclinux.sh, + * emulparams/elf32lppcnto.sh, * emulparams/elf32lppcsim.sh, + * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh, + * emulparams/elf32lriscv.sh, * emulparams/elf32lriscv_ilp32.sh, + * emulparams/elf32lriscv_ilp32f.sh, * emulparams/elf32lsmip.sh, + * emulparams/elf32ltsmip.sh, * emulparams/elf32ltsmip_fbsd.sh, + * emulparams/elf32ltsmipn32.sh, * emulparams/elf32ltsmipn32_fbsd.sh, + * emulparams/elf32microblazeel.sh, * emulparams/elf32or1k_linux.sh, + * emulparams/elf32ppc.sh, * emulparams/elf32ppc_fbsd.sh, + * emulparams/elf32ppccommon.sh, * emulparams/elf32ppclinux.sh, + * emulparams/elf32ppcnto.sh, * emulparams/elf32ppcsim.sh, + * emulparams/elf32ppcvxworks.sh, * emulparams/elf32ppcwindiss.sh, + * emulparams/elf32tilegx_be.sh, * emulparams/elf64_ia64_fbsd.sh, + * emulparams/elf64_sparc_fbsd.sh, * emulparams/elf64_sparc_sol2.sh, + * emulparams/elf64alpha_fbsd.sh, * emulparams/elf64alpha_nbsd.sh, + * emulparams/elf64bmip-defs.sh, * emulparams/elf64bmip.sh, + * emulparams/elf64btsmip.sh, * emulparams/elf64btsmip_fbsd.sh, + * emulparams/elf64lppc.sh, * emulparams/elf64lriscv-defs.sh, + * emulparams/elf64lriscv.sh, * emulparams/elf64lriscv_lp64.sh, + * emulparams/elf64lriscv_lp64f.sh, * emulparams/elf64ltsmip.sh, + * emulparams/elf64ltsmip_fbsd.sh, * emulparams/elf64ppc.sh, + * emulparams/elf64ppc_fbsd.sh, * emulparams/elf64rdos.sh, + * emulparams/elf64tilegx_be.sh, * emulparams/elf_i386.sh, + * emulparams/elf_i386_be.sh, * emulparams/elf_i386_fbsd.sh, + * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386_nacl.sh, + * emulparams/elf_i386_sol2.sh, * emulparams/elf_i386_vxworks.sh, + * emulparams/elf_iamcu.sh, * emulparams/elf_k1om.sh, + * emulparams/elf_k1om_fbsd.sh, * emulparams/elf_l1om.sh, + * emulparams/elf_l1om_fbsd.sh, * emulparams/elf_x86_64.sh, + * emulparams/elf_x86_64_cloudabi.sh, + * emulparams/elf_x86_64_fbsd.sh, * emulparams/elf_x86_64_nacl.sh, + * emulparams/elf_x86_64_sol2.sh, * emulparams/h8300helf.sh, + * emulparams/h8300helf_linux.sh, * emulparams/h8300hnelf.sh, + * emulparams/h8300self.sh, * emulparams/h8300self_linux.sh, + * emulparams/h8300snelf.sh, * emulparams/h8300sxelf.sh, + * emulparams/h8300sxelf_linux.sh, * emulparams/h8300sxnelf.sh, + * emulparams/hppanbsd.sh, * emulparams/hppaobsd.sh, + * emulparams/m32rlelf.sh, * emulparams/m32rlelf_linux.sh, + * emulparams/m68kelfnbsd.sh, * emulparams/mn10300.sh, + * emulparams/msp430X.sh, * emulparams/nds32belf.sh, + * emulparams/nds32belf16m.sh, * emulparams/nds32belf_linux.sh, + * emulparams/pjlelf.sh, * emulparams/ppclynx.sh, + * emulparams/score7_elf.sh, * emulparams/shelf_fd.sh, + * emulparams/shelf_linux.sh, * emulparams/shelf_nbsd.sh, + * emulparams/shelf_uclinux.sh, * emulparams/shelf_vxworks.sh, + * emulparams/shl.sh, * emulparams/shlelf.sh, + * emulparams/shlelf_fd.sh, * emulparams/shlelf_nbsd.sh, + * emulparams/shlelf_vxworks.sh: Use source_sh. + * genscripts.sh: Adjust for changed parameters. Emit dependencies + for e*.c to .deps/*.Pc. + (source_sh): New function, use it throughout to source scripts. + * genscrba.sh (source_em): Use source_sh. + +2019-04-13 Alan Modra + + * configure.ac (TDIRS): Build up tdirs in this variable and + AC_SUBST, also using AM_SUBST_NOTMAKE. + * configure: Regenerate. + * Makefile.am (DISTCLEANFILES): Remove tdirs. + * Makefile.in: Regenerate. + +2019-04-12 Nick Clifton + + PR 24450 + * ld.texi (Output Section Attributes): Add ALIGN_WITH_INPUT to + example of section attributes. + +2019-04-11 Faraz Shahbazker + + * NEWS: Mention new option --no-print-map-discarded. + * ld.h (ld_config_type) : New field. + * ldlang.c (lang_map): Conditionally output discarded sections + in map files based on configuration option. + * ldlex.h (option_values) : New. + * ldmain.c (main): Enabled print_map_discarded by default. + * lexsup.c (ld_options): Add new command-line options. + (parse_args) : New cases. + * ld.texi: Document new options. + * testsuite/ld-gc/gc.exp: Add new test. + * testsuite/ld-gc/skip-map-discarded.s: New file. + * testsuite/ld-gc/skip-map-discarded.d: New file. + * testsuite/ld-gc/skip-map-discarded.map: New file. + +2019-04-11 H.J. Lu + + * ld.texi: Document -z cet-report=[none|warning|error]. + * emulparams/cet.sh: Add -z cet-report=[none|warning|error]. + * testsuite/ld-i386/i386.exp: Run -z cet-report=[warning|error] + tests. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + * testsuite/ld-i386/property-x86-cet1.d: New file. + * testsuite/ld-i386/property-x86-cet2a.d: Likewise. + * testsuite/ld-i386/property-x86-cet2b.d: Likewise. + * testsuite/ld-i386/property-x86-cet3a.d: Likewise. + * testsuite/ld-i386/property-x86-cet3b.d: Likewise. + * testsuite/ld-i386/property-x86-cet4a.d: Likewise. + * testsuite/ld-i386/property-x86-cet4b.d: Likewise. + * testsuite/ld-i386/property-x86-cet5a.d: Likewise. + * testsuite/ld-i386/property-x86-cet5b.d: Likewise. + * testsuite/ld-i386/property-x86-cet6.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet.s: Likewise. + * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet1.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet2b-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet2b.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet3a-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet3a.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet3b-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet3b.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet4a-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet4a.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet4b-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet4b.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet6-x32.d: Likewise. + * testsuite/ld-x86-64/property-x86-cet6.d: Likewise. + +2019-04-11 H.J. Lu + + * testsuite/config/default.exp (STATIC_PIE_LDFLAGS): New. Set + to "-static-pie" if target compiler supports it. + * testsuite/ld-elf/elf.exp: Run -static-pie tests if + $STATIC_PIE_LDFLAGS isn't empty. + * testsuite/ld-ifunc/ifunc.exp: Likewise. + +2019-04-11 Tamar Christina + + PR ld/24302 + * testsuite/ld-aarch64/aarch64-elf.exp: Add new test. + * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: New test. + +2019-04-10 H.J. Lu + + * scripttempl/elf.sc (CREATE_PIC): New. Set for CREATE_SHLIB or + CREATE_PIE. + (__rel_iplt_start): Don't define for CREATE_PIC. + (__rel_iplt_end): Likewise. + (__rela_iplt_start): Likewise. + (__rela_iplt_end): Likewise. + +2019-04-10 Alan Modra + + * testsuite/ld-elf/shared.exp: Don't xfail PR ld/20995 for + powerpc-nto. + +2019-04-10 Alan Modra + + * emultempl/cskyelf.em (csk_elf_before_parse): New function, + setting use_branch_stub false for linux. + (csky_elf_create_output_section_statements): Do emit this + function and all others in the file for linux, plus the branch + option control. Disable branch stubs when non-ELF. + +2019-04-10 Alan Modra + + * Makefile.am (eskyelf.c, eskyelf_linux.c): Depend on cskyelf.em. + (ecskyelf_linux.c): Depend on cskyelf.sh. + (eelf32microblazeel.c): Depend on elf32microblaze.sh. + * Makefile.in: Regenerate. + * emulparams/cskyelf.sh: Comment regarding cskelf_linux.sh. + (PAGE_SIZE): Don't define. + * emulparams/cskyelf_linux.sh: Source sckyelf.sh, leaving just + the differing variable defs/undefs. + * emulparams/elf32mcore.sh (PAGE_SIZE): Don't define. + * emulparams/elf32microblaze.sh: Comment re. elf32microblazeel.sh. + (OUTPUT_FORMAT): Use BIG_OUTPUT_FORMAT. + (PAGE_SIZE): Don't define. + * emulparams/elf32microblazeel.sh: Source elf32microblaze.sh, + leaving just the differing OUTPUT_FORMAT. + +2019-04-10 Alan Modra + + * po/BLD-POTFILES.in: Regenerate. + +2019-04-08 H.J. Lu + + * testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for + lynxos and nto targets. + +2019-04-08 H.J. Lu + + * Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_chaos.c. + (eelf_i386_chaos.c): Removed. + * Makefile.in: Regenerated. + * configure.tgt: Remove i[3-7]86-*-kaos*. + * emulparams/elf_i386_chaos.sh: Removed. + +2019-04-08 H.J. Lu + + * emulparams/elf_i386_be.sh (EXTRA_EM_FILE): New. + * emulparams/i386moss.sh (EXTRA_EM_FILE): Likewise. + +2019-04-08 Alan Modra + + * emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define. + * emulparams/i386lynx.sh (EXTRA_EM_FILE): Define. + * emulparams/i386nto.sh (EXTRA_EM_FILE): Define. + +2019-04-06 H.J. Lu + + * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emultempl/elf-x86.em. + (eelf_i386_sol2.c): Also depend on + $(srcdir)/emultempl/solaris2-x86.em. + (eelf_x86_64_sol2.c): Likewise. + * Makefile.in: Regenerated. + * emulparams/call_nop.sh: Set x86-specific linker options via + params. + * emulparams/cet.sh: Likewise. + * emulparams/reloc_overflow.sh: Likewise. + * emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New. Set to + "elf-x86". + * emulparams/elf_i386.sh: Likewise. + * emulparams/elf_i386_be.sh: Likewise. + * emulparams/elf_i386_chaos.sh: Likewise. + * emulparams/elf_i386_ldso.sh: Likewise. + * emulparams/elf_i386_vxworks.sh: Likewise. + * emulparams/elf_iamcu.sh: Likewise. + * emulparams/elf_k1om.sh: Likewise. + * emulparams/elf_l1om.sh: Likewise. + * emulparams/elf_x86_64.sh: Likewise. + * emulparams/elf_i386_sol2.sh (EXTRA_EM_FILE): Changed to + "solaris2-x86". + * emulparams/elf_x86_64_sol2.sh: Likewise. + * emultempl/elf-x86.em: New file. + * emultempl/solaris2-x86.em: Likewise. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't + set link_info.call_nop_byte. + +2019-04-05 Alan Modra + + * testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces. + * testsuite/ld-powerpc/tlsopt5.d: Likewise. + * testsuite/ld-powerpc/tlsopt5_32.d: Likewise. + +2019-04-03 Alan Modra + + PR 24411 + ldlex.l (SYMBOLNAMECHAR1): Don't match '/'. + ("/DISCARD/"): New. + +2019-04-03 Alan Modra + + * ldlex.l: Formatting. + (CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete. + (FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR), + (NOCFILENAMECHAR): Remove duplicate chars. Reorder. + (SYMBOLCHARN): Likewise. Rename to SYMBOLNAMECHAR. + ("$SYSROOT"..): Delete rule. + +2019-03-29 Max Filippov + + * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New + test definition. + * testsuite/ld-xtensa/xtensa.exp + (relax-undef-weak-pie-export-dynamic): Add new test. + +2019-03-26 Martin Liska + + * plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str, + lto_visibility_str and use then to inform about plugin-symbols. + * testsuite/ld-plugin/plugin-12.d: Adjust expected pattern. + 2019-03-25 Tamar Christina * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.