ld: HIDDEN

1 
1 3.5.2 HIDDEN
1 ------------
1 
1 For ELF targeted ports, define a symbol that will be hidden and won't be
1 exported.  The syntax is 'HIDDEN(SYMBOL = EXPRESSION)'.
1 
1    Here is the example from ⇒Simple Assignments, rewritten to use
1 'HIDDEN':
1 
1      HIDDEN(floating_point = 0);
1      SECTIONS
1      {
1        .text :
1          {
1            *(.text)
1            HIDDEN(_etext = .);
1          }
1        HIDDEN(_bdata = (. + 3) & ~ 3);
1        .data : { *(.data) }
1      }
1 In this case none of the three symbols will be visible outside this
1 module.
1