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

LD Bug: relocations applied to .reloc section

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Neutral
    • Labels:
      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

              • Assignee:
                ThFabba ThFabba
                Reporter:
                ThFabba ThFabba
              • Votes:
                2 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: