You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/09/17 12:04:45 UTC
[GitHub] [incubator-nuttx] anchao opened a new pull request, #7120: arch/arm: declare vector array default type to read-only
anchao opened a new pull request, #7120:
URL: https://github.com/apache/incubator-nuttx/pull/7120
## Summary
arch/arm: declare vector array default type to read-only
Reference:
https://developer.arm.com/documentation/dui0474/m/image-structure-and-generation/section-placement-with-the-linker/section-placement-with-the-first-and-last-attributes
```
CAUTION:
FIRST and LAST must not violate the basic attribute sorting order. For example, FIRST RW is placed after any read-only code or read-only data.
```
```
arm-none-eabi-readelf -aS arm_vectors.o
1. Without const:
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 3] .vectors PROGBITS 00000000 000034 00011c 00 A 0 0 4
2. const symbol:
[ 3] .vectors PROGBITS 00000000 000034 00011c 00 WA 0 0 4
```
Signed-off-by: chao an <an...@xiaomi.com>
## Impact
N/A
## Testing
armlink
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #7120: arch/arm: declare vector array default type to read-only
Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged PR #7120:
URL: https://github.com/apache/incubator-nuttx/pull/7120
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org