Changeset f2ffad4 in mainline for arch/ia64


Ignore:
Timestamp:
2005-05-12T20:37:03Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
da79d0fd
Parents:
ea3fb2e
Message:

For each architecture, add function/macro FADDR that calculates absolute address of a function referenced by void (* f)(void).
IA-32 and MIPS gcc's use direct addressing (f == FADDR(f)) while IA-64 gcc uses indirect addressing (f != FADDR(f)).

Tweaks in IA-64 Makefile.inc to declare constant gp and main Makefile to consider ASFLAGS when compiling .s targets.

Location:
arch/ia64
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/Makefile.inc

    rea3fb2e rf2ffad4  
    88LD=$(IA-64_BINUTILS_DIR)/$(IA-64_TARGET)-ld
    99
    10 ASFLAGS=-EL
     10ASFLAGS=-mconstant-gp
    1111
    1212DEFS=-DARCH=$(ARCH)
    1313CPPFLAGS=$(DEFS) -nostdinc -I../include
    14 CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Wmissing-prototypes -Werror -O3
    15 LFLAGS=-EL -M -no-check-sections -T ../arch/ia64/_link.ld
     14CFLAGS=$(CPPFLAGS) -mconstant-gp -nostdlib -fno-builtin -Wmissing-prototypes -Werror -O3
     15LFLAGS=-EL -M -T ../arch/ia64/_link.ld
    1616
    1717arch_sources= \
     
    2323        arch/fpu_context.c \
    2424        arch/context.S
    25        
    26 
Note: See TracChangeset for help on using the changeset viewer.