1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/editors/emacs23/files/patch-ae
Steve Price 686c761517 Convert to ELF.
PR:		8090
Submitted by:	Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
1998-10-10 04:37:24 +00:00

13 lines
561 B
Plaintext

--- orig/unexelf.c Wed Jul 17 07:39:03 1996
+++ src/unexelf.c Wed Sep 30 09:35:47 1998
@@ -845,7 +845,9 @@
for (; symp < symendp; symp ++)
if (strcmp ((char *) (symnames + symp->st_name), "_end") == 0
- || strcmp ((char *) (symnames + symp->st_name), "_edata") == 0)
+ || strcmp ((char *) (symnames + symp->st_name), "end") == 0
+ || strcmp ((char *) (symnames + symp->st_name), "_edata") == 0
+ || strcmp ((char *) (symnames + symp->st_name), "edata") == 0)
memcpy (&symp->st_value, &new_bss_addr, sizeof (new_bss_addr));
}