Changeset 8565a42 in mainline for uspace/lib/c/arch/abs32le


Ignore:
Timestamp:
2018-03-02T20:34:50Z (8 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a81f69, d5e5fd1
Parents:
3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
git-committer:
GitHub <noreply@…> (2018-03-02 20:34:50)
Message:

Remove all trailing whitespace, everywhere.

See individual commit messages for details.

Location:
uspace/lib/c/arch/abs32le
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/abs32le/_link.ld.in

    r3061bc1 r8565a42  
    1818        . = 0x1000 + SIZEOF_HEADERS;
    1919#endif
    20        
     20
    2121        .text : {
    2222                *(.text .text.*);
    2323                *(.rodata .rodata.*);
    2424        } :text
    25        
     25
    2626#ifdef LOADER
    2727        .interp : {
     
    2929        } :interp :text
    3030#endif
    31        
     31
    3232        . = . + 0x1000;
    33        
     33
    3434        .data : {
    3535                *(.data);
    3636                *(.data.rel*);
    3737        } :data
    38        
     38
    3939        .tdata : {
    4040                _tdata_start = .;
     
    4646                _tbss_end = .;
    4747        } :data
    48        
     48
    4949        _tls_alignment = ALIGNOF(.tdata);
    50        
     50
    5151        .sbss : {
    5252                *(.scommon);
    5353                *(.sbss);
    5454        }
    55        
     55
    5656        .bss : {
    5757                *(COMMON);
    5858                *(.bss);
    5959        } :data
    60        
     60
    6161        /DISCARD/ : {
    6262                *(*);
  • uspace/lib/c/arch/abs32le/include/libarch/atomic.h

    r3061bc1 r8565a42  
    4949                return true;
    5050        }
    51        
     51
    5252        return false;
    5353}
     
    5757        /* On real hardware the increment has to be done
    5858           as an atomic action. */
    59        
     59
    6060        val->count++;
    6161}
     
    6565        /* On real hardware the decrement has to be done
    6666           as an atomic action. */
    67        
     67
    6868        val->count++;
    6969}
     
    7474           value and the increment have to be done as a single
    7575           atomic action. */
    76        
     76
    7777        atomic_count_t prev = val->count;
    78        
     78
    7979        val->count++;
    8080        return prev;
     
    8686           value and the decrement have to be done as a single
    8787           atomic action. */
    88        
     88
    8989        atomic_count_t prev = val->count;
    90        
     90
    9191        val->count--;
    9292        return prev;
Note: See TracChangeset for help on using the changeset viewer.