Skip to content
Snippets Groups Projects
Commit b2107a4b authored by Heinrich Schuchardt's avatar Heinrich Schuchardt :speech_balloon:
Browse files

doc: global data pointer on x86, x86_64


On x86 the global data pointer is stored in register fs.
On x86_64 no register is used for the global data pointer.

Signed-off-by: Heinrich Schuchardt's avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent c2067021
No related branches found
No related tags found
No related merge requests found
......@@ -33,8 +33,10 @@ On most architectures the global data pointer is stored in a register.
+------------+----------+
| SuperH | r13 |
+------------+----------+
| x86 32bit | fs |
+------------+----------+
The sandbox, x86, and Xtensa are notable exceptions.
The sandbox, x86_64, and Xtensa are notable exceptions.
Clang for ARM does not support assigning a global register. When using Clang
gd is defined as an inline function using assembly code. This adds a few bytes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment