Home | History | Annotate | Download | only in gen
History log of /src/lib/libc/arch/x86_64/gen/swapcontext.S
RevisionDateAuthorComments
 1.7  03-May-2025  riastradh libc/x86_64: Omit needless __PIC__ conditionals.

PR lib/59391: unnecessary __PIC__ conditionals clutter .S files
 1.6  22-May-2014  uebayasi branches: 1.6.36;
Put missing END() markers to set ELF symbol size.
 1.5  12-Sep-2013  joerg branches: 1.5.2;
Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is small
vs big PIC mode. Retire -DPIC and -DBIGPIC.
 1.4  12-Apr-2007  pooka branches: 1.4.36; 1.4.42;
Don't clobber callee save registers r12 & r13 in swapcontext. They
were saved in the stack, but the subsequent swapcontext would return
to the earlier stack frame and never restore them. Fixes puffs
with default compiler flags on amd64.

Thanks to Mihai Chelaru for providing access to an amd64 machine
for debugging this problem.
 1.3  01-Dec-2004  ws branches: 1.3.2; 1.3.10;
Use correct stack offsets after pushing values onto it.
 1.2  07-Apr-2003  kleink branches: 1.2.2; 1.2.4;
Make sure we reference getcontext() by its internal name.
 1.1  30-Jan-2003  fvdl Add ucontext glue for x86_64.
 1.2.4.1  07-Jan-2005  jdc Pull up revision 1.3 (requested by hira in ticket #1029).

Use correct stack offsets after pushing values onto it.
 1.2.2.1  07-Jan-2005  jdc Pull up revision 1.3 (requested by hira in ticket #1029).

Use correct stack offsets after pushing values onto it.
 1.3.10.1  07-May-2007  snj Pull up following revision(s) (requested by pooka in ticket #605):
lib/libc/arch/x86_64/gen/swapcontext.S: revision 1.4
Don't clobber callee save registers r12 & r13 in swapcontext. They
were saved in the stack, but the subsequent swapcontext would return
to the earlier stack frame and never restore them. Fixes puffs
with default compiler flags on amd64.
Thanks to Mihai Chelaru for providing access to an amd64 machine
for debugging this problem.
 1.3.2.1  27-May-2007  bouyer Pull up following revision(s) (requested by pooka in ticket #1772):
lib/libc/arch/x86_64/gen/swapcontext.S: revision 1.4
Don't clobber callee save registers r12 & r13 in swapcontext. They
were saved in the stack, but the subsequent swapcontext would return
to the earlier stack frame and never restore them. Fixes puffs
with default compiler flags on amd64.
Thanks to Mihai Chelaru for providing access to an amd64 machine
for debugging this problem.
 1.4.42.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.36.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.5.2.1  10-Aug-2014  tls Rebase.
 1.6.36.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed