comparison src/unexec.c @ 3591:507f64624555

Apply typo patches from Paul Eggert.
author Jim Blandy <jimb@redhat.com>
date Wed, 09 Jun 1993 11:59:12 +0000
parents 725698689fbd
children 07ba80692381
comparison
equal deleted inserted replaced
3590:d5f22061277d 3591:507f64624555
601 * section is one we know (.text, .data or .bss), write out the 601 * section is one we know (.text, .data or .bss), write out the
602 * correct header. If it is a section we do not know (such as 602 * correct header. If it is a section we do not know (such as
603 * .lib), adjust the address of where the section data is in the 603 * .lib), adjust the address of where the section data is in the
604 * file, and write out the header. 604 * file, and write out the header.
605 * 605 *
606 * If any section preceeds .text or .data in the file, this code 606 * If any section precedes .text or .data in the file, this code
607 * will not adjust the file pointer for that section correctly. 607 * will not adjust the file pointer for that section correctly.
608 */ 608 */
609 609
610 lseek (a_out, sizeof (f_hdr) + sizeof (f_ohdr), 0); 610 lseek (a_out, sizeof (f_hdr) + sizeof (f_ohdr), 0);
611 611
944 } 944 }
945 945
946 /* **************************************************************** 946 /* ****************************************************************
947 * mark_x 947 * mark_x
948 * 948 *
949 * After succesfully building the new a.out, mark it executable 949 * After successfully building the new a.out, mark it executable
950 */ 950 */
951 static void 951 static void
952 mark_x (name) 952 mark_x (name)
953 char *name; 953 char *name;
954 { 954 {