Fix uClibc toolchain arceb- tools are always used for little endian

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
Fix static library arceb-xx-ar problem for uClibc little endian

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
arc-builtdroot-linux-uclibc be renamed to arc-linux

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>

02:54:17 **** Build of configuration Debug for project hsl_linux ****
make all
Building file: ../src/crt0.S
Invoking: ARC Linux uClibc GCC Assembler
arc-linux-gcc -x assembler-with-cpp -Wall -Wa,-adhlns="src/crt0.o.lst" -c -fmessage-length=0 -MMD -MP -MF"src/crt0.d" -MT"src/crt0.d" -mHS -mmpy-option=2 -g3 -gdwarf-2 -mbarrel-shifter -mshift-assist -mcode-density -mswap -mnorm -o "src/crt0.o" "../src/crt0.S"
Finished building: ../src/crt0.S

Building file: ../src/hsl_linux.c
Invoking: ARC Linux uClibc GCC C Compiler
arc-linux-gcc -O0 -Wall -Wa,-adhlns="src/hsl_linux.o.lst" -c -fmessage-length=0 -MMD -MP -MF"src/hsl_linux.d" -MT"src/hsl_linux.d" -mHS -mmpy-option=2 -g3 -gdwarf-2 -mbarrel-shifter -mshift-assist -mcode-density -mswap -mnorm -o "src/hsl_linux.o" "../src/hsl_linux.c"
Finished building: ../src/hsl_linux.c

Building target: hsl_linux.elf
Invoking: ARC Linux uClibc GCC C Linker
arc-linux-gcc -T"/home/yunluz/runtime-EclipseApplication/hsl_linux/lds/arcelf.lds" -nostartfiles -Wl,-Map,hsl_linux.map -mHS -mmpy-option=2 -g3 -gdwarf-2 -mbarrel-shifter -mshift-assist -mcode-density -mswap -mnorm -o "hsl_linux.elf"  ./src/crt0.o ./src/hsl_linux.o
Finished building target: hsl_linux.elf

Invoking: ARC Linux uClibc  Print Size
arc-linux-size  --format=berkeley hsl_linux.elf
   text	   data	    bss	    dec	    hex	filename
   1237	    116	  18436	  19789	   4d4d	hsl_linux.elf
Finished building: hsl_linux.siz

02:54:17 Build Finished (took 220ms)
Add Shared library for uClibc toolchain

Done
1: Add  ARC Cross uClibc Target Shared Library in uClibc plugin
2: As Static library,but remove arc-linux-ar as Archiver and add call
arc-linux-gcc as Linker
3: Both for little endian and big endian

Undone:
1: add options specific to shared libraries
2: cannot get .so file
Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
Fix tool editor error for shared library

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
Fix tool editor null problem for uClibc application/static lib

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
Add Shared Library setting options for uClibc Shared lib projecttype

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
-fPIC and -shared are always on to make Shared Lib project work

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
Add HS/700 little/big endian toolchain for shared lib in uClibc

-fPIC should be passed to compiler. No need to pass it to the linker.
-shared should be passed to linker (as it is already).

For this is different from static library and application, adding
toolchains and new compiler/linker is necessary,

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
uClibc Hello world project just a simple printf()

1:instead of the copy of ELF32 template with UART and linkers script.
2:Remove options for Script file
3:Remove options for Mapfile
Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
Fix uClibc HS/700 little endian "No rule to make target `s.elf'" error.

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
Fix uClibc application HS/700 big endian "No rule to make target " error

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
9000723305 not generate options that are always ON for HS: -mnorm and others.

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
Change nSIM GUI

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
New working GUI for IDE with nSIM gdb server supports EM only

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
Fix 32 Coverity issues ( 17 remains)

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
Set command line attribute for nSIM GDB process

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
default options shouldn't be passed  to compiler/linker in uClibc toolchain

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
Option -nostartfiles shouldn't be passed to linker in uClibc.

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
remove -mmul32x16 from ARC 700 in Elf32 compiler

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>