diff options
| -rw-r--r-- | src/unexalpha.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/unexalpha.c b/src/unexalpha.c index de6c46a8358..9ffeee973b5 100644 --- a/src/unexalpha.c +++ b/src/unexalpha.c | |||
| @@ -81,8 +81,10 @@ Boston, MA 02111-1307, USA. */ | |||
| 81 | #define _SBSS ".sbss" | 81 | #define _SBSS ".sbss" |
| 82 | #endif /* __NetBSD__ || __OpenBSD__ */ | 82 | #endif /* __NetBSD__ || __OpenBSD__ */ |
| 83 | 83 | ||
| 84 | static void fatal_unexec (); | 84 | static void fatal_unexec __P ((char *, char *)); |
| 85 | static void mark_x (); | 85 | static void mark_x __P ((char *)); |
| 86 | |||
| 87 | static void update_dynamic_symbols __P ((char *, char *, int, struct aouthdr)); | ||
| 86 | 88 | ||
| 87 | #define READ(_fd, _buffer, _size, _error_message, _error_arg) \ | 89 | #define READ(_fd, _buffer, _size, _error_message, _error_arg) \ |
| 88 | errno = EEOF; \ | 90 | errno = EEOF; \ |
| @@ -142,6 +144,7 @@ struct headers { | |||
| 142 | #define DEFAULT_ENTRY_ADDRESS __start | 144 | #define DEFAULT_ENTRY_ADDRESS __start |
| 143 | #endif | 145 | #endif |
| 144 | 146 | ||
| 147 | void | ||
| 145 | unexec (new_name, a_name, data_start, bss_start, entry_address) | 148 | unexec (new_name, a_name, data_start, bss_start, entry_address) |
| 146 | char *new_name, *a_name; | 149 | char *new_name, *a_name; |
| 147 | unsigned long data_start, bss_start, entry_address; | 150 | unsigned long data_start, bss_start, entry_address; |
| @@ -424,7 +427,7 @@ unexec (new_name, a_name, data_start, bss_start, entry_address) | |||
| 424 | } | 427 | } |
| 425 | 428 | ||
| 426 | 429 | ||
| 427 | 430 | static void | |
| 428 | update_dynamic_symbols (old, new_name, new, aout) | 431 | update_dynamic_symbols (old, new_name, new, aout) |
| 429 | char *old; /* Pointer to old executable */ | 432 | char *old; /* Pointer to old executable */ |
| 430 | char *new_name; /* Name of new executable */ | 433 | char *new_name; /* Name of new executable */ |