[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
More fixes for arm-epoc-pe binutils
From: |
Tomas Hurka |
Subject: |
More fixes for arm-epoc-pe binutils |
Date: |
Fri, 1 Dec 2000 12:21:11 +0100 |
Hi All,
Here is another fix for arm-epoc-pe binutils v. 2.10.1 (other fixes can be
found in
my previous message to this list posted on Thu, 9 Nov 2000). This fixes
problem
with section flags. After applying this fix arm-epoc-pe-objdump can disassemble
PE
files produced by arm-epoc-pe-as. If anyone is interested in more details about
this
and other patches for arm-epoc-pe platform, please, let me know.
--- original/binutils-2.10.1/bfd/coffcode.h Tue Nov 14 21:51:58 2000
+++ patched/binutils-2.10.1/bfd/coffcode.h Fri Nov 10 16:18:46 2000
@@ -4979,7 +4979,7 @@
(HAS_RELOC | EXEC_P | HAS_LINENO | HAS_DEBUG | \
HAS_SYMS | HAS_LOCALS | WP_TEXT | EXTRA_O_FLAGS), \
/* section flags */ \
- (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC | EXTRA_S_FLAGS),\
+ (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_CODE |
SEC_READONLY |
SEC_DATA | EXTRA_S_FLAGS),\
UNDER, /* leading symbol underscore */ \
'/', /* ar_pad_char */ \
15, /* ar_max_namelen */ \
@@ -5029,7 +5029,7 @@
(HAS_RELOC | EXEC_P | HAS_LINENO | HAS_DEBUG | \
HAS_SYMS | HAS_LOCALS | WP_TEXT | EXTRA_O_FLAGS), \
/* section flags */ \
- (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC | EXTRA_S_FLAGS),\
+ (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_CODE |
SEC_READONLY |
SEC_DATA | EXTRA_S_FLAGS),\
UNDER, /* leading symbol underscore */ \
'/', /* ar_pad_char */ \
15, /* ar_max_namelen */ \
Best regards,
---
Tomas Hurka
address@hidden
NeXTMAIL and MIME OK
- More fixes for arm-epoc-pe binutils,
Tomas Hurka <=