Virtual Address Space
Augusto Mecking Caringi
augustocaringi at gmail.com
Wed Sep 28 05:14:29 EDT 2016
On Wed, Sep 28, 2016 at 6:06 AM, Madhu K <madhu.sk89 at gmail.com> 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
More information about the Kernelnewbies
mailing list