Re: How to lookup the unnamed string constant in the generated object or executable?

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

 



On Tue, Apr 20, 2021 at 8:17 PM Peng Yu <pengyu.ut@xxxxxxxxx> wrote:
>
> What is "cd"?
>
> How come "E8 cw" is mentioned with "N.S" in the manual? If it is not
> supported, why mention it in the manual?

You are giving off an impression of trying hard just to be annoying.

> I understand what it means. But my question is what raw-data fields in
> the ELF file is used to figure this out the address is 0xec4 relative
> to the current instruction? My question is not about how to interpret
> what `0xec4(%rip)` means.

Nothing is figured out. The linker computes the offset and hard-codes
it into the instruction. This offset does not change after the linking
step.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux