support multiple .discard.* sections to avoid section type conflicts
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 23 Jul 2010 05:58:01 +0000 (22:58 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Wed, 28 Jul 2010 05:45:19 +0000 (22:45 -0700)
commitc7f52cdc2f3e1733d3864e439ac2e92edd99ef31
tree822ade2b7fd773d15e3514167da5a90d2f7fbddb
parentb43275d661baa5f1f72dacd9033d6eda09d9fe87
support multiple .discard.* sections to avoid section type conflicts

gcc 4.4.4 will complain if you use a .discard section for both text and
data ("causes a section type conflict").  Add support for ".discard.*"
sections, and use .discard.text for a dummy function in the x86
RESERVE_BRK() macro.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/include/asm/setup.h
include/asm-generic/vmlinux.lds.h