Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: AOSPA/android_bionic
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: uvite
Choose a base ref
...
head repository: aospa-cupid/android_bionic
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: uvite
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 8 commits
  • 8 files changed
  • 6 contributors

Commits on Jun 16, 2024

  1. libc: Enable thinLTO for note_memtag_heap_async & note_memtag_heap_sync

    Somehow this fixes build with GLOBAL_THINLTO=1
    
    Change-Id: I4c7b8ffb6fe01fe91d08d144dca4c4b60bf6dd7e
    Signed-off-by: Pranav Vashi <[email protected]>
    Signed-off-by: Cyber Knight <[email protected]>
    mesziman authored and Timo Dorfner committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    381b1d1 View commit details
    Browse the repository at this point in the history
  2. Re-enable LTO for libm

    The build breakage is now fixed by the current stable Clang, workaround
    is no longer needed.
    
    Test: presubmit
    Change-Id: I1bf6081c97fba54e5f21951b20cd4fd6dd152143
    Signed-off-by: Cyber Knight <[email protected]>
    kongy authored and Timo Dorfner committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    de14366 View commit details
    Browse the repository at this point in the history
  3. Re-enable LTO for libdl

    The build breakage is now fixed by the current stable Clang, workaround
    is no longer needed.
    
    Test: presubmit
    Bug: 169004486
    Change-Id: Id8df8efeb9f4183921cbf75f1c51b1507bff1eb0
    Signed-off-by: Cyber Knight <[email protected]>
    kongy authored and Timo Dorfner committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    4c44e83 View commit details
    Browse the repository at this point in the history
  4. Re-enable LTO for linker

    The build breakage is now fixed by the current stable Clang, workaround
    is no longer needed.
    
    Test: presubmit
    Change-Id: Ice2863844ff886f503d50fa7a006cde78d16492d
    Signed-off-by: Cyber Knight <[email protected]>
    kongy authored and Timo Dorfner committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    9e7aa88 View commit details
    Browse the repository at this point in the history
  5. libdl: do not disable LTO

    Yet another partial revert of 15a05a7
    
    Change-Id: I4262a8b59258e2065a84cdb79c429604df50f5ba
    Signed-off-by: Cyber Knight <[email protected]>
    RealJohnGalt authored and Timo Dorfner committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    a404f51 View commit details
    Browse the repository at this point in the history
  6. Let executables not rely on sentinels in preinit_array/init_array/fin…

    …i_array
    
    Currently, we use sentinels (starting with -1 and ending with 0) in
    preinit_array/init_array/fini_array in executables. But after using LTO,
    the sentinels can be reordered by LLD and no longer work. So make below
    changes to not rely on them:
      1. In crtbegin.c, use symbols (like __init_array_start) inserted by the
         linker.
      2. Add array_count fields in structors_array_t.
      3. In static libc, use array_count fields to decide array lengths.
      4. To make new dynamic executables work with old libc.so, create a fake
         fini_array with sentinels, and pass it to __libc_init. The fake
         fini_array contains a function to call functions in real fini_array.
      5. To make old dynamic executables work with new libc.so, libc.so
         still uses sentinels to decide the length of fini_array.
    
    Bug: 295944813
    Bug: android/ndk#1461
    Test: run bionic-unit-tests-static
    Test: test static executables manually
    Test: boot cf_gwear_x86-trunk_staging-userdebug
    Change-Id: I1ce31f07bcfe0e99b4237984898a8fc9e98ff426
    Signed-off-by: Cyber Knight <[email protected]>
    yabinc authored and Timo Dorfner committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    eadb8b5 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Merge https://gitlab.timodo.de/aospa/lto/android_bionic into HEAD

    Change-Id: I1445fb38fddaea6fb78aa5a966bea2db5b818888
    rk134 committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    4318f2d View commit details
    Browse the repository at this point in the history
  2. bionic: Optimize libc for performance

    libc is a library that is used across android constantly.
    Use O3 to compile it for performance.
    
    Change-Id: I2f2eca0b37ed056dc470c76201a24f0c8784043f
    mvaisakh authored and rk134 committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    87efc91 View commit details
    Browse the repository at this point in the history
Loading