diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-08-22 19:19:07 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-08-22 19:19:07 +0000 |
commit | e63e254e4c422ad8ec18aa83b7240ddd8e65f6e7 (patch) | |
tree | aa44c8f654eaaa23ce0a50f7198d67c508631f09 | |
parent | Removed assert condition when not initialized or there are 0 periods. (diff) | |
download | rtems-e63e254e4c422ad8ec18aa83b7240ddd8e65f6e7.tar.bz2 |
Corrected bug per Katsutoshi Shibuya's report:
The definition of "BEGIN_DATA" should not be null; should be ".data".
Also, the definition of "BEGIN_BSS" should be ".bss". For this error,
the compiled object has codes that write on the text segment area.
It is fatal when the code runs on ROM.
-rw-r--r-- | c/src/exec/score/cpu/m68k/asm.h | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/m68k/asm.h | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/m68k/rtems/asm.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/c/src/exec/score/cpu/m68k/asm.h b/c/src/exec/score/cpu/m68k/asm.h index ee800b2280..e6ecb813c2 100644 --- a/c/src/exec/score/cpu/m68k/asm.h +++ b/c/src/exec/score/cpu/m68k/asm.h @@ -112,13 +112,13 @@ #define BEGIN_CODE_DCL .text #define END_CODE_DCL -#define BEGIN_DATA_DCL .data +#define BEGIN_DATA_DCL #define END_DATA_DCL #define BEGIN_CODE .text #define END_CODE #define BEGIN_DATA #define END_DATA -#define BEGIN_BSS +#define BEGIN_BSS .bss #define END_BSS #define END diff --git a/cpukit/score/cpu/m68k/asm.h b/cpukit/score/cpu/m68k/asm.h index ee800b2280..e6ecb813c2 100644 --- a/cpukit/score/cpu/m68k/asm.h +++ b/cpukit/score/cpu/m68k/asm.h @@ -112,13 +112,13 @@ #define BEGIN_CODE_DCL .text #define END_CODE_DCL -#define BEGIN_DATA_DCL .data +#define BEGIN_DATA_DCL #define END_DATA_DCL #define BEGIN_CODE .text #define END_CODE #define BEGIN_DATA #define END_DATA -#define BEGIN_BSS +#define BEGIN_BSS .bss #define END_BSS #define END diff --git a/cpukit/score/cpu/m68k/rtems/asm.h b/cpukit/score/cpu/m68k/rtems/asm.h index ee800b2280..e6ecb813c2 100644 --- a/cpukit/score/cpu/m68k/rtems/asm.h +++ b/cpukit/score/cpu/m68k/rtems/asm.h @@ -112,13 +112,13 @@ #define BEGIN_CODE_DCL .text #define END_CODE_DCL -#define BEGIN_DATA_DCL .data +#define BEGIN_DATA_DCL #define END_DATA_DCL #define BEGIN_CODE .text #define END_CODE #define BEGIN_DATA #define END_DATA -#define BEGIN_BSS +#define BEGIN_BSS .bss #define END_BSS #define END |