diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/unexec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/unexec.c b/src/unexec.c index b7aa1e08e99..652aa70e242 100644 --- a/src/unexec.c +++ b/src/unexec.c | |||
| @@ -791,13 +791,14 @@ make_hdr (new, a_out, data_start, bss_start, entry_address, a_name, new_name) | |||
| 791 | PERROR (new_name); | 791 | PERROR (new_name); |
| 792 | } | 792 | } |
| 793 | 793 | ||
| 794 | #if 0 /* This #ifndef caused a bug on Linux when using QMAGIC. */ | ||
| 794 | /* This adjustment was done above only #ifndef NO_REMAP, | 795 | /* This adjustment was done above only #ifndef NO_REMAP, |
| 795 | so only undo it now #ifndef NO_REMAP. */ | 796 | so only undo it now #ifndef NO_REMAP. */ |
| 796 | #ifndef NO_REMAP | 797 | /* #ifndef NO_REMAP */ |
| 798 | #endif | ||
| 797 | #ifdef A_TEXT_OFFSET | 799 | #ifdef A_TEXT_OFFSET |
| 798 | hdr.a_text -= A_TEXT_OFFSET (ohdr); | 800 | hdr.a_text -= A_TEXT_OFFSET (ohdr); |
| 799 | #endif | 801 | #endif |
| 800 | #endif | ||
| 801 | 802 | ||
| 802 | return 0; | 803 | return 0; |
| 803 | 804 | ||