This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch for arm-uclinux to operate without GOT
- To: <gcc-patches at gcc dot gnu dot org>
- Subject: Patch for arm-uclinux to operate without GOT
- From: "Vadim Lebedev" <vlebedev at aplio dot fr>
- Date: Fri, 5 May 2000 16:36:36 +0200
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