]> sourceware.org Git - newlib-cygwin.git/commitdiff
Fix score bugs
authorNick Clifton <nickc@redhat.com>
Thu, 19 Oct 2006 15:47:34 +0000 (15:47 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 19 Oct 2006 15:47:34 +0000 (15:47 +0000)
include/elf/ChangeLog
include/elf/score.h

index c9914d9349d8a2824bc75e490e9e7432b02b17dc..c737b67dd5e73bcd4b453b065163195781a911f5 100644 (file)
@@ -1,3 +1,9 @@
+2006-10-19  Mei Ligang  <ligang@sunnorth.com.cn>
+
+       * score.h (EF_SCORE_PIC): Redefine EF_SCORE_PIC as 0x80000000.
+       (EF_SCORE_FIXDEP): Redefine EF_SCORE_FIXDEP as 0x40000000.
+       (EF_SCORE_HASENTRY): Delete.
+
 2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
 
        * score.h: New file.
index 8eb69a788b94c425293e94f8221a79c60cd0caf2..ec3b32f16c46cb4548cb8559437328e8d579c01c 100644 (file)
 #include "elf/reloc-macros.h"
 
 #define SCORE_SIMULATOR_ACTIVE  1
-#define OPC_PTMASK              0xc0000000      /* Parity-bit Mask */
+#define OPC_PTMASK              0xc0000000      /* Parity-bit Mask */
 #define OPC16_PTMASK           0x00008000
 /* The parity-bit denotes.  */
-#define OPC_32                  0xc0000000      /* denotes 32b instruction, (default) */
-#define OPC_16                  0x00000000      /* denotes 16b instruction  */
-#define OPC_PE                  0x8000          /* denotes parallel-execution instructions  */
-#define EF_SCORE_HASENTRY       0x02
+#define OPC_32                  0xc0000000      /* Denotes 32b instruction, (default).  */
+#define OPC_16                  0x00000000      /* Denotes 16b instruction.  */
+#define OPC_PE                  0x8000          /* Denotes parallel-execution instructions.  */
 #define GP_DISP_LABEL           "_gp_disp"
 
-/* Processor specific flags for the ELF header e_flags field.  */
-
-/* Fix data dependency.  */
-#define EF_SCORE_FIXDEP         0x00000001
+/* Processor specific flags for the ELF header e_flags field:  */
 
 /* File contains position independent code.  */
-#define EF_SCORE_PIC           0x00000002
+#define EF_SCORE_PIC            0x80000000
+
+/* Fix data dependency.  */
+#define EF_SCORE_FIXDEP         0x40000000 
 
 /* Defined and allocated common symbol.  Value is virtual address.  If
    relocated, alignment must be preserved.  */
This page took 0.031857 seconds and 5 git commands to generate.