Skip to content

Commit

Permalink
(elf_machine_load_address): Move helper variable into .data.rel.ro.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Jul 31, 2005
1 parent 52387e1 commit 21c03db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sysdeps/x86_64/dl-machine.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ elf_machine_load_address (void)
asm ("movq 1f(%%rip), %1\n"
"0:\tleaq _dl_start(%%rip), %0\n\t"
"subq %1, %0\n\t"
".section\t.data\n"
".section\t.data.rel.ro\n"
"1:\t.quad _dl_start\n\t"
".previous\n\t"
: "=r" (addr), "=r" (tmp) : : "cc");
Expand Down

0 comments on commit 21c03db

Please sign in to comment.