Skip to content

Commit

Permalink
m68k: consolidate the vmlinux.lds linker scripts
Browse files Browse the repository at this point in the history
The merge of m68knommu left the linker scripts a little disorganized.
Some consistent naming and squashing two of scripts that just include
others can simplify things a lot.

So merge the two simple including scripts, and rename the nommu script
to be consistent with the existing m68k linker scripts.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
  • Loading branch information
Greg Ungerer committed Dec 24, 2011
1 parent 45f9e2c commit 40c1b9c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
File renamed without changes.
13 changes: 11 additions & 2 deletions arch/m68k/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#ifdef CONFIG_MMU
#include "vmlinux.lds_mm.S"
PHDRS
{
text PT_LOAD FILEHDR PHDRS FLAGS (7);
data PT_LOAD FLAGS (7);
}
#ifdef CONFIG_SUN3
#include "vmlinux-sun3.lds"
#else
#include "vmlinux.lds_no.S"
#include "vmlinux-std.lds"
#endif
#else
#include "vmlinux-nommu.lds"
#endif
10 changes: 0 additions & 10 deletions arch/m68k/kernel/vmlinux.lds_mm.S

This file was deleted.

0 comments on commit 40c1b9c

Please sign in to comment.