[PATCH] [mips][microMIPS] Relocate with symbol for micromips function symbols

Sasa Stankovic Sasa.Stankovic at imgtec.com
Tue Dec 30 05:35:50 PST 2014


================
Comment at: test/MC/Mips/micromips-func-addr.s:11
@@ +10,3 @@
+bar:
+  .4byte bar
+foo:
----------------
You can reorder instructions and rename foo to L1 so that it is more obvious that two symbols in the test are function and label. For example (I also marked .4byte directives with .data):

    .set    micromips
    .type   bar, at function
  bar:
  L1:
    nop

    .data
    .4byte bar
    .4byte L1

http://reviews.llvm.org/D6796

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list