X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=01a281c968f6a75ccf0c92786faacafd32082722;hb=fa6ecf940581b4be26165351bb0473427d31c7d8;hp=533685b363d7b05b55b8019fb09dca1bd9ec4b02;hpb=bb68f22c8e648032a0d1c1d17353eec599ff5e6a;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index 533685b363..01a281c968 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,111 @@ +2020-05-28 H.J. Lu + + * configure.tgt (ac_default_ld_textrel_check): Set to if unset + for Linux/x86 targets. + +2020-05-28 H.J. Lu + + PR ld/20824 + * NEWS: Mention --enable-textrel-check=[no|yes|warning|error]. + * configure.ac: Add --enable-textrel-check=[no|yes|warning|error]. + (DEFAULT_LD_TEXTREL_CHECK): New AC_DEFINE_UNQUOTED. + (DEFAULT_LD_TEXTREL_CHECK_WARNING): Likewise. + * ldmain.c (main): Initialize link_info.textrel_check to + DEFAULT_LD_TEXTREL_CHECK. + * lexsup.c (ld_options): Check DEFAULT_LD_TEXTREL_CHECK_WARNING. + * config.in: Regenerated. + * configure: Likewise. + +2020-05-28 Nick Clifton + + * lexsup.c (parse_args): Generate an error if a name is not + provided to the -Map option. + (ld_options): Mention that the -Map option supports a directory + name as an argument. + * NEWS: Remove mention of support for an empty string as an + argument to -Map. + * ld.texi: Likewise. + +2020-05-27 Hans-Peter Nilsson + + PR ld/22909 + * testsuite/ld-elf/pr19539.d: Don't xfail for cris*-*-*. + +2020-05-27 Rasmus Villemoes + Nick Clifton + + * lexsup.c (parse_args): If the map filename is defined but empty + create a name based upon the output file name. If the name is + defined but refers to a directory create a file inside the + directory based on the output file name. + * ld.texi: Document the new feature. + * testsuite/ld-script/map-address.exp: Add test of new feature. + * NEWS: Mention the new feature. + +2020-05-27 H.J. Lu + + PR ld/22909 + * NEWS: Mention --warn-textrel. + * ld.texi: Update -z text/notext/textoff. Add --warn-textrel. + Remove --warn-shared-textrel. + * ldlex.h (option_values): Rename OPTION_WARN_SHARED_TEXTREL to + OPTION_WARN_TEXTREL. + * lexsup.c (ld_options): Add --warn-textrel. Obsolete + --warn-shared-textrel. + (parse_args): Updated. + (elf_shlib_list_options): Check link_info.textrel_check. + * emultempl/elf.em: Updated. + * testsuite/ld-elf/pr19539.d: Replace -z notext with + --warn-textrel. Expect a warning. + * testsuite/ld-i386/warn1.d: Update expected warning. + +2020-05-26 H.J. Lu + + * testsuite/ld-ifunc/ifunc-23a-x86.d: Skip *-*-lynxos *-*-nto*. + * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise. + * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise. + +2020-05-25 H.J. Lu + + * testsuite/ld-x86-64/x86-64.exp: Pass -z notext to linker. + +2020-05-25 H.J. Lu + + * testsuite/ld-elf/eh6.d: Pass -z notext to linker. + * testsuite/ld-elf/ehdr_start-shared.d: Likewise. + * testsuite/ld-elf/pr19539.d: Likewise. + * testsuite/ld-elfvers/vers.exp: Likewise. + * testsuite/ld-elfvsb/elfvsb.exp: Likewise. + * testsuite/ld-i386/i386.exp: Likewise. + * testsuite/ld-i386/nogot1.d: Likewise. + * testsuite/ld-i386/pr19539.d: Likewise. + * testsuite/ld-i386/pr19636-2a.d: Likewise. + * testsuite/ld-i386/pr19636-2b.d: Likewise. + * testsuite/ld-i386/pr19636-2c.d: Likewise. + * testsuite/ld-i386/pr19636-2d.d: Likewise. + * testsuite/ld-i386/pr19636-2e.d: Likewise. + * testsuite/ld-i386/pr19636-3d.d: Likewise. + * testsuite/ld-i386/pr19636-3e.d: Likewise. + * testsuite/ld-i386/pr19939b.d: Likewise. + * testsuite/ld-i386/undefweaka.d: Likewise. + * testsuite/ld-i386/undefweakb.d: Likewise. + * testsuite/ld-shared/shared.exp: Likewise. + * testsuite/ld-size/size.exp: Likewise. + * testsuite/ld-unique/unique.exp: Likewise. + * testsuite/ld-x86-64/pie1.d: Likewise. + * testsuite/ld-x86-64/pr19539a.d: Likewise. + * testsuite/ld-x86-64/pr19539b.d: Likewise. + * testsuite/ld-x86-64/pr19636-1d.d: Likewise. + * testsuite/ld-x86-64/pr19636-1e.d: Likewise. + * testsuite/ld-x86-64/pr19807-1a.d: Likewise. + * testsuite/ld-x86-64/pr19807-1b.d: Likewise. + * testsuite/ld-x86-64/pr19807-2b.d: Likewise. + * testsuite/ld-x86-64/pr19807-2c.d: Likewise. + * testsuite/ld-x86-64/pr19807-2d.d: Likewise. + * testsuite/ld-x86-64/pr19807-2e.d: Likewise. + * testsuite/ld-x86-64/pr19939b.d: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + 2020-05-24 Fangrui Song PR ld/26018