diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2002-11-15 16:57:49 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2002-11-15 16:57:49 +0000 |
commit | 18789f4e75fc57df75f53306f9f6d4cd00131005 (patch) | |
tree | 800cab3c42657e85227dcf380988c86451166f22 /libffi | |
parent | a5fa1ecdab781978f189f6fe7fff83ab04b4e6e0 (diff) | |
download | gcc-18789f4e75fc57df75f53306f9f6d4cd00131005.zip gcc-18789f4e75fc57df75f53306f9f6d4cd00131005.tar.gz gcc-18789f4e75fc57df75f53306f9f6d4cd00131005.tar.bz2 |
s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
gcc/ChangeLog:
* config/s390/s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
libffi/ChangeLog:
* src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding.
From-SVN: r59134
Diffstat (limited to 'libffi')
-rw-r--r-- | libffi/ChangeLog | 4 | ||||
-rw-r--r-- | libffi/src/s390/sysv.S | 24 |
2 files changed, 20 insertions, 8 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 40ba2a5..c36ff7f 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,7 @@ +2002-11-15 Ulrich Weigand <uweigand@de.ibm.com> + + * src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding. + 2002-11-11 DJ Delorie <dj@redhat.com> * configure.in: Look for common files in the right place. diff --git a/libffi/src/s390/sysv.S b/libffi/src/s390/sysv.S index 50e94f5..7d6f449 100644 --- a/libffi/src/s390/sysv.S +++ b/libffi/src/s390/sysv.S @@ -152,10 +152,12 @@ ffi_closure_SYSV: .LSCIE1: .4byte 0x0 # CIE Identifier Tag .byte 0x1 # CIE Version - .ascii "\0" # CIE Augmentation + .ascii "zR\0" # CIE Augmentation .uleb128 0x1 # CIE Code Alignment Factor .sleb128 -4 # CIE Data Alignment Factor .byte 0xe # CIE RA Column + .uleb128 0x1 # Augmentation size + .byte 0x1b # FDE Encoding (pcrel sdata4) .byte 0xc # DW_CFA_def_cfa .uleb128 0xf .uleb128 0x60 @@ -165,8 +167,9 @@ ffi_closure_SYSV: .4byte .LEFDE1-.LASFDE1 # FDE Length .LASFDE1: .4byte .LASFDE1-.Lframe1 # FDE CIE offset - .4byte .LFB1 # FDE initial location + .4byte .LFB1-. # FDE initial location .4byte .LFE1-.LFB1 # FDE address range + .uleb128 0x0 # Augmentation size .byte 0x4 # DW_CFA_advance_loc4 .4byte .LCFI0-.LFB1 .byte 0x8f # DW_CFA_offset, column 0xf @@ -203,8 +206,9 @@ ffi_closure_SYSV: .4byte .LEFDE2-.LASFDE2 # FDE Length .LASFDE2: .4byte .LASFDE2-.Lframe1 # FDE CIE offset - .4byte .LFB2 # FDE initial location + .4byte .LFB2-. # FDE initial location .4byte .LFE2-.LFB2 # FDE address range + .uleb128 0x0 # Augmentation size .byte 0x4 # DW_CFA_advance_loc4 .4byte .LCFI10-.LFB2 .byte 0x8f # DW_CFA_offset, column 0xf @@ -347,10 +351,12 @@ ffi_closure_SYSV: .LSCIE1: .4byte 0x0 # CIE Identifier Tag .byte 0x1 # CIE Version - .ascii "\0" # CIE Augmentation + .ascii "zR\0" # CIE Augmentation .uleb128 0x1 # CIE Code Alignment Factor .sleb128 -8 # CIE Data Alignment Factor .byte 0xe # CIE RA Column + .uleb128 0x1 # Augmentation size + .byte 0x1b # FDE Encoding (pcrel sdata4) .byte 0xc # DW_CFA_def_cfa .uleb128 0xf .uleb128 0xa0 @@ -360,8 +366,9 @@ ffi_closure_SYSV: .4byte .LEFDE1-.LASFDE1 # FDE Length .LASFDE1: .4byte .LASFDE1-.Lframe1 # FDE CIE offset - .8byte .LFB1 # FDE initial location - .8byte .LFE1-.LFB1 # FDE address range + .4byte .LFB1-. # FDE initial location + .4byte .LFE1-.LFB1 # FDE address range + .uleb128 0x0 # Augmentation size .byte 0x4 # DW_CFA_advance_loc4 .4byte .LCFI0-.LFB1 .byte 0x8f # DW_CFA_offset, column 0xf @@ -398,8 +405,9 @@ ffi_closure_SYSV: .4byte .LEFDE2-.LASFDE2 # FDE Length .LASFDE2: .4byte .LASFDE2-.Lframe1 # FDE CIE offset - .8byte .LFB2 # FDE initial location - .8byte .LFE2-.LFB2 # FDE address range + .4byte .LFB2-. # FDE initial location + .4byte .LFE2-.LFB2 # FDE address range + .uleb128 0x0 # Augmentation size .byte 0x4 # DW_CFA_advance_loc4 .4byte .LCFI10-.LFB2 .byte 0x8f # DW_CFA_offset, column 0xf |