diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-08-19 10:19:17 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-08-19 10:19:17 +0000 |
commit | 0d86dfc46feaf8cce5a1d1e383e80f29d83ceaf1 (patch) | |
tree | 8af39ed3dac134788a169f5fa6e1d31bc7d07d6e /libc/misc/internals/Makefile | |
parent | c0dc392defac1b8ab00fd0d2483675d1d0805127 (diff) |
Add a .note section to make gdb happy
Diffstat (limited to 'libc/misc/internals/Makefile')
-rw-r--r-- | libc/misc/internals/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libc/misc/internals/Makefile b/libc/misc/internals/Makefile index e9b4e55b8..473ea926c 100644 --- a/libc/misc/internals/Makefile +++ b/libc/misc/internals/Makefile @@ -27,7 +27,11 @@ include $(TOPDIR)Rules.mak CSRC=__uClibc_main.c tempname.c errno.c __errno_location.c __h_errno_location.c COBJS=$(patsubst %.c,%.o, $(CSRC)) -OBJS=$(COBJS) + +SSRC=abi-note.S +SOBJS=$(patsubst %.S,%.o, $(SSRC)) + +OBJS=$(COBJS) $(SOBJS) all: $(OBJS) interp.o $(LIBC) @@ -47,6 +51,10 @@ $(COBJS): %.o : %.c $(CC) $(CFLAGS) -c $< -o $@ $(STRIPTOOL) -x -R .note -R .comment $*.o +$(SOBJS): %.o : %.S + $(CC) $(CFLAGS) -c $< -o $@ + $(STRIPTOOL) -x -R .note -R .comment $*.o + interp.o: %.o : %.c $(CC) $(CFLAGS) -c $< -o $@ $(STRIPTOOL) -x -R .note -R .comment $*.o |