Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
terrillmoore opened this issue Oct 2, 2019 · 0 comments
Assignees
Labels
Projects

Comments

@terrillmoore
Copy link
Member

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.

@terrillmoore terrillmoore self-assigned this Oct 2, 2019
@terrillmoore terrillmoore added this to To do in v.Next via automation Oct 29, 2019
@terrillmoore terrillmoore moved this from To do to In progress in v.Next Oct 29, 2019
v.Next automation moved this from In progress to Done Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
v.Next
  
Done
Development

No branches or pull requests

1 participant