Skip to content

Fix Catena 4801 link "warning: changing start of section .bss by 4 bytes" #129

@terrillmoore

Description

@terrillmoore

You sometime get warnings at linktime, like: warning: changing start of section .bss by 4 bytes.

This is an error in the variant ldscript.ld. (This probably should be moved to be common for all variants, as the Murata module is constant, but .. different issue.)

I patched my local version from:

/* Uninitialized data section */
. = ALIGN(4);
.bss :
{
/* This is used by the startup in order to initialize the .bss secion */

to:

/* Uninitialized data section */ 
. = ALIGN(4)
.bss ALIGN(4):
  {
    . = ALIGN(4);
    /* This is used by the startup in order to initialize the .bss secion */ 

And the warning goes away, at least when compiling the model 4811 firmware at commit a32357be6d76307c2a6042147ddf5b1c469492bd.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions