Re: Virtual Address Space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 28, 2016 at 6:06 AM, Madhu K <madhu.sk89@xxxxxxxxx> wrote:
> Hi All,
>
> This is to understand the Virtual address space.Basically who generates the
> virtual addresses CPU or GNU compiler?

Hi,

     In my view, the linker.

     The compiler normally generates absolute addresses (starting from
0), creating object code.

     Then the linker generates an executable by combining different
object files together and assigning virtual addresses.

     Finally, is CPU (MMU) job (with the kernel helping) to translate
these virtual addresses to physical ones.

     Best regards,

-- 
Augusto Mecking Caringi

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux