Revision c13e7af042270724b42a466edc48a70a43f571f2 authored by Menglong Dong on 12 January 2021, 09:13:40 UTC, committed by Steve French on 13 January 2021, 18:55:37 UTC
'rc' in smb3_fs_context_dup is not used and can be removed.

Signed-off-by: Menglong Dong <dong.menglong@zte.com.cn>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent 2659d3b
Raw File
gcc-ld
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# run gcc with ld options
# used as a wrapper to execute link time optimizations
# yes virginia, this is not pretty

ARGS="-nostdlib"

while [ "$1" != "" ] ; do
	case "$1" in
	-save-temps|-m32|-m64) N="$1" ;;
	-r) N="$1" ;;
	-[Wg]*) N="$1" ;;
	-[olv]|-[Ofd]*|-nostdlib) N="$1" ;;
	--end-group|--start-group)
		 N="-Wl,$1" ;;
	-[RTFGhIezcbyYu]*|\
--script|--defsym|-init|-Map|--oformat|-rpath|\
-rpath-link|--sort-section|--section-start|-Tbss|-Tdata|-Ttext|\
--version-script|--dynamic-list|--version-exports-symbol|--wrap|-m)
		A="$1" ; shift ; N="-Wl,$A,$1" ;;
	-[m]*) N="$1" ;;
	-*) N="-Wl,$1" ;;
	*)  N="$1" ;;
	esac
	ARGS="$ARGS $N"
	shift
done

exec $CC $ARGS
back to top