Fix: Output section type does not been applied to section forced output by `. = ...
authorHsinyuan Xavier <TheLastLin@hotmail.com>
Wed, 27 Sep 2023 12:21:43 +0000 (13:21 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 27 Sep 2023 12:21:43 +0000 (13:21 +0100)
commit193327db9fdd4e37aaf66612532871d756e0760f
tree1323518c1ce3702820bd738ca9bb24b73dac334c
parentda0784f961d8a14890b2a3fa3b5db5820e17deb6
Fix: Output section type does not been applied to section forced output by `. = .` assignment

  PR 30875
  * ldlang.c (get_os_init_flag): New function. (exp_init_os, map_input_to_output_sections): Use it.
ld/ChangeLog
ld/ldlang.c