Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions arch/arm/src/armv7-m/arm_exception.S
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@

#include "chip.h"
#include "exc_return.h"
#include "ghs_compat.S"

/****************************************************************************
* Pre-processor Definitions
Expand Down
48 changes: 48 additions & 0 deletions arch/arm/src/armv7-m/ghs_compat.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/****************************************************************************
* arch/arm/src/armv7-m/ghs_compat.S
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
* ASF licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*
****************************************************************************/

#ifdef __ghs__
.macro .cfi_sections section
.endm

.macro .cfi_startproc
.endm

.macro .cfi_def_cfa val1 val2
.endm

.macro .cfi_def_cfa_offset val
.endm

.macro .cfi_offset val1 val2
.endm

.macro .cfi_restore val
.endm

.macro .cfi_restore_state
.endm

.macro .cfi_endproc
.endm

.macro .cfi_remember_state
.endm
#endif
Loading