Skip to content

Commit

Permalink
Fix #129: link warning changing start of .bss
Browse files Browse the repository at this point in the history
  • Loading branch information
terrillmoore committed Oct 29, 2019
1 parent 803dce0 commit 9c71115
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
6 changes: 4 additions & 2 deletions variants/CATENA_4551/ldscript.ld
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
** @attention
**
** <h2><center>&copy; COPYRIGHT(c) 2014 Ac6</center></h2>
** <h2><center>Portions &copy; COPYRIGHT(c) 2019 MCCI Corporation</center></h2>
**
** Redistribution and use in source and binary forms, with or without modification,
** are permitted provided that the following conditions are met:
Expand Down Expand Up @@ -148,9 +149,10 @@ SECTIONS

/* Uninitialized data section */
. = ALIGN(4);
.bss :
.bss ALIGN(4):
{
/* This is used by the startup in order to initialize the .bss secion */
. = ALIGN(4);
/* This is used by the startup in order to initialize the .bss section */
_sbss = .; /* define a global symbol at bss start */
__bss_start__ = _sbss;
*(.bss)
Expand Down
6 changes: 4 additions & 2 deletions variants/CATENA_461x/ldscript.ld
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
** @attention
**
** <h2><center>&copy; COPYRIGHT(c) 2014 Ac6</center></h2>
** <h2><center>Portions &copy; COPYRIGHT(c) 2019 MCCI Corporation</center></h2>
**
** Redistribution and use in source and binary forms, with or without modification,
** are permitted provided that the following conditions are met:
Expand Down Expand Up @@ -148,9 +149,10 @@ SECTIONS

/* Uninitialized data section */
. = ALIGN(4);
.bss :
.bss ALIGN(4):
{
/* This is used by the startup in order to initialize the .bss secion */
. = ALIGN(4);
/* This is used by the startup in order to initialize the .bss section */
_sbss = .; /* define a global symbol at bss start */
__bss_start__ = _sbss;
*(.bss)
Expand Down
6 changes: 4 additions & 2 deletions variants/CATENA_4630/ldscript.ld
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
** @attention
**
** <h2><center>&copy; COPYRIGHT(c) 2014 Ac6</center></h2>
** <h2><center>Portions &copy; COPYRIGHT(c) 2019 MCCI Corporation</center></h2>
**
** Redistribution and use in source and binary forms, with or without modification,
** are permitted provided that the following conditions are met:
Expand Down Expand Up @@ -148,9 +149,10 @@ SECTIONS

/* Uninitialized data section */
. = ALIGN(4);
.bss :
.bss ALIGN(4):
{
/* This is used by the startup in order to initialize the .bss secion */
. = ALIGN(4);
/* This is used by the startup in order to initialize the .bss section */
_sbss = .; /* define a global symbol at bss start */
__bss_start__ = _sbss;
*(.bss)
Expand Down
6 changes: 4 additions & 2 deletions variants/CATENA_4801/ldscript.ld
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
** @attention
**
** <h2><center>&copy; COPYRIGHT(c) 2014 Ac6</center></h2>
** <h2><center>Portions &copy; COPYRIGHT(c) 2019 MCCI Corporation</center></h2>
**
** Redistribution and use in source and binary forms, with or without modification,
** are permitted provided that the following conditions are met:
Expand Down Expand Up @@ -148,9 +149,10 @@ SECTIONS

/* Uninitialized data section */
. = ALIGN(4);
.bss :
.bss ALIGN(4):
{
/* This is used by the startup in order to initialize the .bss secion */
. = ALIGN(4);
/* This is used by the startup in order to initialize the .bss section */
_sbss = .; /* define a global symbol at bss start */
__bss_start__ = _sbss;
*(.bss)
Expand Down

0 comments on commit 9c71115

Please sign in to comment.