aboutsummaryrefslogtreecommitdiffstats
path: root/src/unexaix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unexaix.c')
-rw-r--r--src/unexaix.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/unexaix.c b/src/unexaix.c
index df4c5b8905c..1bf65b68518 100644
--- a/src/unexaix.c
+++ b/src/unexaix.c
@@ -1,5 +1,5 @@
1/* Dump an executable image. 1/* Dump an executable image.
2 Copyright (C) 1985-1988, 1999, 2001-2011 Free Software Foundation, Inc. 2 Copyright (C) 1985-1988, 1999, 2001-2012 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -221,24 +221,24 @@ make_hdr (int new, int a_out,
221 } 221 }
222 222
223#define CHECK_SCNHDR(ptr, name, flags) \ 223#define CHECK_SCNHDR(ptr, name, flags) \
224 if (strcmp(s->s_name, name) == 0) { \ 224 if (strcmp (s->s_name, name) == 0) { \
225 if (s->s_flags != flags) { \ 225 if (s->s_flags != flags) { \
226 fprintf(stderr, "unexec: %lx flags where %x expected in %s section.\n", \ 226 fprintf (stderr, "unexec: %lx flags where %x expected in %s section.\n", \
227 (unsigned long)s->s_flags, flags, name); \ 227 (unsigned long)s->s_flags, flags, name); \
228 } \ 228 } \
229 if (ptr) { \ 229 if (ptr) { \
230 fprintf(stderr, "unexec: duplicate section header for section %s.\n", \ 230 fprintf (stderr, "unexec: duplicate section header for section %s.\n", \
231 name); \ 231 name); \
232 } \ 232 } \
233 ptr = s; \ 233 ptr = s; \
234 } 234 }
235 CHECK_SCNHDR(f_thdr, _TEXT, STYP_TEXT); 235 CHECK_SCNHDR (f_thdr, _TEXT, STYP_TEXT);
236 CHECK_SCNHDR(f_dhdr, _DATA, STYP_DATA); 236 CHECK_SCNHDR (f_dhdr, _DATA, STYP_DATA);
237 CHECK_SCNHDR(f_bhdr, _BSS, STYP_BSS); 237 CHECK_SCNHDR (f_bhdr, _BSS, STYP_BSS);
238 CHECK_SCNHDR(f_lhdr, _LOADER, STYP_LOADER); 238 CHECK_SCNHDR (f_lhdr, _LOADER, STYP_LOADER);
239 CHECK_SCNHDR(f_dbhdr, _DEBUG, STYP_DEBUG); 239 CHECK_SCNHDR (f_dbhdr, _DEBUG, STYP_DEBUG);
240 CHECK_SCNHDR(f_tchdr, _TYPCHK, STYP_TYPCHK); 240 CHECK_SCNHDR (f_tchdr, _TYPCHK, STYP_TYPCHK);
241 CHECK_SCNHDR(f_xhdr, _EXCEPT, STYP_EXCEPT); 241 CHECK_SCNHDR (f_xhdr, _EXCEPT, STYP_EXCEPT);
242 } 242 }
243 243
244 if (f_thdr == 0) 244 if (f_thdr == 0)
@@ -541,7 +541,7 @@ unrelocate_symbols (int new, int a_out, char *a_name, char *new_name)
541#else 541#else
542 /* This worked (and was needed) before AIX 4.2. 542 /* This worked (and was needed) before AIX 4.2.
543 I have no idea why. -- Mike */ 543 I have no idea why. -- Mike */
544 ulong d_reloc = (ulong) &_data - ALIGN(f_ohdr.data_start, 2); 544 ulong d_reloc = (ulong) &_data - ALIGN (f_ohdr.data_start, 2);
545#endif 545#endif
546 int * p; 546 int * p;
547 547