# NETOS 6.0 Linker Scripts

**URL:** <https://forums.digi.com/t/netos-6-0-linker-scripts/5196>\
**Category:** NET+OS\
**Created:** [November 25, 2003, 2:07pm UTC](https://forums.digi.com/t/netos-6-0-linker-scripts/5196 "2003-11-25T14:07:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/digi/original/1X/11da31a6a1fbcd03ef21d3f785c317c824009ae2.png) [@system](https://forums.digi.com/u/system)\
**Post date:** [November 25, 2003, 2:07pm UTC](https://forums.digi.com/t/netos-6-0-linker-scripts/5196/1 "2003-11-25T14:07:27Z")

</div>

In NETOS 6.0 what is the best way to add .sections to the customized linker scripts

---

<div class="post-metadata">

**Author:** ![muscleman](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@muscleman](https://forums.digi.com/u/muscleman)\
**Post date:** [November 26, 2003, 10:00am UTC](https://forums.digi.com/t/netos-6-0-linker-scripts/5196/2 "2003-11-26T10:00:16Z")

</div>

We don’t do anything special in the linker scripts. I strongly recommend that you read the linker manual. You can create new sections using the same commands that we do. If you are trying to create a new section in RAM or ROM and the linker says it doesn’t fit, then you should make sure the values for RAM\_SIZE and FLASH\_SIZE in customize.ldr or customize.lx in the platform directory are correct for your platform. If you have a memory that should not be considered part of the normal ROM or RAM, then you should create a new memory section for it in the MEMORY part of the linker script sources in arm7init, and a corresponding section for it in the SECTION part of the script. This is all described in the linker manual. The linker scripts are a bit arcane and confusing so it is important that you read the manual so that you know better off what you are trying to achieve.
