[ramdisk] Upgrade the MMF SDK from V4.0.0 to V4.1.0

1. add some system libs for v0p7
	2. add .gitignore

Change-Id: Iff799f4fa2544b656caa564e5ad98b969ad23ea5
This commit is contained in:
wangliang.wang
2023-03-10 00:28:30 +08:00
committed by sam.xiang
parent 95dcbe5649
commit aa1b345a00
138 changed files with 248 additions and 23 deletions

1
ramdisk/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
build/

View File

@ -0,0 +1 @@
../lib64v0p7_xthead/lp64d/ld-2.33.so

View File

@ -1 +1 @@
../lib64vxthead/lp64dv/ld-2.29.so ../lib64v0p7_xthead/lp64d/ld-2.33.so

View File

@ -0,0 +1 @@
libBrokenLocale-2.33.so

View File

@ -0,0 +1 @@
libanl-2.33.so

View File

@ -0,0 +1 @@
libc-2.33.so

View File

@ -0,0 +1 @@
libcrypt-2.33.so

View File

@ -0,0 +1 @@
libdl-2.33.so

View File

@ -0,0 +1 @@
libgomp.so.1.0.0

View File

@ -0,0 +1 @@
libgomp.so.1.0.0

View File

@ -0,0 +1,3 @@
# This spec file is read by gcc when linking. It is used to specify the
# standard libraries we need in order to link with libgomp.
*link_gomp: -lgomp %{static: -ldl -lpthread }

View File

@ -0,0 +1 @@
libm-2.33.so

View File

@ -0,0 +1 @@
libnsl-2.33.so

View File

@ -0,0 +1 @@
libnss_compat-2.33.so

View File

@ -0,0 +1 @@
libnss_db-2.33.so

View File

@ -0,0 +1 @@
libnss_dns-2.33.so

View File

@ -0,0 +1 @@
libnss_files-2.33.so

View File

@ -0,0 +1 @@
libnss_hesiod-2.33.so

View File

@ -0,0 +1 @@
libpthread-2.33.so

View File

@ -0,0 +1 @@
libresolv-2.33.so

View File

@ -0,0 +1 @@
librt-2.33.so

View File

@ -0,0 +1,11 @@
# This spec file is read by gcc when linking. It is used to specify the
# standard libraries we need in order to link with various sanitizer libs.
*link_libasan: -lrt -ldl -lrt -lpthread -lm
*link_libtsan: -lrt -ldl -lrt -lpthread -lm
*link_libubsan: -ldl -lrt -lpthread -lm
*link_liblsan: -ldl -lrt -lpthread -lm

View File

@ -0,0 +1,61 @@
# -*- python -*-
# Copyright (C) 2009-2020 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import sys
import gdb
import os
import os.path
pythondir = '/mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv_2/build-gcc-riscv64-unknown-linux-gnu/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1/share/gcc-10.2.0/python'
libdir = '/mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv_2/build-gcc-riscv64-unknown-linux-gnu/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1/riscv64-unknown-linux-gnu/lib/../lib64v0p7_xthead/lp64d'
# This file might be loaded when there is no current objfile. This
# can happen if the user loads it manually. In this case we don't
# update sys.path; instead we just hope the user managed to do that
# beforehand.
if gdb.current_objfile () is not None:
# Update module path. We want to find the relative path from libdir
# to pythondir, and then we want to apply that relative path to the
# directory holding the objfile with which this file is associated.
# This preserves relocatability of the gcc tree.
# Do a simple normalization that removes duplicate separators.
pythondir = os.path.normpath (pythondir)
libdir = os.path.normpath (libdir)
prefix = os.path.commonprefix ([libdir, pythondir])
# In some bizarre configuration we might have found a match in the
# middle of a directory name.
if prefix[-1] != '/':
prefix = os.path.dirname (prefix) + '/'
# Strip off the prefix.
pythondir = pythondir[len (prefix):]
libdir = libdir[len (prefix):]
# Compute the ".."s needed to get from libdir to the prefix.
dotdots = ('..' + os.sep) * len (libdir.split (os.sep))
objfile = gdb.current_objfile ().filename
dir_ = os.path.join (os.path.dirname (objfile), dotdots, pythondir)
if not dir_ in sys.path:
sys.path.insert(0, dir_)
# Call a function as a plain import would not execute body of the included file
# on repeated reloads of this object file.
from libstdcxx.v6 import register_libstdcxx_printers
register_libstdcxx_printers(gdb.current_objfile())

View File

@ -0,0 +1 @@
libubsan.so.1.0.0

View File

@ -0,0 +1 @@
libubsan.so.1.0.0

View File

@ -0,0 +1 @@
libutil-2.33.so

View File

@ -1 +0,0 @@
libnss_files-2.29.so

View File

@ -0,0 +1 @@
../../../lib64v0p7_xthead/lp64d/libBrokenLocale.so.1

View File

@ -0,0 +1 @@
../../../lib64v0p7_xthead/lp64d/libanl.so.1

View File

@ -2,4 +2,4 @@
Use the shared library, but some functions are only in Use the shared library, but some functions are only in
the static library, so try that secondarily. */ the static library, so try that secondarily. */
OUTPUT_FORMAT(elf64-littleriscv) OUTPUT_FORMAT(elf64-littleriscv)
GROUP ( /lib64vxthead/lp64dv/libc.so.6 /usr/lib64vxthead/lp64dv/libc_nonshared.a AS_NEEDED ( /lib/ld-linux-riscv64vxthead-lp64dv.so.1 ) ) GROUP ( /lib64v0p7_xthead/lp64d/libc.so.6 /usr/lib64v0p7_xthead/lp64d/libc_nonshared.a AS_NEEDED ( /lib/ld-linux-riscv64v0p7_xthead-lp64d.so.1 ) )

View File

@ -0,0 +1 @@
../../../lib64v0p7_xthead/lp64d/libcrypt.so.1

View File

@ -0,0 +1 @@
../../../lib64v0p7_xthead/lp64d/libdl.so.2

View File

@ -0,0 +1 @@
../../../lib64v0p7_xthead/lp64d/libm.so.6

View File

@ -0,0 +1 @@
../../../lib64v0p7_xthead/lp64d/libnss_compat.so.2

View File

@ -0,0 +1 @@
../../../lib64v0p7_xthead/lp64d/libnss_db.so.2

View File

@ -0,0 +1 @@
../../../lib64v0p7_xthead/lp64d/libnss_dns.so.2

View File

@ -0,0 +1 @@
../../../lib64v0p7_xthead/lp64d/libnss_files.so.2

View File

@ -0,0 +1 @@
../../../lib64v0p7_xthead/lp64d/libnss_hesiod.so.2

View File

@ -0,0 +1 @@
../../../lib64v0p7_xthead/lp64d/libpthread.so.0

View File

@ -0,0 +1 @@
../../../lib64v0p7_xthead/lp64d/libresolv.so.2

View File

@ -0,0 +1 @@
../../../lib64v0p7_xthead/lp64d/librt.so.1

View File

@ -0,0 +1 @@
../../../lib64v0p7_xthead/lp64d/libthread_db.so.1

View File

@ -0,0 +1 @@
../../../lib64v0p7_xthead/lp64d/libutil.so.1

View File

@ -1 +0,0 @@
../../../lib64vxthead/lp64dv/libdl.so.2

View File

@ -1 +0,0 @@
../../../lib64vxthead/lp64dv/libm.so.6

View File

@ -1 +0,0 @@
../../../lib64vxthead/lp64dv/libnss_dns.so.2

Some files were not shown because too many files have changed in this diff Show More