rtld.c (4d5fe96d68d5003e2682037c3d72bda61bc8d433) | rtld.c (757686b11510174fffffec96b816204c8d659fba) |
---|---|
1/*- 2 * Copyright 1996, 1997, 1998, 1999, 2000 John D. Polstra. 3 * Copyright 2003 Alexander Kabaev <kan@FreeBSD.ORG>. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 435 unchanged lines hidden (view full) --- 444 445 /* Return the exit procedure and the program entry point. */ 446 *exit_proc = rtld_exit; 447 *objp = obj_main; 448 return (func_ptr_type) obj_main->entry; 449} 450 451Elf_Addr | 1/*- 2 * Copyright 1996, 1997, 1998, 1999, 2000 John D. Polstra. 3 * Copyright 2003 Alexander Kabaev <kan@FreeBSD.ORG>. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 435 unchanged lines hidden (view full) --- 444 445 /* Return the exit procedure and the program entry point. */ 446 *exit_proc = rtld_exit; 447 *objp = obj_main; 448 return (func_ptr_type) obj_main->entry; 449} 450 451Elf_Addr |
452_rtld_bind(Obj_Entry *obj, Elf_Word reloff) | 452_rtld_bind(Obj_Entry *obj, Elf_Size reloff) |
453{ 454 const Elf_Rel *rel; 455 const Elf_Sym *def; 456 const Obj_Entry *defobj; 457 Elf_Addr *where; 458 Elf_Addr target; 459 int lockstate; 460 --- 2382 unchanged lines hidden --- | 453{ 454 const Elf_Rel *rel; 455 const Elf_Sym *def; 456 const Obj_Entry *defobj; 457 Elf_Addr *where; 458 Elf_Addr target; 459 int lockstate; 460 --- 2382 unchanged lines hidden --- |