Skip to contentSkip to conversation

gcc: reduce the variables in symtab

PATCH New Zhixiong Chi 1 participant 1 message May 28, 2019

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gcc: reduce the variables in symtab

Backport the patch from upstream:
https://github.com/gcc-mirror/gcc.git [commit beb921e]
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=269925

Add the premark_used_variables function, meanwhile do not mark not premarked external variables in prune_unused_types_walk.

---
 meta/recipes-devtools/gcc/gcc-8.3.inc         |  1 +
 .../gcc/gcc-8.3/0042-PR-debug-86964.patch     | 94 +++++++++++++++++++
 2 files changed, 95 insertions(+)
 create mode 100644 meta/recipes-devtools/gcc/gcc-8.3/0042-PR-debug-86964.patch
meta/recipes-devtools/gcc/gcc-8.3.inc +1 -0
index fe9c7c3602..a6b772aadd 100644
@@ -72,6 +72,7 @@ SRC_URI = "\
            file://0039-riscv-Disable-multilib-for-OE.patch \
            file://0040-powerpc-powerpc64-Add-support-for-musl-ldso.patch \
            file://0041-Add-a-recursion-limit-to-libiberty-s-demangling-code.patch \
+           file://0042-PR-debug-86964.patch \
 "
 SRC_URI[md5sum] = "65b210b4bfe7e060051f799e0f994896"
 SRC_URI[sha256sum] = "64baadfe6cc0f4947a84cb12d7f0dfaf45bb58b7e92461639596c21e02d97d2c"
meta/recipes-devtools/gcc/gcc-8.3/0042-PR-debug-86964.patch new file +94 -0

94 lines not on this page · raw message

Signature · 1 line
2.21.0