kernel_optimize_test/arch/ia64
Chen, Kenneth W 3e6e155646 [IA64] strcpy returns NULL pointer and not destination pointer
Bob Picco noted that 6edfba1b33
dropped the -ffreestanding compiler flag from the top level
Makefile, which allows the compiler to substitute memcpy() in
places where strcpy() is used with a known size source string.
But the ia64 memcpy() returns 0 for success, and "bytes copied"
for failure.

Fix to return the address of the destination string (like
stdlibc version, and other architectures).  There are no
places where ia64 specific code makes use of the non-standard
return value.

Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2006-05-05 11:34:55 -07:00
..
configs [IA64] update sn2 defconfig 2006-04-27 14:38:03 -07:00
dig [IA64] cleanup dig_irq_init 2006-03-24 13:12:46 -08:00
hp [PATCH] kill _INLINE_ 2006-03-23 07:38:16 -08:00
ia32 [IA64] eliminate compile time warnings 2006-04-20 17:06:35 -07:00
kernel [PATCH] drop task argument of audit_syscall_{entry,exit} 2006-05-01 06:06:18 -04:00
lib [IA64] strcpy returns NULL pointer and not destination pointer 2006-05-05 11:34:55 -07:00
mm [IA64] Make show_mem() skip holes in a pgdat 2006-04-13 15:34:45 -07:00
oprofile [PATCH] remove gcc-2 checks 2006-01-08 20:14:02 -08:00
pci [IA64] eliminate compile time warnings 2006-04-20 17:06:54 -07:00
scripts Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sn [IA64-SGI] fix SGI Altix tioce_reserve_m32() bug 2006-04-27 14:32:07 -07:00
defconfig [IA64] Increase max node count on SN platforms 2006-03-24 13:15:03 -08:00
install.sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [IA64] IOC4 config option ordering 2006-04-21 10:59:00 -07:00
Kconfig.debug [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
Makefile kbuild: change kbuild to not rely on incorrect GNU make behavior 2006-03-06 00:09:51 +01:00
module.lds Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00