Uploaded image for project: 'ReactOS Build Environment'
  1. ReactOS Build Environment
  2. ROSBE-154

LD Bug: relocations applied to .reloc section

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • None
    • Neutral
    • None

    Description

      When using a linker script to move the INIT section after the .reloc section, it appears relocations originally intended for INIT don't get updated and therefore refer to .reloc.

      /* Make sure the INIT section is at the end of the module so we can reclaim the space */
      SECTIONS
      {
        INIT BLOCK(__section_alignment__) :
        {
          __init_start__ = . ;
          *(INIT)
          __init_end__ = . ;
        }
      }
      INSERT AFTER .reloc;
      

      Attachments

        Issue Links

          Activity

            People

              ThFabba ThFabba
              ThFabba ThFabba
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: