ChangeLog 65 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849
  1. 2022-04-07 Mark Harmstone <mark@harmstone.com>
  2. * testsuite/ld-pe/secidx1.s: New test source file.
  3. * testsuite/ld-pe/secidx2.s: New test source file.
  4. * testsuite/ld-pe/secidx.d: New test driver file.
  5. * testsuite/ld-pe/secidx_64.d: New test driver file.
  6. * testsuite/ld-pe/pe.exp: Add new tests.
  7. 2022-03-01 Nick Clifton <nickc@redhat.com>
  8. PR 21964
  9. * testsuite/ld-elf/pr21964-1a.c: Fix array comparisons.
  10. * testsuite/ld-elf/pr21964-1b.c: Likewise.
  11. * testsuite/ld-elf/pr21964-1c.c: Likewise.
  12. * testsuite/ld-elf/pr21964-2a.c: Likewise.
  13. * testsuite/ld-elf/pr21964-2b.c: Likewise.
  14. * testsuite/ld-elf/pr21964-3a.c: Likewise.
  15. 2022-02-17 Roland McGrath <mcgrathr@google.com>
  16. * ld.texi (Output Section Type): Fix typo in @code syntax.
  17. 2022-02-17 Nick Clifton <nickc@redhat.com>
  18. * po/sr.po: Updated Serbian translation.
  19. 2022-02-16 Fangrui Song <maskray@google.com>
  20. Nick Clifton <nickc@redhat.com>
  21. PR ld/28841
  22. * ld.texi: Document new output section type.
  23. * ldlex.l: Add new token TYPE.
  24. * ldgram.y: Handle TYPE=exp and READONLY (TYPE=exp).
  25. * ldlang.h: Add type_section to list of section types.
  26. * ldlang.c (lang_add_section): Handle type_section.
  27. (map_input_to_output_sections): Handle type_section.
  28. * testsuite/ld-scripts/output-section-types.t: Add tests.
  29. * testsuite/ld-scripts/output-section-types.d: Update.
  30. 2022-02-02 Nick Clifton <nickc@redhat.com>
  31. * po/fr.po: Updated French translation.
  32. 2022-01-24 Nick Clifton <nickc@redhat.com>
  33. * po/bg.po: Updated Bulgarian translation.
  34. * po/uk.po: Updated Ukranian translation.
  35. 2022-01-22 Alexander von Gluck IV <kallisti5@unixzen.com>
  36. * configure.tgt (arm-haiku): Fix typo.
  37. * emulparams/armelf_haiku.su (MAXPAGESIZE): Use the default value.
  38. (COMMONPAGESIZE): Likewise.
  39. 2022-01-22 Nick Clifton <nickc@redhat.com>
  40. * configure: Regenerate.
  41. * po/ld.pot: Regenerate.
  42. 2022-01-22 Nick Clifton <nickc@redhat.com>
  43. * 2.38 release branch created.
  44. 2022-01-21 Nick Clifton <nickc@redhat.com>
  45. * po/sr.po: Updated Serbian translation.
  46. 2022-01-17 Nick Clifton <nickc@redhat.com>
  47. * Makefile.in: Regenerate.
  48. * po/ld.pot: Regenerate.
  49. 2022-01-11 Martin Storsjö <martin@martin.st>
  50. * pe-dll.c (make_head): Prefix the symbol name with the dll name.
  51. (make_tail, make_one, make_singleton_name_thunk): Likewise.
  52. (make_import_fixup_entry, make_runtime_pseudo_reloc): Likewise.
  53. (pe_create_runtime_relocator_reference): Likewise.
  54. (pe_dll_generate_implib): Set dll_symname_len.
  55. (pe_process_import_defs): Likewise.
  56. 2021-12-16 Nick Clifton <nickc@redhat.com>
  57. PR 28686
  58. * testsuite/ld-avr/avr-prop-7.d: Adjust expected output.
  59. * testsuite/ld-avr/avr-prop-8.d: Likewise.
  60. * testsuite/ld-avr/pr13402.d: Likewise.
  61. 2021-11-30 Nick Clifton <nickc@redhat.com>
  62. * scripttempl/pru.sc (.pru_irq_map): Define output section.
  63. * testsuite/ld-pru/pru_irq_map-1.d: New test.
  64. * testsuite/ld-pru/pru_irq_map-2.d: New test.
  65. * testsuite/ld-pru/pru_irq_map.s: New test.
  66. 2021-11-17 Jeremy Drake <cygwin@jdrake.com>
  67. * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Set to 0 for
  68. Cygwin targets.
  69. * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Likewise.
  70. 2021-11-17 Nick Clifton <nickc@redhat.com>
  71. PR 28452
  72. * ldgram.y: Add support for PT_GNU_RELRO and PT_GNU_PROPERTY.
  73. * ldgram.c: Regenerate.
  74. 2021-11-15 Roland McGrath <mcgrathr@google.com>
  75. * testsuite/ld-aarch64/dt_textrel.d: Pass explicit -z notext in
  76. case ld was configured with --enable-textrel-check=error.
  77. * testsuite/ld-aarch64/pr22764.d: Likewise.
  78. * testsuite/ld-aarch64/pr20402.d: Likewise.
  79. 2021-10-25 Nick Alcock <nick.alcock@oracle.com>
  80. * testsuite/ld-ctf/nonrepresentable-member.*: New test.
  81. 2021-10-25 Nick Alcock <nick.alcock@oracle.com>
  82. * testsuite/ld-ctf/array.d: Change --ctf=.ctf to --ctf.
  83. * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
  84. * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
  85. * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
  86. * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
  87. * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
  88. * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
  89. * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
  90. * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
  91. * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
  92. * testsuite/ld-ctf/conflicting-enums.d: Likewise.
  93. * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
  94. * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
  95. * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
  96. * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
  97. * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
  98. * testsuite/ld-ctf/cycle-1.d: Likewise.
  99. * testsuite/ld-ctf/cycle-2.A.d: Likewise.
  100. * testsuite/ld-ctf/cycle-2.B.d: Likewise.
  101. * testsuite/ld-ctf/cycle-2.C.d: Likewise.
  102. * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
  103. * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
  104. * testsuite/ld-ctf/diag-cuname.d: Likewise.
  105. * testsuite/ld-ctf/diag-parlabel.d: Likewise.
  106. * testsuite/ld-ctf/enum-forward.d: Likewise.
  107. * testsuite/ld-ctf/enums.d: Likewise.
  108. * testsuite/ld-ctf/forward.d: Likewise.
  109. * testsuite/ld-ctf/function.d: Likewise.
  110. * testsuite/ld-ctf/nonrepresentable.d: Likewise.
  111. * testsuite/ld-ctf/slice.d: Likewise.
  112. * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
  113. 2021-09-30 Dimitar Dimitrov <dimitar@dinux.eu>
  114. * scripttempl/pru.sc (.resource_table): Align the output
  115. section, not the first symbol.
  116. 2021-09-27 Nick Alcock <nick.alcock@oracle.com>
  117. * configure: Regenerate.
  118. 2021-09-21 Nick Clifton <nickc@redhat.com>
  119. * ldlang.c (lang_end): When computing the entry point, only
  120. try the start address of the entry section when creating an
  121. executable.
  122. * ld.texi (Entry point): Update description of heuristic used to
  123. choose the entry point.
  124. testsuite/ld-alpha/tlspic.rd: Update expected entry point address.
  125. testsuite/ld-arm/tls-gdesc-got.d: Likewise.
  126. testsuite/ld-i386/tlsnopic.rd: Likewise.
  127. testsuite/ld-ia64/tlspic.rd: Likewise.
  128. testsuite/ld-sparc/gotop32.rd: Likewise.
  129. testsuite/ld-sparc/gotop64.rd: Likewise.
  130. testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
  131. testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
  132. testsuite/ld-sparc/tlssunpic32.rd: Likewise.
  133. testsuite/ld-sparc/tlssunpic64.rd: Likewise.
  134. testsuite/ld-tic6x/shlib-1.rd: Likewise.
  135. testsuite/ld-tic6x/shlib-1b.rd: Likewise.
  136. testsuite/ld-tic6x/shlib-1r.rd: Likewise.
  137. testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
  138. testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
  139. testsuite/ld-x86-64/pr14207.d: Likewise.
  140. testsuite/ld-x86-64/tlsdesc.rd: Likewise.
  141. testsuite/ld-x86-64/tlspic.rd: Likewise.
  142. testsuite/ld-x86-64/tlspic2.rd: Likewise.
  143. 2021-09-15 Claudiu Zissulescu <claziss@synopsys.com>
  144. * testsuite/ld-arc/got-weak.d: Update file.
  145. 2021-09-14 Claudiu Zissulescu <claziss@synopsys.com>
  146. * ld-arc/got-weak.d: New file.
  147. * ld-arc/got-weak.s: Likewise.
  148. 2021-07-26 Roland McGrath <mcgrathr@google.com>
  149. * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel.
  150. 2021-07-06 Michael Matz <matz@suse.de>
  151. PR ld/28021
  152. * testsuite/ld-riscv-elf/relax-twice.ver: New.
  153. * testsuite/ld-riscv-elf/relax-twice-1.s: New.
  154. * testsuite/ld-riscv-elf/relax-twice-2.s: New.
  155. * testsuite/ld-riscv-elf/ld-riscv-elf.exp
  156. (run_relax_twice_test): New, and call it.
  157. 2021-07-03 Nick Clifton <nickc@redhat.com>
  158. * configure: Regenerate.
  159. * po/ld.pot: Regenerate.
  160. 2021-07-03 Nick Clifton <nickc@redhat.com>
  161. * 2.37 release branch created.
  162. 2021-06-22 Nelson Chu <nelson.chu@sifive.com>
  163. * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
  164. * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.d: New testcase.
  165. * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.s: Likewise.
  166. * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.d: New testcase.
  167. Should report error since the %pcrel_lo with addend refers to
  168. %got_pcrel_hi.
  169. * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s: Likewise.
  170. * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.d: New testcase.
  171. Should report error since the %got_pcrel_hi with addend.
  172. * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s: Likewise.
  173. * testsuite/ld-riscv-elf/pcrel-lo-addend-3.ld: Likewise.
  174. 2021-06-19 H.J. Lu <hongjiu.lu@intel.com>
  175. PR ld/27998
  176. * testsuite/ld-i386/i386.exp: Run PR ld/27998 tests.
  177. * testsuite/ld-i386/pr27998a.d: New file.
  178. * testsuite/ld-i386/pr27998a.s: Likewise.
  179. * testsuite/ld-i386/pr27998b.d: Likewise.
  180. * testsuite/ld-i386/pr27998b.s: Likewise.
  181. 2021-06-19 H.J. Lu <hongjiu.lu@intel.com>
  182. * testsuite/ld-x86-64/textrel-1.err: New file.
  183. * testsuite/ld-x86-64/textrel-1a.s: Likewise.
  184. * testsuite/ld-x86-64/textrel-1b.s: Likewise.
  185. * testsuite/ld-x86-64/x86-64.exp: Run textrel-1 tests.
  186. 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
  187. * testsuite/ld-elf/property-and-1.d: Skip am33_2.0, hppa-hpux
  188. and mn10300.
  189. Pass --generate-missing-build-notes=no to assembler. Allow
  190. other note sections for xtensa.
  191. * testsuite/ld-elf/property-and-2.d: Likewise.
  192. * testsuite/ld-elf/property-and-3.d: Likewise.
  193. * testsuite/ld-elf/property-and-4.d: Likewise.
  194. * testsuite/ld-elf/property-or-1.d: Likewise.
  195. * testsuite/ld-elf/property-or-2.d: Likewise.
  196. * testsuite/ld-elf/property-or-3.d: Likewise.
  197. * testsuite/ld-elf/property-or-4.d: Likewise.
  198. 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
  199. * ld.texi: Move -z unique-symbol after -z undefs.
  200. 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
  201. * testsuite/ld-elf/property-and-1.d: New file.
  202. * testsuite/ld-elf/property-and-1.s: Likewise.
  203. * testsuite/ld-elf/property-and-2.d: Likewise.
  204. * testsuite/ld-elf/property-and-2.s: Likewise.
  205. * testsuite/ld-elf/property-and-3.d: Likewise.
  206. * testsuite/ld-elf/property-and-3.s: Likewise.
  207. * testsuite/ld-elf/property-and-4.d: Likewise.
  208. * testsuite/ld-elf/property-and-empty.s: Likewise.
  209. * testsuite/ld-elf/property-or-1.d: Likewise.
  210. * testsuite/ld-elf/property-or-1.s: Likewise.
  211. * testsuite/ld-elf/property-or-2.d: Likewise.
  212. * testsuite/ld-elf/property-or-2.s: Likewise.
  213. * testsuite/ld-elf/property-or-3.d: Likewise.
  214. * testsuite/ld-elf/property-or-3.s: Likewise.
  215. * testsuite/ld-elf/property-or-4.d: Likewise.
  216. * testsuite/ld-elf/property-or-empty.s: Likewise.
  217. 2021-06-17 H.J. Lu <hongjiu.lu@intel.com>
  218. PR ld/27973
  219. * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS and
  220. $NOPIE_CFLAGS to protected-func-1 without PIE.
  221. 2021-06-17 H.J. Lu <hongjiu.lu@intel.com>
  222. PR ld/27973
  223. * testsuite/ld-x86-64/x86-64.exp: Run protected function tests.
  224. * testsuite/ld-x86-64/protected-func-1.h: New file.
  225. * testsuite/ld-x86-64/protected-func-1a.s: Likewise.
  226. * testsuite/ld-x86-64/protected-func-1b.c: Likewise.
  227. 2021-06-17 Fangrui Song <maskray@google.com>
  228. * ldlex.h (enum option_values): Add OPTION_NO_PIE.
  229. * lexsup.c (struct ld_options): Add -no-pie.
  230. (parse_args): Handle -no-pie.
  231. * ld.texi: Document -no-pie.
  232. 2021-06-15 Alan Modra <amodra@gmail.com>
  233. * testsuite/ld-pie/vaddr-0.d: Update expected output.
  234. 2021-06-11 Alan Modra <amodra@gmail.com>
  235. PR 27952
  236. * ldelf.c (ldelf_after_open): Error on input PIEs too.
  237. 2021-06-09 Nick Clifton <nickc@redhat.com>
  238. PR 27666
  239. * testsuite/ld-sparc/sparc.exp: Do not run the sparctests or
  240. sparc64tests for Solaris2 targets.
  241. 2021-06-03 Alan Modra <amodra@gmail.com>
  242. PR 2589
  243. * ld.texi (link-time runtime library search path): Mention
  244. plugin library path. Correct order of search.
  245. 2021-05-31 Nelson Chu <nelson.chu@sifive.com>
  246. Lifang Xia <lifang_xia@c-sky.com>
  247. PR 27566
  248. * emultempl/riscvelf.em (after_allocation): Call
  249. riscv_set_data_segment_info to set data segment phase before relaxing.
  250. * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
  251. * testsuite/ld-riscv-elf/relro-relax-lui.d: New testcase.
  252. * testsuite/ld-riscv-elf/relro-relax-lui.s: Likewise.
  253. * testsuite/ld-riscv-elf/relro-relax-pcrel.d: Likewise.
  254. * testsuite/ld-riscv-elf/relro-relax-pcrel.s: Likewise.
  255. 2021-05-28 H.J. Lu <hongjiu.lu@intel.com>
  256. PR ld/27905
  257. * testsuite/ld-i386/pcrel16-2.d: xfail.
  258. * testsuite/ld-x86-64/pcrel16-2.d: Likewise.
  259. 2021-05-26 H.J. Lu <hongjiu.lu@intel.com>
  260. PR ld/27905
  261. * testsuite/ld-i386/code16.d: New file.
  262. * testsuite/ld-i386/code16.t: Likewise.
  263. * testsuite/ld-x86-64/code16.d: Likewise.
  264. * testsuite/ld-x86-64/code16.t: Likewise.
  265. * testsuite/ld-i386/i386.exp: Run code16.
  266. * testsuite/ld-x86-64/x86-64.exp: Likewise.
  267. 2021-05-26 H.J. Lu <hongjiu.lu@intel.com>
  268. * testsuite/ld-x86-64/ilp32-12.d: New file.
  269. * testsuite/ld-x86-64/ilp32-12.s: Likewise.
  270. * testsuite/ld-x86-64/x86-64.exp: Run ilp32-12.
  271. 2021-05-14 Nelson Chu <nelson.chu@sifive.com>
  272. * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
  273. * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.d: Renamed from
  274. pcrel-lo-addend-2.
  275. * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.s: Likewise.
  276. * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.d: New testcase.
  277. * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s: Likewise.
  278. 2021-05-13 Fangrui Song <maskray@google.com>
  279. PR 27834
  280. * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC.
  281. * lexsup.c (ld_options): Add -Bno-symbolic.
  282. (parse_args): Handle -Bno-symbolic.
  283. * ld.texi: Document -Bno-symbolic.
  284. * NEWS: Mention -Bno-symbolic.
  285. * testsuite/ld-elf/shared.exp: Add a test.
  286. 2021-05-12 Richard Earnshaw <rearnsha@arm.com>
  287. * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline):
  288. Correct expected output.
  289. 2021-05-11 Roland McGrath <mcgrathr@google.com>
  290. * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific
  291. address layout, so it works for e.g. --target=x86-64-elf.
  292. 2021-05-11 Nick Clifton <nickc@redhat.com>
  293. PR 27113
  294. * Makefile.am (install-data-local): Also delete libdep.dll.a if it
  295. is present.
  296. * Makefile.in: Regenerate.
  297. 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
  298. * testsuite/ld-elf/group8a.d: Remove pru from XFAIL list.
  299. * testsuite/ld-elf/group8b.d: Ditto.
  300. * testsuite/ld-elf/group9a.d: Ditto.
  301. * testsuite/ld-elf/group9b.d: Ditto.
  302. * testsuite/ld-elf/pr12851.d: Ditto.
  303. * testsuite/ld-elf/pr22677.d: Ditto.
  304. * testsuite/lib/ld-lib.exp (check_gc_sections_available): Remove
  305. pru from list.
  306. 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
  307. * scripttempl/pru.sc (.resource_table): Add ALIGN directive.
  308. Use symbols for memory sizes.
  309. 2021-05-08 Mike Frysinger <vapier@gentoo.org>
  310. * Makefile.am (html-local, doc/ld/index.html): New targets.
  311. * Makefile.in: Regenerate.
  312. 2021-05-08 Mike Frysinger <vapier@gentoo.org>
  313. * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
  314. * Makefile.in: Regenerate.
  315. 2021-05-07 Jan Beulich <jbeulich@suse.com>
  316. * testsuite/ld-x86-64/rela.d: New.
  317. * testsuite/ld-x86-64/x86-64.exp: Run new test.
  318. 2021-05-07 Nick Clifton <nickc@redhat.com>
  319. * ldelfgen.c (compare_link_order): Ignore section size when
  320. performing a relocateable link.
  321. 2021-05-07 Alan Modra <amodra@gmail.com>
  322. * ldexp.c (update_definedness): Don't return false for absolute
  323. symbols.
  324. * ldmain.c (multiple_definition): Print "warning: " in message
  325. when not a hard error.
  326. 2021-05-07 Alan Modra <amodra@gmail.com>
  327. * testsuite/ld-elf/pr27825-1.d: Correct xfail.
  328. * testsuite/ld-elf/pr27825-2.d: Likewise.
  329. 2021-05-06 Stafford Horne <shorne@gmail.com>
  330. PR 27746
  331. testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking
  332. along with gotha() relocations.
  333. testsuite/ld-or1k/gotha1.dd: New file.
  334. testsuite/ld-or1k/gotha1.s: New file.
  335. testsuite/ld-or1k/gotha2.dd: New file.
  336. testsuite/ld-or1k/gotha2.s: New file
  337. testsuite/ld-or1k/pltlib.s (x): Define size to avoid link
  338. failure.
  339. 2021-05-06 Nick Alcock <nick.alcock@oracle.com>
  340. * testsuite/ld-ctf/ctf.exp: Use -gctf, not -gt.
  341. * testsuite/lib/ld-lib.exp: Likewise.
  342. * testsuite/ld-ctf/nonrepresentable-1.c: New test for nonrepresentable types.
  343. * testsuite/ld-ctf/nonrepresentable-2.c: Likewise.
  344. * testsuite/ld-ctf/nonrepresentable.d: Likewise.
  345. * testsuite/ld-ctf/array.d: Larger type section.
  346. * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
  347. * testsuite/ld-ctf/enums.d: Likewise.
  348. * testsuite/ld-ctf/conflicting-enums.d: Don't compare types.
  349. * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Changed type order.
  350. * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
  351. * testsuite/ld-ctf/slice.d: Adjust for improved slice emission.
  352. 2021-05-05 H.J. Lu <hongjiu.lu@intel.com>
  353. PR ld/27825
  354. * testsuite/ld-elf/pr27825-1.d: New file.
  355. * testsuite/ld-elf/pr27825-1a.s: Likewise.
  356. * testsuite/ld-elf/pr27825-1b.s: Likewise.
  357. * testsuite/ld-elf/pr27825-2.d: Likewise.
  358. * testsuite/ld-elf/pr27825-2a.s: Likewise.
  359. * testsuite/ld-elf/pr27825-2b.s: Likewise.
  360. 2021-05-05 Alan Modra <amodra@gmail.com>
  361. * testsuite/ld-powerpc/empty.s: New file.
  362. * testsuite/ld-powerpc/undefweak.d,
  363. * testsuite/ld-powerpc/undefweak.s: New testcase.
  364. * testsuite/ld-powerpc/powerpc.exp: Run it.
  365. 2021-05-03 Alan Modra <amodra@gmail.com>
  366. * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for
  367. named section symbols.
  368. 2021-04-28 Nick Clifton <nickc@redhat.com>
  369. * testsuite/ld-elf/anno-sym.s: New test source file.
  370. * testsuite/ld-elf/anno-sym.d: New test driver.
  371. * testsuite/ld-elf/anno-sym.l: New test error output.
  372. 2021-04-26 Jan Beulich <jbeulich@suse.com>
  373. * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d,
  374. testsuite/ld-x86-64/pcrel16-2.d: New.
  375. * testsuite/ld-i386/i386.exp: Run new test.
  376. * testsuite/ld-x86-64/x86-64.exp: Likewise.
  377. 2021-04-23 H.J. Lu <hongjiu.lu@intel.com>
  378. PR ld/27771
  379. * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link
  380. to tmpdir/ldscripts only if it doesn't exist.
  381. 2021-04-22 Jan Beulich <jbeulich@suse.com>
  382. PR ld/26659
  383. * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin.
  384. 2021-04-21 Nick Clifton <nickc@redhat.com>
  385. * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output
  386. to allow for named section symbols.
  387. * testsuite/ld-aarch64/variant_pcs-r.d: Likewise.
  388. * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
  389. * testsuite/ld-alpha/tlsbin.rd: Likewise.
  390. * testsuite/ld-alpha/tlsbinr.rd: Likewise.
  391. * testsuite/ld-alpha/tlspic.rd: Likewise.
  392. * testsuite/ld-arm/rodata-merge-map.sym: Likewise.
  393. * testsuite/ld-arm/script-type.sym: Likewise.
  394. * testsuite/ld-cris/libdso-2.d: Likewise.
  395. * testsuite/ld-cris/pr16044.d: Likewise.
  396. * testsuite/ld-elf/sec64k.exp: Likewise.
  397. * testsuite/ld-ia64/tlsbin.rd: Likewise.
  398. * testsuite/ld-ia64/tlspic.rd: Likewise.
  399. * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
  400. * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
  401. * testsuite/ld-mmix/bspec1.d: Likewise.
  402. * testsuite/ld-mmix/bspec2.d: Likewise.
  403. * testsuite/ld-mmix/local1.d: Likewise.
  404. * testsuite/ld-mmix/local3.d: Likewise.
  405. * testsuite/ld-mmix/local5.d: Likewise.
  406. * testsuite/ld-mmix/local7.d: Likewise.
  407. * testsuite/ld-mmix/undef-3.d: Likewise.
  408. * testsuite/ld-powerpc/tlsso.r: Likewise.
  409. * testsuite/ld-powerpc/tlsso32.r: Likewise.
  410. * testsuite/ld-powerpc/tlstocso.r: Likewise.
  411. * testsuite/ld-s390/tlsbin.rd: Likewise.
  412. * testsuite/ld-s390/tlsbin_64.rd: Likewise.
  413. * testsuite/ld-s390/tlspic.rd: Likewise.
  414. * testsuite/ld-s390/tlspic_64.rd: Likewise.
  415. * testsuite/ld-sparc/gotop32.rd: Likewise.
  416. * testsuite/ld-sparc/gotop64.rd: Likewise.
  417. * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
  418. * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
  419. * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
  420. * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
  421. * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
  422. * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
  423. * testsuite/ld-tic6x/common.d: Likewise.
  424. * testsuite/ld-tic6x/shlib-1.rd: Likewise.
  425. * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
  426. * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
  427. * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
  428. * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
  429. * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
  430. * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
  431. * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
  432. * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
  433. * testsuite/ld-tic6x/static-app-1.rd: Likewise.
  434. * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
  435. * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
  436. * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
  437. 2021-04-20 Clément Chigot <clement.chigot@atos.net>
  438. PR binutils/21700
  439. * testsuite/ld-powerpc/aix52.exp: Add new test.
  440. * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test.
  441. * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test.
  442. * testsuite/ld-powerpc/aix-neg-reloc.ex: New test.
  443. * testsuite/ld-powerpc/aix-neg-reloc.s: New test.
  444. 2021-04-13 Nick Clifton <nickc@redhat.com>
  445. * ld.texi (Options): Add note about the effect of --as-needed on
  446. the --rpath and --rpath-link options on Linux based systems.
  447. 2021-04-13 Alan Modra <amodra@gmail.com>
  448. PR 27722
  449. * libdep_plugin.c (str2vec): Don't pass a potentially signed char
  450. to isspace.
  451. 2021-04-12 Alan Modra <amodra@gmail.com>
  452. * configure.ac (--enable-checking): Add support.
  453. * config.in: Regenerate.
  454. * configure: Regenerate.
  455. 2021-04-12 Alan Modra <amodra@gmail.com>
  456. * emultempl/mipself.em (mips_create_output_section_statements):
  457. Pass base type of hash table to is_elf_hash_table.
  458. * ldelf.c (ldelf_after_open): Likewise.
  459. 2021-04-12 Alan Modra <amodra@gmail.com>
  460. PR 27719
  461. * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that
  462. the symbol hash table is the correct type before accessing
  463. elf_link_hash_entry symbols.
  464. * plugin.c (is_visible_from_outside): Likewise.
  465. * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise.
  466. * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
  467. 2021-04-09 Alan Modra <amodra@gmail.com>
  468. * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
  469. * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
  470. * testsuite/ld-powerpc/notoc2.d: Likewise.
  471. * testsuite/ld-powerpc/notoc3.d: Likewise.
  472. * testsuite/ld-powerpc/pcrelopt.d: Likewise.
  473. * testsuite/ld-powerpc/startstop.d: Likewise.
  474. * testsuite/ld-powerpc/tlsget.d: Likewise.
  475. * testsuite/ld-powerpc/tlsget2.d: Likewise.
  476. * testsuite/ld-powerpc/tlsld.d: Likewise.
  477. * testsuite/ld-powerpc/weak1.d: Likewise.
  478. * testsuite/ld-powerpc/weak1so.d: Likewise.
  479. 2021-04-06 Jan Beulich <jbeulich@suse.com>
  480. * pe-dll.c (generate_reloc): Bail immediately when .reloc is
  481. being discarded. Warn when relocated entry is above .reloc.
  482. 2021-04-05 Alan Modra <amodra@gmail.com>
  483. * configure.ac: Move initfini-array arg handling earlier. Don't
  484. check for string.h, strings.h, stdlib.h, or locale.h. Do check
  485. for inttypes.h, stdint.h, sys/types.h. Don't check for
  486. setlocale, free, getev or strstr.
  487. (AC_ISC_POSIX): Don't invoke.
  488. * sysdep.h: Include string.h and stdlib.h unconditionally. Test
  489. HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and
  490. getenv fallback declarations.
  491. * ld.h: Don't test HAVE_LOCALE_H.
  492. * ldmain.c: Don't test HAVE_SETLOCALE.
  493. * config.in: Regenerate.
  494. * configure: Regenerate.
  495. 2021-04-01 Tamar Christina <tamar.christina@arm.com>
  496. PR ld/26659
  497. * testsuite/ld-pe/pe.exp: Add test.
  498. * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test.
  499. * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test.
  500. 2021-04-01 Martin Liska <mliska@suse.cz>
  501. * ldbuildid.c (strneq): Remove strneq and use startswith.
  502. (validate_build_id_style): Likewise.
  503. (compute_build_id_size): Likewise.
  504. 2021-03-31 Alan Modra <amodra@gmail.com>
  505. * sysdep.h (POISON_BFD_BOOLEAN): Define.
  506. * configure.ac (elf_list_options, elf_shlib_list_options=false),
  507. (elf_plt_unwind_list_options=false): Replace FALSE with false,
  508. and TRUE with true.
  509. * emulparams/call_nop.sh, * emulparams/cet.sh,
  510. * emulparams/dynamic_undefined_weak.sh,
  511. * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh,
  512. * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
  513. * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh,
  514. * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh,
  515. * emulparams/reloc_overflow.sh, * emulparams/static.sh,
  516. * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em,
  517. * emultempl/aix.em, * emultempl/alphaelf.em,
  518. * emultempl/armcoff.em, * emultempl/armelf.em,
  519. * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em,
  520. * emultempl/cr16elf.em, * emultempl/crxelf.em,
  521. * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em,
  522. * emultempl/hppaelf.em, * emultempl/linux.em,
  523. * emultempl/m68hc1xelf.em, * emultempl/metagelf.em,
  524. * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
  525. * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em,
  526. * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em,
  527. * emultempl/pep.em, * emultempl/ppc32elf.em,
  528. * emultempl/ppc64elf.em, * emultempl/rxelf.em,
  529. * emultempl/rxlinux.em, * emultempl/scoreelf.em,
  530. * emultempl/solaris2.em, * emultempl/spuelf.em,
  531. * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
  532. * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h,
  533. * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h,
  534. * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c,
  535. * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h,
  536. * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h,
  537. * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c,
  538. * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h,
  539. * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace
  540. bfd_boolean with bool, FALSE with false, and TRUE with true.
  541. * configure: Regenerate.
  542. 2021-03-31 Alan Modra <amodra@gmail.com>
  543. * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h.
  544. * emultempl/nds32elf.em: Likewise.
  545. * testsuite/ld-elf/mbind2b.c: Likewise.
  546. * testsuite/ld-elf/pr18718.c: Likewise.
  547. * testsuite/ld-elf/pr18720a.c: Likewise.
  548. * testsuite/ld-elf/pr25749-1.c: Likewise.
  549. * testsuite/ld-elf/pr25749-1a.c: Likewise.
  550. * testsuite/ld-elf/pr25749-1b.c: Likewise.
  551. * testsuite/ld-elf/pr25749-1c.c: Likewise.
  552. * testsuite/ld-elf/pr25749-1d.c: Likewise.
  553. * testsuite/ld-elf/pr25749-2.c: Likewise.
  554. * testsuite/ld-elf/pr25754-1a.c: Likewise.
  555. * testsuite/ld-elf/pr25754-2a.c: Likewise.
  556. * testsuite/ld-elf/pr25754-3a.c: Likewise.
  557. * testsuite/ld-elf/pr25754-4a.c: Likewise.
  558. * testsuite/ld-elf/pr25754-5a.c: Likewise.
  559. * testsuite/ld-elf/pr25754-6a.c: Likewise.
  560. 2021-03-29 Alan Modra <amodra@gmail.com>
  561. * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify
  562. boolean expression.
  563. * lexsup.c (parse_args): Likewise.
  564. * pe-dll.c (pe_dll_id_target): Likewise.
  565. 2021-03-25 Nick Alcock <nick.alcock@oracle.com>
  566. * testsuite/ld-ctf/array.d: Only check that the data object
  567. section is nonempty: do not check its exact size.
  568. * testsuite/ld-ctf/diag-parlabel.d: Likewise.
  569. * testsuite/ld-ctf/slice.d: Likewise.
  570. * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the
  571. func info section too.
  572. * testsuite/ld-ctf/function.d: Likewise, for the func info section.
  573. 2021-03-22 Martin Liska <mliska@suse.cz>
  574. * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith.
  575. * emultempl/beos.em: Likewise.
  576. * emultempl/elf.em: Likewise.
  577. * emultempl/pe.em: Likewise.
  578. * emultempl/pep.em: Likewise.
  579. * emultempl/xtensaelf.em: Likewise.
  580. * ldctor.c (ctor_prio): Likewise.
  581. * ldelf.c (ldelf_try_needed): Likewise.
  582. (ldelf_parse_ld_so_conf): Likewise.
  583. (ldelf_after_open): Likewise.
  584. (output_rel_find): Likewise.
  585. (ldelf_place_orphan): Likewise.
  586. * ldfile.c (ldfile_add_library_path): Likewise.
  587. * ldlang.c (lang_add_input_file): Likewise.
  588. * ldmain.c (get_sysroot): Likewise.
  589. (get_emulation): Likewise.
  590. (add_archive_element): Likewise.
  591. * ldwrite.c (unsplittable_name): Likewise.
  592. (clone_section): Likewise.
  593. * lexsup.c (parse_args): Likewise.
  594. * pe-dll.c (is_import): Likewise.
  595. (pe_implied_import_dll): Likewise.
  596. 2021-03-19 H.J. Lu <hongjiu.lu@intel.com>
  597. PR ld/27590
  598. * testsuite/ld-x86-64/pr27590.rd: New file.
  599. * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise.
  600. * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise.
  601. * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test.
  602. 2021-03-20 Alan Modra <amodra@gmail.com>
  603. PR 27590
  604. * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
  605. for all sections except .stabstr.
  606. 2021-03-19 Alan Modra <amodra@gmail.com>
  607. PR 27590
  608. * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
  609. R_MIPS_NONE.
  610. * testsuite/ld-elf/pr27590b.d: Likewise.
  611. 2021-03-18 H.J. Lu <hongjiu.lu@intel.com>
  612. PR ld/27590
  613. * testsuite/ld-elf/pr27590.s: New file.
  614. * testsuite/ld-elf/pr27590a.d: Likewise.
  615. * testsuite/ld-elf/pr27590b.d: Likewise.
  616. * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
  617. --reduce-memory-overheads.
  618. 2021-03-18 H.J. Lu <hongjiu.lu@intel.com>
  619. PR ld/27587
  620. * testsuite/ld-x86-64/pr27587.err: New file.
  621. * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
  622. * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
  623. * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
  624. 2021-03-18 Nick Alcock <nick.alcock@oracle.com>
  625. * testsuite/ld-ctf/slice.c: Check slices of enums too.
  626. * testsuite/ld-ctf/slice.d: Results adjusted.
  627. 2021-03-16 Nick Clifton <nickc@redhat.com>
  628. * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
  629. lname string.
  630. 2021-03-15 Jan Beulich <jbeulich@suse.com>
  631. * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
  632. 2021-03-12 Alan Modra <amodra@gmail.com>
  633. * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
  634. (ALL_64_EMULATION_SOURCES): ..here.
  635. * Makefile.in: Regenerate.
  636. 2021-03-12 Clément Chigot <clement.chigot@atos.net>
  637. * emultempl/aix.em: Ensure .tdata section is removed
  638. if empty, even with -r flag.
  639. * scripttempl/aix.sc: Handle TLS sections.
  640. * testsuite/ld-powerpc/aix52.exp: Add new tests.
  641. * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
  642. * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
  643. * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
  644. * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
  645. * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
  646. * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
  647. * testsuite/ld-powerpc/aix-tls-section.ex: New test.
  648. * testsuite/ld-powerpc/aix-tls-section.s: New test.
  649. 2021-03-12 Clément Chigot <clement.chigot@atos.net>
  650. * scripttempl/aix.sc: Add .te to .data section.
  651. * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
  652. Add aix-largetoc-1 test.
  653. * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
  654. * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
  655. * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
  656. * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
  657. 2021-03-12 Alan Modra <amodra@gmail.com>
  658. * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
  659. arrange to define __main for some run_dump_test tests.
  660. * testsuite/ld-gc/pr13683.d: Accept more symbols.
  661. * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
  662. * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
  663. * testsuite/ld-srec/srec.exp: Likewise.
  664. * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
  665. 2021-03-11 Nelson Chu <nelson.chu@sifive.com>
  666. * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
  667. many times if riscv_restart_relax_sections returns TRUE.
  668. * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
  669. applying this patch, the call won't be relaxed to jal; But now we
  670. have more chances to do relaxations.
  671. * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
  672. * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
  673. 2021-03-10 Jan Beulich <jbeulich@suse.com>
  674. * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
  675. than 32 set bits.
  676. * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
  677. comment.
  678. * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
  679. 2021-03-09 Jan Beulich <jbeulich@suse.com>
  680. * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
  681. alignment to 4k.
  682. * testsuite/ld-pe/reloc.d: xfail for mcore.
  683. 2021-03-09 Jan Beulich <jbeulich@suse.com>
  684. * testsuite/ld-scripts/alignof.exp,
  685. testsuite/ld-scripts/data.exp,
  686. testsuite/ld-scripts/default-script.exp,
  687. testsuite/ld-scripts/log2.exp,
  688. testsuite/ld-scripts/print-memory-usage.exp,
  689. testsuite/ld-scripts/sizeof.exp,
  690. testsuite/ld-undefined/weak-undef.exp: Set image base to zero
  691. for PE/COFF.
  692. * testsuite/ld-scripts/default-script1.d,
  693. testsuite/ld-scripts/default-script2.d,
  694. testsuite/ld-scripts/default-script3.d,
  695. testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
  696. 2021-03-05 H.J. Lu <hongjiu.lu@intel.com>
  697. PR ld/27425
  698. PR ld/27432
  699. * ldelf.c (ldelf_set_output_arch): New function.
  700. * ldelf.h (ldelf_set_output_arch): New prototype.
  701. * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
  702. ldelf_set_output_arch.
  703. * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
  704. * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
  705. * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
  706. * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
  707. * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
  708. * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
  709. * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
  710. * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
  711. * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
  712. 2021-03-04 Jan Beulich <jbeulich@suse.com>
  713. * testsuite/ld-scripts/map-address.exp: Set image base to zero
  714. for PE/COFF.
  715. * testsuite/ld-scripts/map-address.t: Place .text.
  716. 2021-03-04 Jan Beulich <jbeulich@suse.com>
  717. * ldexp.c (ldexp_is_final_sym_absolute): New.
  718. * ldexp.h (ldexp_is_final_sym_absolute): Declare.
  719. * pe-dll.c (generate_reloc): Skip absolute symbols.
  720. * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
  721. * testsuite/ld-pe/pe.exp: Run new test.
  722. 2021-03-03 Alan Modra <amodra@gmail.com>
  723. PR 27500
  724. * ldlang.c (insert_undefined): Don't mark symbols here.
  725. (lang_mark_undefineds): Do so here instead, new function.
  726. (lang_process): Call lang_mark_undefineds.
  727. * testsuite/ld-gc/start3.d,
  728. * testsuite/ld-gc/start3.s: New test.
  729. * testsuite/ld-gc/start4.d,
  730. * testsuite/ld-gc/start4.s: New test.
  731. * testsuite/ld-gc/gc.exp: Run them.
  732. 2021-03-03 Alan Modra <amodra@gmail.com>
  733. * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
  734. Move tests with ELF section directives to is_elf_format block.
  735. * testsuite/ld-gc/abi-note.d: Run on more targets.
  736. * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
  737. * testsuite/ld-gc/start.d: Likewise.
  738. * testsuite/ld-gc/start2.d: Likewise.
  739. * testsuite/ld-gc/stop.d: Likewise.
  740. * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
  741. * testsuite/ld-gc/start.s: Likewise.
  742. * testsuite/ld-gc/start2.s: Likewise.
  743. 2021-03-02 Nick Alcock <nick.alcock@oracle.com>
  744. * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
  745. 2021-03-02 Alan Modra <amodra@gmail.com>
  746. * testsuite/ld-powerpc/startstop.d,
  747. * testsuite/ld-powerpc/startstop.r,
  748. * testsuite/ld-powerpc/startstop.s: New test.
  749. * testsuite/ld-powerpc/powerpc.exp: Run it.
  750. 2021-03-02 Alan Modra <amodra@gmail.com>
  751. * testsuite/ld-powerpc/weak1.d,
  752. * testsuite/ld-powerpc/weak1.r,
  753. * testsuite/ld-powerpc/weak1.s,
  754. * testsuite/ld-powerpc/weak1so.d,
  755. * testsuite/ld-powerpc/weak1so.r: New tests.
  756. * testsuite/ld-powerpc/powerpc.exp: Run them.
  757. 2021-03-01 Hannes Domani <ssbssa@sourceware.org>
  758. Nick Clifton <nickc@redhat.com>
  759. PR 27268
  760. * scripttempl/pe.sc: Add DWARF-5 section names.
  761. * scripttempl/pep.sc: Likewise.
  762. 2021-03-01 Alan Modra <amodra@gmail.com>
  763. Fangrui Song <maskray@google.com>
  764. * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
  765. * lexsup.c (elf_static_list_options): Display help for them. Move
  766. help for -z stack-size to here from elf_shlib_list_options. Add
  767. help for -z start-stop-visibility and -z undefs.
  768. * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
  769. * NEWS: Mention -z start-stop-gc.
  770. * testsuite/ld-gc/start2.s,
  771. * testsuite/ld-gc/start2.d: New test.
  772. * testsuite/ld-gc/gc.exp: Run it.
  773. 2021-03-01 Alan Modra <amodra@gmail.com>
  774. * ldlang.c (undef_start_stop): For ELF make undefined start/stop
  775. symbols undefweak if that was how they were referenced. Undo
  776. dynamic state too.
  777. 2021-03-01 Alan Modra <amodra@gmail.com>
  778. * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
  779. * testsuite/ld-elf/pr27128a.d: Likewise.
  780. * testsuite/ld-elf/pr27128b.d: Likewise.
  781. * testsuite/ld-elf/pr27128c.d: Likewise.
  782. * testsuite/ld-elf/pr27128d.d: Likewise.
  783. * testsuite/ld-elf/pr27128e.d: Likewise.
  784. 2021-02-26 Alan Modra <amodra@gmail.com>
  785. PR 27441
  786. * testsuite/ld-plugin/pr27441a.c,
  787. * testsuite/ld-plugin/pr27441b.c,
  788. * testsuite/ld-plugin/pr27441c.c,
  789. * testsuite/ld-plugin/pr27441c.d: New test.
  790. * testsuite/ld-plugin/lto.exp: Run it.
  791. 2021-02-25 Jan Beulich <jbeulich@suse.com>
  792. * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
  793. 2021-02-21 Alan Modra <amodra@gmail.com>
  794. * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
  795. defined in an object file.
  796. * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
  797. * testsuite/ld-scripts/defined5.d: Expect a warning.
  798. 2021-02-19 Alan Modra <amodra@gmail.com>
  799. * testsuite/lib/ld-lib.exp: Whitespace.
  800. (load_common_lib): Expand single use and delete this proc.
  801. (run_host_cmd): Use -fno-lto when getting gcc's ld version.
  802. Use -B for clang too.
  803. 2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
  804. * testplugin.c (record_read_length): Remove debug fprintf.
  805. 2021-02-14 Alan Modra <amodra@gmail.com>
  806. * testsuite/ld-cdtest/cdtest.exp,
  807. * testsuite/ld-checks/checks.exp,
  808. * testsuite/ld-elf/binutils.exp,
  809. * testsuite/ld-elf/compress.exp,
  810. * testsuite/ld-elf/dwarf.exp,
  811. * testsuite/ld-elf/exclude.exp,
  812. * testsuite/ld-elf/frame.exp,
  813. * testsuite/ld-elf/indirect.exp,
  814. * testsuite/ld-elf/linux-x86.exp,
  815. * testsuite/ld-elf/sec-to-seg.exp,
  816. * testsuite/ld-elf/tls_common.exp,
  817. * testsuite/ld-elfcomm/elfcomm.exp,
  818. * testsuite/ld-elfvers/vers.exp,
  819. * testsuite/ld-elfvsb/elfvsb.exp,
  820. * testsuite/ld-elfweak/elfweak.exp,
  821. * testsuite/ld-ifunc/binutils.exp,
  822. * testsuite/ld-mips-elf/mips-elf-flags.exp,
  823. * testsuite/ld-misc/defsym.exp,
  824. * testsuite/ld-mn10300/mn10300.exp,
  825. * testsuite/ld-plugin/lto.exp,
  826. * testsuite/ld-plugin/plugin.exp,
  827. * testsuite/ld-scripts/align.exp,
  828. * testsuite/ld-scripts/assert.exp,
  829. * testsuite/ld-scripts/crossref.exp,
  830. * testsuite/ld-scripts/defined.exp,
  831. * testsuite/ld-scripts/extern.exp,
  832. * testsuite/ld-scripts/log2.exp,
  833. * testsuite/ld-scripts/map-address.exp,
  834. * testsuite/ld-scripts/phdrs.exp,
  835. * testsuite/ld-scripts/phdrs2.exp,
  836. * testsuite/ld-scripts/script.exp,
  837. * testsuite/ld-scripts/section-flags.exp,
  838. * testsuite/ld-scripts/sizeof.exp,
  839. * testsuite/ld-scripts/weak.exp,
  840. * testsuite/ld-selective/selective.exp,
  841. * testsuite/ld-sh/sh.exp,
  842. * testsuite/ld-shared/shared.exp,
  843. * testsuite/ld-srec/srec.exp,
  844. * testsuite/ld-tic6x/tic6x.exp,
  845. * testsuite/ld-undefined/undefined.exp,
  846. * testsuite/ld-undefined/weak-undef.exp,
  847. * testsuite/lib/ld-lib.exp: Don't use unresolved except after
  848. perror. Instead report "unsupported" or "fail".
  849. 2021-02-12 Nick Clifton <nickc@redhat.com>
  850. * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
  851. following debug links.
  852. 2021-02-11 Alan Modra <amodra@gmail.com>
  853. * NEWS: Mention arm-symbianelf removal.
  854. 2021-02-09 Alan Modra <amodra@gmail.com>
  855. * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
  856. Don't include symbian dep file.
  857. * configure.tgt: Remove arm*-*-symbianelf* entry.
  858. * emulparams/armsymbian.sh: Delete.
  859. * ld.texi: Don't mention symbian.
  860. * scripttempl/armbpabi.sc: Delete.
  861. * testsuite/ld-arm/symbian-seg1.d: Delete.
  862. * testsuite/ld-arm/symbian-seg1.s: Delete.
  863. * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
  864. * Makefile.in: Regenerate.
  865. * po/BLD-POTFILES.in: Regenerate.
  866. 2021-02-07 H.J. Lu <hongjiu.lu@intel.com>
  867. PR ld/27358
  868. * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
  869. tests.
  870. * testsuite/ld-x86-64/x86-64.exp: Likewise.
  871. 2021-01-26 Nick Alcock <nick.alcock@oracle.com>
  872. * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
  873. when appropriate.
  874. 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
  875. PR ld/19609
  876. * testsuite/ld-x86-64/pr19609-2a.d: Updated.
  877. * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
  878. * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
  879. * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
  880. * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
  881. * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
  882. * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
  883. 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
  884. PR ld/15146
  885. * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
  886. * testsuite/ld-plugin/pr15146.d: Restored.
  887. * testsuite/ld-plugin/pr15146a.c: Likewise.
  888. * testsuite/ld-plugin/pr15146b.c: Likewise.
  889. * testsuite/ld-plugin/pr15146c.c: Likewise.
  890. * testsuite/ld-plugin/pr15146d.c: Likewise.
  891. 2021-02-04 Alan Modra <amodra@gmail.com>
  892. * testsuite/ld-plugin/pr27311d.c: New test.
  893. * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
  894. and link new test as pr27311-2.
  895. 2021-02-03 Alan Modra <amodra@gmail.com>
  896. * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
  897. Link with --as-needed.
  898. 2021-02-02 Alan Modra <amodra@gmail.com>
  899. * testsuite/ld-plugin/pr27311.d,
  900. * testsuite/ld-plugin/pr27311.ver,
  901. * testsuite/ld-plugin/pr27311a.c,
  902. * testsuite/ld-plugin/pr27311b.c,
  903. * testsuite/ld-plugin/pr27311c.c: New testcase.
  904. * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
  905. PR12982 entries.
  906. 2021-02-01 Emery Hemingway <ehmry@posteo.net>
  907. * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
  908. 2021-02-01 Alan Modra <amodra@gmail.com>
  909. * ldgram.y (defsym_expr): Use assignment rule.
  910. * ldlex.h (ldlex_defsym): Delete.
  911. * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
  912. 2021-02-01 Alan Modra <amodra@gmail.com>
  913. * ldgram.y (section): Call ldlex_backup. Remove empty action.
  914. * ldlex.h (ldlex_backup): Declare.
  915. * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
  916. chars, use SYMBOLNAMECHAR.
  917. (ldlex_backup): New function.
  918. 2021-02-01 Alan Modra <amodra@gmail.com>
  919. * ldgram.y: Whitespace fixes.
  920. 2021-02-01 Alan Modra <amodra@gmail.com>
  921. * testsuite/ld-elf/pr27259.d: Correct sh_link match.
  922. 2021-01-29 Alan Modra <amodra@gmail.com>
  923. * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
  924. 2021-01-28 H.J. Lu <hongjiu.lu@intel.com>
  925. PR ld/27259
  926. * testsuite/ld-elf/pr27259.d: New file.
  927. * testsuite/ld-elf/pr27259.s: Likewise.
  928. 2021-01-28 Alan Modra <amodra@gmail.com>
  929. PR 27259
  930. * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
  931. prevent endless looping of linked-to sections.
  932. 2021-01-26 H.J. Lu <hongjiu.lu@intel.com>
  933. * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
  934. 2021-01-26 Alan Modra <amodra@gmail.com>
  935. PR 27226
  936. * emulparams/alphavms.sh: Don't set COMPILE_IN.
  937. * emulparams/elf64_ia64_vms.sh: Likewise.
  938. * emulparams/elf64mmix.sh: Likewise.
  939. * emulparams/elf_iamcu.sh: Likewise.
  940. * emulparams/elf_k1om.sh: Likewise.
  941. * emulparams/elf_l1om.sh: Likewise.
  942. * emulparams/mmo.sh: Likewise.
  943. * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
  944. * scripttempl/pdp11.sc: Use it.
  945. * emultempl/pdp11.em: Don't edit .xn script for separate_code,
  946. instead use .xe script. Support scripts from file system.
  947. * emultempl/beos.em: Support scripts from file system.
  948. * emultempl/pe.em: Likewise.
  949. * emultempl/pep.em: Likewise.
  950. * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
  951. 2021-01-25 Fangrui Song <maskray@google.com>
  952. PR ld/27230
  953. * scripttempl/DWARF.sc: Add .debug_* sections.
  954. 2021-01-25 Nick Clifton <nickc@redhat.com>
  955. * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
  956. .debug_line_str and .debug_str_offsets. Move .debug_macro and
  957. .debug_addr into DWARF-5 section.
  958. 2021-01-21 Alan Modra <amodra@gmail.com>
  959. * testsuite/ld-elf/pr26936.d: No longer xfail mips.
  960. 2021-01-20 Alan Modra <amodra@gmail.com>
  961. * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
  962. * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
  963. * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
  964. * testsuite/ld-powerpc/tlsget.wf: Likewise.
  965. * testsuite/ld-powerpc/tlsget2.d: Likewise.
  966. * testsuite/ld-powerpc/tlsget2.wf: Likewise.
  967. * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
  968. * testsuite/ld-powerpc/tlsexe32.r: Likewise.
  969. * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
  970. * testsuite/ld-powerpc/tlsexeno.r: Likewise.
  971. * testsuite/ld-powerpc/tlsexenors.r: Likewise.
  972. * testsuite/ld-powerpc/tlsexers.r: Likewise.
  973. * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
  974. * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
  975. * testsuite/ld-powerpc/tlsso.r: Likewise.
  976. * testsuite/ld-powerpc/tlsso32.r: Likewise.
  977. * testsuite/ld-powerpc/tlstocso.r: Likewise.
  978. 2021-01-19 Nick Alcock <nick.alcock@oracle.com>
  979. * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
  980. symbols by the optimizer.
  981. * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
  982. 2021-01-19 Nelson Chu <nelson.chu@sifive.com>
  983. * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
  984. if target is riscv little endian. Otherwise, return false.
  985. * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
  986. targets by [riscv_little_endian].
  987. 2021-01-18 Alan Modra <amodra@gmail.com>
  988. PR 26378
  989. * ldlang.c (map_input_to_output_sections): Start with a read-only
  990. section for data statements.
  991. * testsuite/ld-elf/size-2.d: Adjust to suit.
  992. 2021-01-17 H.J. Lu <hongjiu.lu@intel.com>
  993. PR ld/27193
  994. * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
  995. * testsuite/ld-i386/pr27193.dd: New file.
  996. * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
  997. * testsuite/ld-i386/pr27193b.s: Likewise.
  998. 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
  999. PR binutils/23460
  1000. * testsuite/ld-plugin/lto.exp: Increase the max number of open
  1001. files to 20 for PR binutils/23460 test.
  1002. 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
  1003. PR ld/23169
  1004. * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
  1005. pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
  1006. * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
  1007. address.
  1008. 2021-01-15 H.J. Lu <hongjiu.lu@intel.com>
  1009. * NEWS: Mention -z report-relative-reloc.
  1010. * ld.texi: Document -z report-relative-reloc.
  1011. * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
  1012. * emulparams/elf_i386.sh: Likewse.
  1013. * emulparams/elf_x86_64.sh: Likewse.
  1014. * emulparams/x86-report-relative.sh: New file.
  1015. * testsuite/ld-i386/report-reloc-1.d: Likewse.
  1016. * testsuite/ld-i386/report-reloc-1.l: Likewse.
  1017. * testsuite/ld-i386/report-reloc-1.s: Likewse.
  1018. * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
  1019. * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
  1020. * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
  1021. * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
  1022. * testsuite/ld-i386/i386.exp: Run report-reloc-1.
  1023. * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
  1024. report-reloc-1-x32.
  1025. 2021-01-16 Alan Modra <amodra@gmail.com>
  1026. PR 26002
  1027. * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
  1028. unversioned symbols.
  1029. * testsuite/ld-elfvers/vers16.dsym: Likewise.
  1030. 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
  1031. * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
  1032. * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
  1033. * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
  1034. * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
  1035. * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
  1036. * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
  1037. 2021-01-14 Nick Clifton <nickc@redhat.com>
  1038. * po/fr.po: Updated French translation.
  1039. 2021-01-14 Mike Frysinger <vapier@gentoo.org>
  1040. * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
  1041. 2021-01-14 Alan Modra <amodra@gmail.com>
  1042. PR 27160
  1043. * ldelfgen.c (compare_link_order): Protect access of ELF section
  1044. data.
  1045. (add_link_order_input_section): Remove redundant NULL check.
  1046. Use bfd_get_flavour.
  1047. (ldelf_map_segments): Use bfd_get_flavour.
  1048. 2021-01-13 H.J. Lu <hongjiu.lu@intel.com>
  1049. * ldelfgen.c (add_link_order_input_section): Check for ELF input
  1050. before accessing ELF section data.
  1051. 2021-01-13 Alan Modra <amodra@gmail.com>
  1052. * Makefile.in: Regenerate.
  1053. 2021-01-13 Alan Modra <amodra@gmail.com>
  1054. PR 27160
  1055. * ldlang.h (lang_output_section_statement_type): Add data field.
  1056. (lang_input_section_type, lang_section_bst_type): Add pattern field.
  1057. (statement_list): Declare.
  1058. (lang_add_section): Adjust prototype.
  1059. * emultempl/aarch64elf.em: Adjust lang_add_section calls.
  1060. * emultempl/armelf.em: Likewise.
  1061. * emultempl/beos.em: Likewise.
  1062. * emultempl/cskyelf.em: Likewise.
  1063. * emultempl/hppaelf.em: Likewise.
  1064. * emultempl/m68hc1xelf.em: Likewise.
  1065. * emultempl/metagelf.em: Likewise.
  1066. * emultempl/mipself.em: Likewise.
  1067. * emultempl/mmo.em: Likewise.
  1068. * emultempl/msp430.em: Likewise.
  1069. * emultempl/nios2elf.em: Likewise.
  1070. * emultempl/pe.em: Likewise.
  1071. * emultempl/pep.em: Likewise.
  1072. * emultempl/ppc64elf.em: Likewise.
  1073. * emultempl/spuelf.em: Likewise.
  1074. * emultempl/vms.em: Likewise.
  1075. * ldelf.c: Likewise.
  1076. * ldelfgen.c: Include ldctor.h.
  1077. (struct os_sections): New.
  1078. (add_link_order_input_section, link_order_scan): New functions.
  1079. (compare_link_order, fixup_link_order): New functions.
  1080. (ldelf_map_segments): Call link_order_scan and fixup_link_order.
  1081. * ldlang.c (statement_list): Make global.
  1082. (output_section_callback_fast): Save pattern in tree node.
  1083. (lang_add_section): Add pattern parameter, save in lang_input_section.
  1084. (output_section_callback_tree_to_list): Adjust lang_add_section calls.
  1085. (lang_insert_orphan, output_section_callback): Likewise.
  1086. (ldlang_place_orphan): Likewise.
  1087. (gc_section_callback): Don't set section->pattern.
  1088. * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
  1089. * testsuite/ld-elf/pr26256-3b.d: Likewise.
  1090. * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
  1091. 2021-01-13 Alan Modra <amodra@gmail.com>
  1092. * ldlang.h (callback_t): Remove flag_info function parameter.
  1093. * ldlang.c (walk_wild_consider_section): Adjust to suit.
  1094. (walk_wild_section_general): Likewise.
  1095. (output_section_callback_fast, output_section_callback): Likewise.
  1096. (check_section_callback, gc_section_callback): Likewise.
  1097. (find_relro_section_callback): Likewise.
  1098. 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
  1099. PR binutils/26792
  1100. * configure.ac: Use GNU_MAKE_JOBSERVER.
  1101. * aclocal.m4: Regenerated.
  1102. * configure: Likewise.
  1103. 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
  1104. PR ld/27171
  1105. * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
  1106. * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
  1107. * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
  1108. * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
  1109. 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
  1110. PR ld/27173
  1111. * configure: Regenerated.
  1112. 2021-01-11 Matt Jenkins <matt@majenko.co.uk>
  1113. PR ld/27167
  1114. * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
  1115. and mips64r5 to list of known mips targets.
  1116. 2021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
  1117. * po/pt_BR.po: Updated Brazilian Portuguese translation.
  1118. ` * po/uk.po: Updated Ukranian translation.
  1119. 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
  1120. * configure: Regenerated.
  1121. 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
  1122. PR ld/27166
  1123. * testsuite/ld-x86-64/lam-u48.rd: New file.
  1124. * testsuite/ld-x86-64/lam-u57.rd: Likewise.
  1125. * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
  1126. 2021-01-09 Nick Clifton <nickc@redhat.com>
  1127. * configure: Regenerate.
  1128. * po/ld.pot: Regenerate.
  1129. 2021-01-09 Nick Clifton <nickc@redhat.com>
  1130. * 2.36 release branch crated.
  1131. 2021-01-08 H.J. Lu <hongjiu.lu@intel.com>
  1132. * ld-x86-64/property-x86-lam-u48-4.d: Updated.
  1133. * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
  1134. 2021-01-09 Alan Modra <amodra@gmail.com>
  1135. * configure: Regenerate.
  1136. * Makefile.in: Regenerate.
  1137. 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
  1138. * configure: Regenerate.
  1139. 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
  1140. PR 27109
  1141. * testsuite/ld-elf/export-class.sd: Adjust the expected output.
  1142. * testsuite/ld-elf/loadaddr3b.d: Likewise.
  1143. * testsuite/ld-i386/ibt-plt-1.d: Likewise.
  1144. * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
  1145. * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
  1146. * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
  1147. * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
  1148. * testsuite/ld-i386/pr19636-1d.d: Likewise.
  1149. * testsuite/ld-i386/pr19636-1l.d: Likewise.
  1150. * testsuite/ld-i386/pr19636-2c.d: Likewise.
  1151. * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
  1152. * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
  1153. * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
  1154. * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
  1155. * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
  1156. * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
  1157. * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
  1158. * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
  1159. * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
  1160. * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
  1161. * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
  1162. * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
  1163. * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
  1164. * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
  1165. * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
  1166. * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
  1167. * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
  1168. * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
  1169. * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
  1170. * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
  1171. * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
  1172. * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
  1173. * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
  1174. * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
  1175. * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
  1176. * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
  1177. * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
  1178. * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
  1179. * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
  1180. * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
  1181. * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
  1182. * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
  1183. * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
  1184. * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
  1185. * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
  1186. * testsuite/ld-x86-64/pr21038b.d: Likewise.
  1187. * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
  1188. * testsuite/ld-x86-64/pr21038c.d: Likewise.
  1189. * testsuite/ld-x86-64/pr23854.d: Likewise.
  1190. * testsuite/ld-x86-64/pr25416-3.d: Likewise.
  1191. * testsuite/ld-x86-64/pr25416-4.d: Likewise.
  1192. * testsuite/ld-i386/plt-pic.pd: Likewise.
  1193. * testsuite/ld-i386/plt-pic2.dd: Likewise.
  1194. * testsuite/ld-i386/plt.pd: Likewise.
  1195. * testsuite/ld-i386/plt2.dd: Likewise.
  1196. * testsuite/ld-i386/tlsbin.rd: Likewise.
  1197. * testsuite/ld-i386/tlsbin2.rd: Likewise.
  1198. * testsuite/ld-i386/tlsbindesc.rd: Likewise.
  1199. * testsuite/ld-i386/tlsdesc.rd: Likewise.
  1200. * testsuite/ld-i386/tlsgdesc.rd: Likewise.
  1201. * testsuite/ld-i386/tlsnopic.rd: Likewise.
  1202. * testsuite/ld-i386/tlspic.rd: Likewise.
  1203. * testsuite/ld-i386/tlspic2.rd: Likewise.
  1204. * testsuite/ld-x86-64/mpx3.dd: Likewise.
  1205. * testsuite/ld-x86-64/mpx3n.dd: Likewise.
  1206. * testsuite/ld-x86-64/mpx4.dd: Likewise.
  1207. * testsuite/ld-x86-64/mpx4n.dd: Likewise.
  1208. * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
  1209. * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
  1210. * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
  1211. * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
  1212. * testsuite/ld-x86-64/plt.pd: Likewise.
  1213. * testsuite/ld-x86-64/plt2.dd: Likewise.
  1214. * testsuite/ld-x86-64/tlsbin.rd: Likewise.
  1215. * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
  1216. * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
  1217. * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
  1218. * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
  1219. * testsuite/ld-x86-64/tlspic.rd: Likewise.
  1220. * testsuite/ld-x86-64/tlspic2.rd: Likewise.
  1221. * testsuite/ld-elf/sec64k.exp: Check
  1222. is_elf_unused_section_symbols.
  1223. 2021-01-07 Alan Modra <amodra@gmail.com>
  1224. * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
  1225. * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
  1226. * testsuite/ld-scripts/segment-start.d: Likewise.
  1227. 2021-01-07 Alan Modra <amodra@gmail.com>
  1228. * testsuite/ld-elf/comm-data5.d: xfail targets that complain
  1229. about dynamic relocations in read-only sections.
  1230. * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
  1231. * testsuite/ld-elf/ehdr_start.d: Likewise.
  1232. * testsuite/ld-scripts/pr22267.d: Likewise.
  1233. * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
  1234. pr20995 text.
  1235. * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
  1236. 2021-01-07 Marcus Comstedt <marcus@mc.pp.se>
  1237. * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
  1238. * testsuite/ld-scripts/empty-address-2b.d: Likewise.
  1239. 2021-01-07 Alan Modra <amodra@gmail.com>
  1240. * po/BLD-POTFILES.in: Regenerate.
  1241. 2021-01-07 Alan Modra <amodra@gmail.com>
  1242. * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
  1243. complain about relocs in read-only sections. Tidy ASFLAGS append.
  1244. 2021-01-06 Alan Modra <amodra@gmail.com>
  1245. * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
  1246. base for some tests.
  1247. * testsuite/ld-sparc/gotop32.dd: Match solaris output.
  1248. * testsuite/ld-sparc/gotop32.sd: Likewise.
  1249. * testsuite/ld-sparc/gotop32.td: Likewise.
  1250. * testsuite/ld-sparc/gotop64.dd: Likewise.
  1251. * testsuite/ld-sparc/gotop64.sd: Likewise.
  1252. * testsuite/ld-sparc/gotop64.td: Likewise.
  1253. * testsuite/ld-sparc/tlsg32.sd: Likewise.
  1254. * testsuite/ld-sparc/tlsg64.sd: Likewise.
  1255. * testsuite/ld-sparc/tlspie32.dd: Likewise.
  1256. * testsuite/ld-sparc/tlspie64.dd: Likewise.
  1257. * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
  1258. * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
  1259. * testsuite/ld-sparc/tlssunbin32.td: Likewise.
  1260. * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
  1261. * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
  1262. * testsuite/ld-sparc/tlssunbin64.td: Likewise.
  1263. * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
  1264. * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
  1265. * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
  1266. * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
  1267. * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
  1268. * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
  1269. * testsuite/ld-sparc/tlssunpic32.td: Likewise.
  1270. * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
  1271. * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
  1272. * testsuite/ld-sparc/tlssunpic64.td: Likewise.
  1273. * testsuite/ld-sparc/wdispcall.dd: Likewise.
  1274. 2021-01-06 Alan Modra <amodra@gmail.com>
  1275. * testsuite/ld-scripts/rgn-at10.d: xfail v850.
  1276. * testsuite/ld-scripts/rgn-at11.d: Likewise.
  1277. 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
  1278. * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
  1279. riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
  1280. * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
  1281. riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
  1282. * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
  1283. * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
  1284. * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
  1285. * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
  1286. * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
  1287. * testsuite/ld-riscv-elf/c-lui.d: Likewise.
  1288. * testsuite/ld-riscv-elf/call-relax.d: Likewise.
  1289. * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
  1290. * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
  1291. * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
  1292. to littleriscv.
  1293. * testsuite/ld-riscv-elf/weakref64.d: Likewise.
  1294. 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
  1295. * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
  1296. riscv32be*-*-linux*, and riscv64be*-*-linux*.
  1297. * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
  1298. eelf32briscv_ilp32.c.
  1299. * Makefile.in: Regenerate.
  1300. * emulparams/elf32briscv.sh: Added.
  1301. * emulparams/elf32briscv_ilp32.sh: Likewise.
  1302. * emulparams/elf32briscv_ilp32f.sh: Likewise.
  1303. * emulparams/elf64briscv.sh: Likewise.
  1304. * emulparams/elf64briscv_lp64.sh: Likewise.
  1305. * emulparams/elf64briscv_lp64f.sh: Likewise.
  1306. 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
  1307. * testsuite/ld-ctf/enum-forward.c: New test.
  1308. * testsuite/ld-ctf/enum-forward.c: New results.
  1309. 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
  1310. * testsuite/ld-ctf/array.d: Adjust for dumper changes.
  1311. * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
  1312. * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
  1313. * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
  1314. * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
  1315. * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
  1316. * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
  1317. * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
  1318. * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
  1319. * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
  1320. * testsuite/ld-ctf/conflicting-enums.d: Likewise.
  1321. * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
  1322. * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
  1323. * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
  1324. * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
  1325. * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
  1326. * testsuite/ld-ctf/cycle-1.d: Likewise.
  1327. * testsuite/ld-ctf/cycle-2.A.d: Likewise.
  1328. * testsuite/ld-ctf/cycle-2.B.d: Likewise.
  1329. * testsuite/ld-ctf/cycle-2.C.d: Likewise.
  1330. * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
  1331. * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
  1332. * testsuite/ld-ctf/diag-cuname.d: Likewise.
  1333. * testsuite/ld-ctf/diag-parlabel.d: Likewise.
  1334. * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
  1335. * testsuite/ld-ctf/forward.d: Likewise.
  1336. * testsuite/ld-ctf/function.d: Likewise.
  1337. * testsuite/ld-ctf/slice.d: Likewise.
  1338. * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
  1339. * testsuite/ld-ctf/enums.c: New test.
  1340. * testsuite/ld-ctf/enums.d: New test.
  1341. 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
  1342. * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
  1343. changes.
  1344. * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
  1345. * testsuite/ld-ctf/forward.c: New test...
  1346. * testsuite/ld-ctf/forward.d: ... and results.
  1347. 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
  1348. * testsuite/ld-ctf/array.d: Adjust for dumper changes.
  1349. * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
  1350. * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
  1351. * testsuite/ld-ctf/diag-cuname.d: Likewise.
  1352. * testsuite/ld-ctf/diag-parlabel.d: Likewise.
  1353. * testsuite/ld-ctf/function.d: Likewise.
  1354. * testsuite/ld-ctf/slice.d: Likewise.
  1355. 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
  1356. * testsuite/ld-ctf/array.d: Adjust for dumper changes.
  1357. * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
  1358. * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
  1359. * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
  1360. * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
  1361. * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
  1362. * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
  1363. * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
  1364. * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
  1365. * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
  1366. * testsuite/ld-ctf/conflicting-enums.d: Likewise.
  1367. * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
  1368. * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
  1369. * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
  1370. * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
  1371. * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
  1372. * testsuite/ld-ctf/cycle-1.d: Likewise.
  1373. * testsuite/ld-ctf/cycle-2.A.d: Likewise.
  1374. * testsuite/ld-ctf/cycle-2.B.d: Likewise.
  1375. * testsuite/ld-ctf/cycle-2.C.d: Likewise.
  1376. * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
  1377. * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
  1378. * testsuite/ld-ctf/diag-cuname.d: Likewise.
  1379. * testsuite/ld-ctf/diag-parlabel.d: Likewise.
  1380. * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
  1381. * testsuite/ld-ctf/function.d: Likewise.
  1382. * testsuite/ld-ctf/slice.d: Likewise.
  1383. * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
  1384. 2021-01-05 Alan Modra <amodra@gmail.com>
  1385. * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
  1386. 2021-01-05 Alan Modra <amodra@gmail.com>
  1387. PR ld/26256
  1388. * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
  1389. * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
  1390. 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
  1391. PR ld/26256
  1392. * ldlang.c (gc_section_callback): Set pattern.
  1393. * testsuite/ld-elf/pr26256-1.s: New file.
  1394. * testsuite/ld-elf/pr26256-1.t: Likewise.
  1395. * testsuite/ld-elf/pr26256-1a.d: Likewise.
  1396. * testsuite/ld-elf/pr26256-1b.d: Likewise.
  1397. * testsuite/ld-elf/pr26256-2.s: Likewise.
  1398. * testsuite/ld-elf/pr26256-2.t: Likewise.
  1399. * testsuite/ld-elf/pr26256-2a.d: Likewise.
  1400. * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
  1401. * testsuite/ld-elf/pr26256-2b.d: Likewise.
  1402. * testsuite/ld-elf/pr26256-3.s: Likewise.
  1403. * testsuite/ld-elf/pr26256-3a.d: Likewise.
  1404. * testsuite/ld-elf/pr26256-3a.t: Likewise.
  1405. * testsuite/ld-elf/pr26256-3b.d: Likewise.
  1406. * testsuite/ld-elf/pr26256-3b.t: Likewise.
  1407. 2021-01-04 Alan Modra <amodra@gmail.com>
  1408. PR 26822
  1409. * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
  1410. * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
  1411. * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
  1412. * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
  1413. * testsuite/ld-i386/tlsbin.rd: Likewise.
  1414. * testsuite/ld-i386/tlsbin2.rd: Likewise.
  1415. * testsuite/ld-i386/tlsbindesc.rd: Likewise.
  1416. * testsuite/ld-i386/tlsdesc.rd: Likewise.
  1417. * testsuite/ld-i386/tlsnopic.rd: Likewise.
  1418. * testsuite/ld-i386/tlspic.rd: Likewise.
  1419. * testsuite/ld-i386/tlspic2.rd: Likewise.
  1420. * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
  1421. * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
  1422. * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
  1423. * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
  1424. * testsuite/ld-plugin/pr17973.d: Likewise.
  1425. * testsuite/ld-tic6x/shlib-1.rd: Likewise.
  1426. * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
  1427. * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
  1428. * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
  1429. * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
  1430. * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
  1431. * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
  1432. * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
  1433. * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
  1434. * testsuite/ld-tic6x/static-app-1.rd: Likewise.
  1435. * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
  1436. * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
  1437. * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
  1438. * testsuite/ld-x86-64/tlsbin.rd: Likewise.
  1439. * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
  1440. * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
  1441. * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
  1442. * testsuite/ld-x86-64/tlspic.rd: Likewise.
  1443. * testsuite/ld-x86-64/tlspic2.rd: Likewise.
  1444. * testsuite/ld-xtensa/tlsbin.rd: Likewise.
  1445. * testsuite/ld-xtensa/tlspic.rd: Likewise.
  1446. 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
  1447. * configure.tgt: Correct comment grammar.
  1448. * emultempl/m68hc1xelf.em: Likewise.
  1449. * ld.texi: Correct grammar.
  1450. 2021-01-01 Alan Modra <amodra@gmail.com>
  1451. Update year range in copyright notice of all files.
  1452. For older changes see ChangeLog-2020
  1453. Copyright (C) 2021-2022 Free Software Foundation, Inc.
  1454. Copying and distribution of this file, with or without modification,
  1455. are permitted in any medium without royalty provided the copyright
  1456. notice and this notice are preserved.
  1457. Local Variables:
  1458. mode: change-log
  1459. left-margin: 8
  1460. fill-column: 74
  1461. version-control: never
  1462. End: