use 16-bit relocs on alpha

Richard Henderson rth@twiddle.net
Wed Jan 23 18:02:00 GMT 2002


Rather self-explanitory.  We can use 16-bit instead of 32-bit
gp-relative relocs.


r~


	* sysdeps/alpha/Makefile (pic-ccflag): New.

Index: sysdeps/alpha/Makefile
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/alpha/Makefile,v
retrieving revision 1.17
diff -c -p -d -r1.17 Makefile
*** Makefile	2001/07/06 04:55:43	1.17
--- Makefile	2002/01/24 01:48:07
*************** divrem := divl divq reml remq
*** 43,45 ****
--- 43,49 ----
  # For now, build everything with full IEEE math support.
  # TODO: build separate libm and libm-ieee.
  sysdep-CFLAGS += -mieee
+ 
+ # libc.so requires about 16k for the small data area, which is well
+ # below the 64k maximum.
+ pic-ccflag = -fpic



More information about the Libc-hacker mailing list