This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[m32c] crt0.S dwarf2 fix
- From: DJ Delorie <dj at redhat dot com>
- To: newlib at sourceware dot org
- Date: Fri, 30 Jun 2006 17:55:47 -0400
- Subject: [m32c] crt0.S dwarf2 fix
Committed.
2006-06-30 DJ Delorie <dj@redhat.com>
* m32c/crt0.S (done_inilist): Fix dwarf2 address sizes.
Index: m32c/crt0.S
===================================================================
RCS file: /cvs/src/src/libgloss/m32c/crt0.S,v
retrieving revision 1.2
diff -p -U3 -r1.2 m32c/crt0.S
--- m32c/crt0.S 14 Dec 2005 03:38:27 -0000 1.2
+++ m32c/crt0.S 30 Jun 2006 21:55:14 -0000
@@ -34,13 +34,11 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI
#define A16
#define A(n,w) n
#define W w
-#define ADDR .2byte
#define ALIGN 1
#else
#define A24
#define A(n,w) w
#define W l
-#define ADDR .4byte
#define ALIGN 2
#endif
@@ -166,8 +164,8 @@ __m32c_fini:
.4byte .LEFDE0-.LASFDE0 ; FDE Length
.LASFDE0:
.4byte .Lframe0 ; FDE CIE offset
- ADDR .LFB2 ; FDE initial location
- ADDR .LFE2-.LFB2 ; FDE address range
+ .4byte .LFB2 ; FDE initial location
+ .4byte .LFE2-.LFB2 ; FDE address range
.byte 0xf ; DW_CFA_def_cfa_expression
.uleb128 1 ; length of expression
.byte 0x30 ; DW_OP_lit0