📄 mips-sdata-1.c
字号:
/* Check that sdata-accesses are applied regardless of size or ABI. *//* { dg-options -mexplicit-relocs } *//* { dg-do compile { target mips*-*-elf* } } */struct s { int x[4]; };struct s my_struct __attribute__((__section__(".sdata")));int f() { return my_struct.x[0]; }/* { dg-final { scan-assembler {gp_?rel\(my_struct} } } */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -