| author | |
| committer | |
| log | 8dda65bba08a65a1df846ae68cfa31272e5ee1ea |
| tree | 2f7de7397becc89c08167f1d117e3022ef139f09 |
| parent | 37d1bdb8a7b700b900dd83c8c5c85296f5c3c17a |
| signature |
lea needs an address register as destination.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/pie.zig+1-1| ... | ... | @@ -152,7 +152,7 @@ inline fn getDynamicSymbol() [*]const elf.Dyn { |
| 152 | 152 | \\ .hidden _DYNAMIC |
| 153 | 153 | \\ lea _DYNAMIC - . - 8, %[ret] |
| 154 | 154 | \\ lea (%[ret], %%pc), %[ret] |
| 155 | : [ret] "=r" (-> [*]const elf.Dyn), | |
| 155 | : [ret] "=a" (-> [*]const elf.Dyn), | |
| 156 | 156 | ), |
| 157 | 157 | .microblaze, .microblazeel => asm volatile ( |
| 158 | 158 | \\ .weak _DYNAMIC |