title: Error when using inline Assembly with gcc to enable switch into protected mode from real mode
body: <p>when coding a script with C and using inline assembly I get the following error:<br>
  I compile with my usual settings:  </p>
  
  <pre><code>gcc -m32 -ffreestanding -c kernel.c -o kc.o
  </code></pre>
  
  <p>And i get this error from gcc:  </p>
  
  <pre><code>junk `8h:PModeMain' after expression
  </code></pre>
  
  <p>The code that I used is a code of osdev.org adapted to the gcc rules, is the following:  </p>
  
  <pre><code>void k_enter_protected_mode()
  {
      __asm__ volatile ("cli;"          
          "lgdt (gdtr);"  
          "mov %eax, cr0;" 
          "or %al, 1;"    
          "mov cr0, %eax;" 
          "jmp 08h:PModeMain;"
          "PModeMain:");
  }
  </code></pre>
  
  <p>The code is intended to swap form real mode to protected mode, thanks in advance!</p>