This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch for arm-uclinux to operate without GOT



This patch allows the arm-uclinux target to generate
Position Independent Code operating without GLOBAL_OFFSET_TABLE


-- Vadim

2000-05-05  Vadim Lebedev <vlebedev@aplio.fr>

	* configure: fixed arm-uclinux case

	* config/arm/t-arm-uclinux: New file

	* inovke.texi: added description of -mdisable-got option

	* config/arm/arm.c (arm_override_options): Added handling of
ARM_SUBTARGET_OVERRIDE_OPTIONS.
	fixed handling of arm_pic_register for targets with TARGET_SINGLE_PIC_BASE
set.
	(legitimize_pic_address): Fixed operation when TARGET_NO_GOT is set.
	(arm_expand_prologue): Fixed operation when TARGET_SINGLE_PIC_BASE is set.

	* config/arm/arm.h (ARM_FLAG_LAST_USED_BIT): Define.
	(ARM_INITIAL_ELIMINATION_OFFSET): Fixed operation when
TARGET_SINGLE_PIC_BASE is set.
	(ARM_ENCODE_CALL_TYPE):  Cosmetic editing.
	(ENCODE_SECTION_INFO): Likewise.

	* config/arm/uclinux-elf.h (TARGET_DEFAULT): Define.
	(TARGET_DEFAULT): Define.
	(TARGET_NO_GOT): Define.
	(SUBTARGET_EXTRA_LINK_SPEC): Define.
	(SUBTARGET_SWITCHES): Define. Add disable-got switch.
	(ARM_SUBTARGET_OVERRIDE_OPTIONS): Define.
	(ENCODE_SECTION_INFO): Define.
	(ARM_ENCODE_CALL_TYPE): Define.

arm-uclinux-gcc.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]