summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-11-25 11:14:07 (GMT)
committerWolfgang Denk <wd@denx.de>2010-11-27 22:35:12 (GMT)
commite2c2a95e60678ad2c0b2cdd8f6b62be1ba3fb4ab (patch)
tree463775226ec47ff3d26f565ebc877f52b0aa8a36 /drivers
parentba273f066f447a23b55403149b50c322a40bb87b (diff)
downloadu-boot-e2c2a95e60678ad2c0b2cdd8f6b62be1ba3fb4ab.tar.xz
74xx_7xx: Cleanup for partial linking and --gc-sections
Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/tsi108_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/tsi108_pci.c b/drivers/pci/tsi108_pci.c
index 627e8a0..c568bf9 100644
--- a/drivers/pci/tsi108_pci.c
+++ b/drivers/pci/tsi108_pci.c
@@ -94,7 +94,8 @@ unsigned int __get_pci_config_dword (u32 addr)
".section __ex_table,\"a\"\n"
" .align 2\n"
" .long 1b,3b\n"
- ".text":"=r"(retval):"r"(addr));
+ ".section .text.__get_pci_config_dword"
+ : "=r"(retval) : "r"(addr));
return (retval);
}