File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ pub(super) unsafe extern "C" fn _start() -> ! {
4747#[ cfg( relocation_model = "pic" ) ]
4848pub ( super ) fn abort ( ) -> ! {
4949 unsafe {
50- asm ! ( "brk #0x1" , options( noreturn) ) ;
50+ asm ! ( "brk #0x1" , options( noreturn, nostack ) ) ;
5151 }
5252}
5353
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ pub(super) unsafe extern "C" fn _start() -> ! {
4747#[ cfg( relocation_model = "pic" ) ]
4848pub ( super ) fn abort ( ) -> ! {
4949 unsafe {
50- asm ! ( ".inst 0xe7ffdefe" , options( noreturn) ) ;
50+ asm ! ( ".inst 0xe7ffdefe" , options( noreturn, nostack ) ) ;
5151 }
5252}
5353
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ pub(super) unsafe extern "C" fn _start() -> ! {
4747#[ cfg( relocation_model = "pic" ) ]
4848pub ( super ) fn abort ( ) -> ! {
4949 unsafe {
50- asm ! ( "unimp" , options( noreturn) ) ;
50+ asm ! ( "unimp" , options( noreturn, nostack ) ) ;
5151 }
5252}
5353
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ pub(super) unsafe extern "C" fn _start() -> ! {
5252#[ cfg( relocation_model = "pic" ) ]
5353pub ( super ) fn abort ( ) -> ! {
5454 unsafe {
55- asm ! ( "ud2" , options( noreturn) ) ;
55+ asm ! ( "ud2" , options( noreturn, nostack ) ) ;
5656 }
5757}
5858
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ pub(super) unsafe extern "C" fn _start() -> ! {
4747#[ cfg( relocation_model = "pic" ) ]
4848pub ( super ) fn abort ( ) -> ! {
4949 unsafe {
50- asm ! ( "ud2" , options( noreturn) ) ;
50+ asm ! ( "ud2" , options( noreturn, nostack ) ) ;
5151 }
5252}
5353
You can’t perform that action at this time.
0 commit comments