diff options
author | Bob Wilson <bwilson@heron.(none)> | 2008-02-02 03:56:32 +0300 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2008-02-14 04:45:05 +0300 |
commit | bdd362ff4ff8dc0c697ce87dbb337f3b7341fc46 (patch) | |
tree | 638650c47d44bc536151d6655e9c43d7a77200e6 /arch/xtensa/boot/boot-redboot | |
parent | e1088430626b2ec4cd64f2fb7d9fd7c6df5d5824 (diff) | |
download | linux-bdd362ff4ff8dc0c697ce87dbb337f3b7341fc46.tar.xz |
[XTENSA] Fix makefile to work with binutils-2.18.
When building with binutils-2.18, vmlinux includes .note.gnu.build-id
sections that need to be stripped out when building the binary image.
The old .xt.insn sections haven't been used for a long time, so don't
bother stripping them.
Signed-off-by: Bob Wilson <bob.wilson@acm.org>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/boot/boot-redboot')
-rw-r--r-- | arch/xtensa/boot/boot-redboot/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/boot/boot-redboot/Makefile b/arch/xtensa/boot/boot-redboot/Makefile index 74d15d08077b..872029b84435 100644 --- a/arch/xtensa/boot/boot-redboot/Makefile +++ b/arch/xtensa/boot/boot-redboot/Makefile @@ -22,7 +22,7 @@ LIBS := arch/xtensa/boot/lib/lib.a arch/xtensa/lib/lib.a LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) zImage: vmlinux $(OBJS) $(LIBS) - $(OBJCOPY) --strip-all -R .comment -R .xt.insn -O binary \ + $(OBJCOPY) --strip-all -R .comment -R .note.gnu.build-id -O binary \ vmlinux vmlinux.tmp gzip -vf9 vmlinux.tmp $(OBJCOPY) $(OBJCOPY_ARGS) -R .comment \ |